Defines the operational metric sent periodically.
More...
#include <AWSCoreAttributionMetric.h>
|
| AttributionMetric (const AZStd::string ×tamp) |
|
void | SetO3DEVersion (const AZStd::string &version) |
|
const AZStd::string & | GetPlatform () const |
|
void | SetPlatform (const AZStd::string &platform, const AZStd::string &platformVersion) |
|
void | AddActiveGem (const AZStd::string &gemName) |
|
AZStd::string | SerializeToJson () |
|
bool | SerializeToJson (AWSCore::JsonWriter &writer) const |
|
bool | ReadFromJson (rapidjson::Value &metricsObjVal) |
|
|
static AZStd::string | GenerateTimeStamp () |
| Generates a UTC 8601 formatted timestamp.
|
|
Defines the operational metric sent periodically.
◆ ReadFromJson()
bool AWSCore::AttributionMetric::ReadFromJson |
( |
rapidjson::Value & |
metricsObjVal | ) |
|
Read from a JSON value to the metrics event.
- Parameters
-
metricsObjVal | JSON value to read from. |
- Returns
- Whether the metrics event is created successfully.
◆ SerializeToJson() [1/2]
AZStd::string AWSCore::AttributionMetric::SerializeToJson |
( |
| ) |
|
Serialize the metrics object queue to a string.
- Returns
- Serialized string.
◆ SerializeToJson() [2/2]
Serialize the metrics object to JSON for the sending requests.
- Parameters
-
writer | JSON writer for the serialization. |
- Returns
- Whether the metrics event is serialized successfully.
The documentation for this class was generated from the following file:
- Gems/AWSCore/Code/Source/Editor/Attribution/AWSCoreAttributionMetric.h