7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/pinpoint/model/Session.h>
51 inline void SetAppPackageName(
const char* value) { m_appPackageNameHasBeenSet =
true; m_appPackageName.assign(value); }
65 inline void SetAppTitle(
const char* value) { m_appTitleHasBeenSet =
true; m_appTitle.assign(value); }
79 inline void SetAppVersionCode(
const char* value) { m_appVersionCodeHasBeenSet =
true; m_appVersionCode.assign(value); }
99 inline Event&
AddAttributes(
const char* key,
Aws::String&& value) { m_attributesHasBeenSet =
true; m_attributes.emplace(key, std::move(value));
return *
this; }
100 inline Event&
AddAttributes(
Aws::String&& key,
const char* value) { m_attributesHasBeenSet =
true; m_attributes.emplace(std::move(key), value);
return *
this; }
101 inline Event&
AddAttributes(
const char* key,
const char* value) { m_attributesHasBeenSet =
true; m_attributes.emplace(key, value);
return *
this; }
112 inline void SetClientSdkVersion(
const char* value) { m_clientSdkVersionHasBeenSet =
true; m_clientSdkVersion.assign(value); }
126 inline void SetEventType(
const char* value) { m_eventTypeHasBeenSet =
true; m_eventType.assign(value); }
143 inline Event&
AddMetrics(
Aws::String&& key,
double value) { m_metricsHasBeenSet =
true; m_metrics.emplace(std::move(key), value);
return *
this; }
144 inline Event&
AddMetrics(
const char* key,
double value) { m_metricsHasBeenSet =
true; m_metrics.emplace(key, value);
return *
this; }
155 inline void SetSdkName(
const char* value) { m_sdkNameHasBeenSet =
true; m_sdkName.assign(value); }
168 inline void SetSession(
Session&& value) { m_sessionHasBeenSet =
true; m_session = std::move(value); }
181 inline void SetTimestamp(
const char* value) { m_timestampHasBeenSet =
true; m_timestamp.assign(value); }
189 bool m_appPackageNameHasBeenSet =
false;
192 bool m_appTitleHasBeenSet =
false;
195 bool m_appVersionCodeHasBeenSet =
false;
198 bool m_attributesHasBeenSet =
false;
201 bool m_clientSdkVersionHasBeenSet =
false;
204 bool m_eventTypeHasBeenSet =
false;
207 bool m_metricsHasBeenSet =
false;
210 bool m_sdkNameHasBeenSet =
false;
213 bool m_sessionHasBeenSet =
false;
216 bool m_timestampHasBeenSet =
false;
Event & AddAttributes(Aws::String &&key, const char *value)
Event & AddAttributes(const Aws::String &key, const Aws::String &value)
Event & WithSdkName(const Aws::String &value)
AWS_PINPOINT_API Event & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTimestamp(const char *value)
Event & WithAppPackageName(const char *value)
bool ClientSdkVersionHasBeenSet() const
Event & WithClientSdkVersion(const char *value)
Event & WithTimestamp(const char *value)
Event & WithAppVersionCode(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
const Aws::String & GetAppVersionCode() const
void SetAppVersionCode(const Aws::String &value)
void SetAppVersionCode(const char *value)
void SetEventType(Aws::String &&value)
Event & AddAttributes(Aws::String &&key, Aws::String &&value)
Event & WithSdkName(const char *value)
Event & AddAttributes(const char *key, const char *value)
Event & AddAttributes(const char *key, Aws::String &&value)
void SetMetrics(Aws::Map< Aws::String, double > &&value)
bool AppTitleHasBeenSet() const
void SetClientSdkVersion(const char *value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAppTitle() const
bool SessionHasBeenSet() const
Event & WithSession(Session &&value)
Event & WithAppPackageName(const Aws::String &value)
Event & WithTimestamp(Aws::String &&value)
void SetAppPackageName(const Aws::String &value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
Event & AddMetrics(const char *key, double value)
Event & WithAppVersionCode(const Aws::String &value)
void SetAppTitle(const Aws::String &value)
void SetAppTitle(Aws::String &&value)
void SetTimestamp(Aws::String &&value)
void SetAppVersionCode(Aws::String &&value)
Event & WithClientSdkVersion(Aws::String &&value)
void SetAppPackageName(Aws::String &&value)
void SetAppTitle(const char *value)
void SetTimestamp(const Aws::String &value)
const Aws::String & GetTimestamp() const
const Aws::String & GetClientSdkVersion() const
Event & AddMetrics(const Aws::String &key, double value)
Event & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
Event & WithAppVersionCode(const char *value)
Event & WithEventType(const char *value)
void SetMetrics(const Aws::Map< Aws::String, double > &value)
bool MetricsHasBeenSet() const
void SetClientSdkVersion(const Aws::String &value)
Event & AddAttributes(const Aws::String &key, Aws::String &&value)
Event & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
void SetSdkName(Aws::String &&value)
const Aws::String & GetSdkName() const
Event & WithClientSdkVersion(const Aws::String &value)
bool AppPackageNameHasBeenSet() const
void SetSdkName(const Aws::String &value)
AWS_PINPOINT_API Event(Aws::Utils::Json::JsonView jsonValue)
Event & WithEventType(const Aws::String &value)
void SetEventType(const Aws::String &value)
Event & WithAppTitle(const char *value)
Event & WithAppPackageName(Aws::String &&value)
Event & AddMetrics(Aws::String &&key, double value)
const Aws::String & GetAppPackageName() const
bool SdkNameHasBeenSet() const
bool TimestampHasBeenSet() const
Event & WithSession(const Session &value)
void SetSession(Session &&value)
bool AttributesHasBeenSet() const
void SetSession(const Session &value)
Event & WithSdkName(Aws::String &&value)
bool EventTypeHasBeenSet() const
const Aws::Map< Aws::String, double > & GetMetrics() const
Event & WithTimestamp(const Aws::String &value)
Event & WithMetrics(const Aws::Map< Aws::String, double > &value)
Event & WithMetrics(Aws::Map< Aws::String, double > &&value)
Event & WithEventType(Aws::String &&value)
const Aws::String & GetEventType() const
void SetEventType(const char *value)
Event & AddAttributes(Aws::String &&key, const Aws::String &value)
bool AppVersionCodeHasBeenSet() const
void SetSdkName(const char *value)
void SetAppPackageName(const char *value)
void SetClientSdkVersion(Aws::String &&value)
const Session & GetSession() const
Event & WithAppTitle(Aws::String &&value)
Event & WithAppTitle(const Aws::String &value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue