Open 3D Engine AWSMetrics Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AWSMetrics::ServiceAPI::PostMetricsEventsResponseEntry Struct Reference

#include <AWSMetricsServiceApi.h>

Public Member Functions

bool OnJsonKey (const char *key, AWSCore::JsonReader &reader)
 

Public Attributes

AZStd::string m_errorCode
 Error code if the individual metrics event failed to be sent.
 
AZStd::string m_result
 Result for the processed individual metrics event. Expected value: "Error" or "Ok".
 

Detailed Description

Response for an individual metrics event from a PostMetricsEvents request. If the event is successfully sent to the backend, it receives an "Ok" result. If the event fails to be sent to the backend, the result includes an error code and an "Error" result.

Member Function Documentation

◆ OnJsonKey()

bool AWSMetrics::ServiceAPI::PostMetricsEventsResponseEntry::OnJsonKey ( const char *  key,
AWSCore::JsonReader &  reader 
)

Identify the expected property type in the response entry for each individual metrics event and provide a location where the property value can be stored.

Parameters
keyName of the property.
readerJSON reader to read the property.

The documentation for this struct was generated from the following file: