30 namespace MobileAnalytics
69 inline void SetEventType(
const char* value) { m_eventTypeHasBeenSet =
true; m_eventType.assign(value); }
111 inline void SetTimestamp(
const char* value) { m_timestampHasBeenSet =
true; m_timestamp.assign(value); }
174 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
273 inline Event&
AddAttributes(
const char* key,
const char* value) { m_attributesHasBeenSet =
true; m_attributes[key] = value;
return *
this; }
329 inline Event&
AddMetrics(
const char* key,
double value) { m_metricsHasBeenSet =
true; m_metrics[key] = value;
return *
this; }
333 bool m_eventTypeHasBeenSet;
335 bool m_timestampHasBeenSet;
337 bool m_sessionHasBeenSet;
339 bool m_versionHasBeenSet;
341 bool m_attributesHasBeenSet;
343 bool m_metricsHasBeenSet;
Event & WithMetrics(const Aws::Map< Aws::String, double > &value)
Event & AddAttributes(const char *key, Aws::String &&value)
Event & WithEventType(const char *value)
Event & WithVersion(Aws::String &&value)
void SetVersion(Aws::String &&value)
const Aws::String & GetVersion() const
Event & WithTimestamp(Aws::String &&value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
Event & AddMetrics(const Aws::String &key, double value)
Event & WithVersion(const Aws::String &value)
Event & AddAttributes(Aws::String &&key, const Aws::String &value)
const Aws::String & GetEventType() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
void SetTimestamp(Aws::String &&value)
#define AWS_MOBILEANALYTICS_API
Event & WithEventType(const Aws::String &value)
void SetMetrics(Aws::Map< Aws::String, double > &&value)
void SetVersion(const Aws::String &value)
Event & WithSession(Session &&value)
Event & WithTimestamp(const Aws::String &value)
void SetMetrics(const Aws::Map< Aws::String, double > &value)
void SetEventType(const Aws::String &value)
void SetTimestamp(const char *value)
Event & AddAttributes(Aws::String &&key, const char *value)
const Aws::String & GetTimestamp() const
const Session & GetSession() const
Event & AddAttributes(const char *key, const char *value)
Event & AddMetrics(Aws::String &&key, double value)
const Aws::Map< Aws::String, double > & GetMetrics() const
void SetVersion(const char *value)
void SetEventType(Aws::String &&value)
void SetTimestamp(const Aws::String &value)
Event & WithEventType(Aws::String &&value)
Event & WithSession(const Session &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Event & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
Event & AddAttributes(const Aws::String &key, const Aws::String &value)
Event & AddMetrics(const char *key, double value)
Event & AddAttributes(const Aws::String &key, Aws::String &&value)
void SetSession(const Session &value)
void SetEventType(const char *value)
Event & AddAttributes(Aws::String &&key, Aws::String &&value)
Event & WithVersion(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
Event & WithTimestamp(const char *value)
Event & WithMetrics(Aws::Map< Aws::String, double > &&value)
JSON (JavaScript Object Notation).
void SetSession(Session &&value)
Event & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)