7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/Pinpoint_EXPORTS.h>
10#include <aws/pinpoint/model/Session.h>
32 AWS_PINPOINT_API
Event() =
default;
43 template <
typename AppPackageNameT = Aws::String>
45 m_appPackageNameHasBeenSet =
true;
46 m_appPackageName = std::forward<AppPackageNameT>(value);
48 template <
typename AppPackageNameT = Aws::String>
61 template <
typename AppTitleT = Aws::String>
63 m_appTitleHasBeenSet =
true;
64 m_appTitle = std::forward<AppTitleT>(value);
66 template <
typename AppTitleT = Aws::String>
79 template <
typename AppVersionCodeT = Aws::String>
81 m_appVersionCodeHasBeenSet =
true;
82 m_appVersionCode = std::forward<AppVersionCodeT>(value);
84 template <
typename AppVersionCodeT = Aws::String>
97 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
99 m_attributesHasBeenSet =
true;
100 m_attributes = std::forward<AttributesT>(value);
102 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
107 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
109 m_attributesHasBeenSet =
true;
110 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
121 template <
typename ClientSdkVersionT = Aws::String>
123 m_clientSdkVersionHasBeenSet =
true;
124 m_clientSdkVersion = std::forward<ClientSdkVersionT>(value);
126 template <
typename ClientSdkVersionT = Aws::String>
139 template <
typename EventTypeT = Aws::String>
141 m_eventTypeHasBeenSet =
true;
142 m_eventType = std::forward<EventTypeT>(value);
144 template <
typename EventTypeT = Aws::String>
157 template <
typename MetricsT = Aws::Map<Aws::String,
double>>
159 m_metricsHasBeenSet =
true;
160 m_metrics = std::forward<MetricsT>(value);
162 template <
typename MetricsT = Aws::Map<Aws::String,
double>>
168 m_metricsHasBeenSet =
true;
169 m_metrics.emplace(key, value);
180 template <
typename SdkNameT = Aws::String>
182 m_sdkNameHasBeenSet =
true;
183 m_sdkName = std::forward<SdkNameT>(value);
185 template <
typename SdkNameT = Aws::String>
198 template <
typename SessionT = Session>
200 m_sessionHasBeenSet =
true;
201 m_session = std::forward<SessionT>(value);
203 template <
typename SessionT = Session>
216 template <
typename TimestampT = Aws::String>
218 m_timestampHasBeenSet =
true;
219 m_timestamp = std::forward<TimestampT>(value);
221 template <
typename TimestampT = Aws::String>
247 bool m_appPackageNameHasBeenSet =
false;
248 bool m_appTitleHasBeenSet =
false;
249 bool m_appVersionCodeHasBeenSet =
false;
250 bool m_attributesHasBeenSet =
false;
251 bool m_clientSdkVersionHasBeenSet =
false;
252 bool m_eventTypeHasBeenSet =
false;
253 bool m_metricsHasBeenSet =
false;
254 bool m_sdkNameHasBeenSet =
false;
255 bool m_sessionHasBeenSet =
false;
256 bool m_timestampHasBeenSet =
false;
AWS_PINPOINT_API Event & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ClientSdkVersionHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
Event & WithAppVersionCode(AppVersionCodeT &&value)
const Aws::String & GetAppVersionCode() const
Event & WithMetrics(MetricsT &&value)
Event & WithAppTitle(AppTitleT &&value)
void SetSession(SessionT &&value)
Event & WithTimestamp(TimestampT &&value)
bool AppTitleHasBeenSet() const
void SetEventType(EventTypeT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAppTitle() const
bool SessionHasBeenSet() const
void SetAppVersionCode(AppVersionCodeT &&value)
Event & WithSession(SessionT &&value)
Event & WithSdkName(SdkNameT &&value)
void SetSdkName(SdkNameT &&value)
const Aws::String & GetTimestamp() const
const Aws::String & GetClientSdkVersion() const
void SetMetrics(MetricsT &&value)
void SetAttributes(AttributesT &&value)
bool MetricsHasBeenSet() const
Event & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
void SetClientSdkVersion(ClientSdkVersionT &&value)
const Aws::String & GetSdkName() const
void SetTimestamp(TimestampT &&value)
bool AppPackageNameHasBeenSet() const
AWS_PINPOINT_API Event(Aws::Utils::Json::JsonView jsonValue)
Event & WithAttributes(AttributesT &&value)
const Aws::String & GetAppPackageName() const
bool SdkNameHasBeenSet() const
bool TimestampHasBeenSet() const
bool AttributesHasBeenSet() const
bool EventTypeHasBeenSet() const
const Aws::Map< Aws::String, double > & GetMetrics() const
AWS_PINPOINT_API Event()=default
const Aws::String & GetEventType() const
void SetAppTitle(AppTitleT &&value)
bool AppVersionCodeHasBeenSet() const
Event & WithAppPackageName(AppPackageNameT &&value)
Event & WithClientSdkVersion(ClientSdkVersionT &&value)
Event & WithEventType(EventTypeT &&value)
const Session & GetSession() const
void SetAppPackageName(AppPackageNameT &&value)
Event & AddMetrics(Aws::String key, double 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