7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/pinpoint/Pinpoint_EXPORTS.h>
11#include <aws/pinpoint/model/Action.h>
52 m_actionHasBeenSet =
true;
67 template <
typename BodyT = Aws::String>
69 m_bodyHasBeenSet =
true;
70 m_body = std::forward<BodyT>(value);
72 template <
typename BodyT = Aws::String>
74 SetBody(std::forward<BodyT>(value));
87 template <
typename Consol
idationKeyT = Aws::String>
89 m_consolidationKeyHasBeenSet =
true;
90 m_consolidationKey = std::forward<ConsolidationKeyT>(value);
92 template <
typename Consol
idationKeyT = Aws::String>
107 template <
typename DataT = Aws::Map<Aws::String, Aws::String>>
109 m_dataHasBeenSet =
true;
110 m_data = std::forward<DataT>(value);
112 template <
typename DataT = Aws::Map<Aws::String, Aws::String>>
114 SetData(std::forward<DataT>(value));
117 template <
typename DataKeyT = Aws::String,
typename DataValueT = Aws::String>
119 m_dataHasBeenSet =
true;
120 m_data.emplace(std::forward<DataKeyT>(key), std::forward<DataValueT>(value));
133 template <
typename ExpiresAfterT = Aws::String>
135 m_expiresAfterHasBeenSet =
true;
136 m_expiresAfter = std::forward<ExpiresAfterT>(value);
138 template <
typename ExpiresAfterT = Aws::String>
151 template <
typename IconReferenceT = Aws::String>
153 m_iconReferenceHasBeenSet =
true;
154 m_iconReference = std::forward<IconReferenceT>(value);
156 template <
typename IconReferenceT = Aws::String>
170 template <
typename ImageIconUrlT = Aws::String>
172 m_imageIconUrlHasBeenSet =
true;
173 m_imageIconUrl = std::forward<ImageIconUrlT>(value);
175 template <
typename ImageIconUrlT = Aws::String>
188 template <
typename ImageUrlT = Aws::String>
190 m_imageUrlHasBeenSet =
true;
191 m_imageUrl = std::forward<ImageUrlT>(value);
193 template <
typename ImageUrlT = Aws::String>
207 template <
typename MD5T = Aws::String>
209 m_mD5HasBeenSet =
true;
210 m_mD5 = std::forward<MD5T>(value);
212 template <
typename MD5T = Aws::String>
214 SetMD5(std::forward<MD5T>(value));
227 template <
typename RawContentT = Aws::String>
229 m_rawContentHasBeenSet =
true;
230 m_rawContent = std::forward<RawContentT>(value);
232 template <
typename RawContentT = Aws::String>
249 m_silentPushHasBeenSet =
true;
250 m_silentPush = value;
265 template <
typename SmallImageIconUrlT = Aws::String>
267 m_smallImageIconUrlHasBeenSet =
true;
268 m_smallImageIconUrl = std::forward<SmallImageIconUrlT>(value);
270 template <
typename SmallImageIconUrlT = Aws::String>
286 template <
typename SoundT = Aws::String>
288 m_soundHasBeenSet =
true;
289 m_sound = std::forward<SoundT>(value);
291 template <
typename SoundT = Aws::String>
293 SetSound(std::forward<SoundT>(value));
305 template <
typename SubstitutionsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
307 m_substitutionsHasBeenSet =
true;
308 m_substitutions = std::forward<SubstitutionsT>(value);
310 template <
typename SubstitutionsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
315 template <
typename SubstitutionsKeyT = Aws::String,
typename SubstitutionsValueT = Aws::Vector<Aws::String>>
317 m_substitutionsHasBeenSet =
true;
318 m_substitutions.emplace(std::forward<SubstitutionsKeyT>(key), std::forward<SubstitutionsValueT>(value));
330 template <
typename TitleT = Aws::String>
332 m_titleHasBeenSet =
true;
333 m_title = std::forward<TitleT>(value);
335 template <
typename TitleT = Aws::String>
337 SetTitle(std::forward<TitleT>(value));
349 template <
typename UrlT = Aws::String>
351 m_urlHasBeenSet =
true;
352 m_url = std::forward<UrlT>(value);
354 template <
typename UrlT = Aws::String>
356 SetUrl(std::forward<UrlT>(value));
362 bool m_actionHasBeenSet =
false;
365 bool m_bodyHasBeenSet =
false;
368 bool m_consolidationKeyHasBeenSet =
false;
371 bool m_dataHasBeenSet =
false;
374 bool m_expiresAfterHasBeenSet =
false;
377 bool m_iconReferenceHasBeenSet =
false;
380 bool m_imageIconUrlHasBeenSet =
false;
383 bool m_imageUrlHasBeenSet =
false;
386 bool m_mD5HasBeenSet =
false;
389 bool m_rawContentHasBeenSet =
false;
391 bool m_silentPush{
false};
392 bool m_silentPushHasBeenSet =
false;
395 bool m_smallImageIconUrlHasBeenSet =
false;
398 bool m_soundHasBeenSet =
false;
401 bool m_substitutionsHasBeenSet =
false;
404 bool m_titleHasBeenSet =
false;
407 bool m_urlHasBeenSet =
false;
bool SubstitutionsHasBeenSet() const
ADMMessage & WithTitle(TitleT &&value)
ADMMessage & WithMD5(MD5T &&value)
ADMMessage & WithSilentPush(bool value)
ADMMessage & WithAction(Action value)
const Aws::String & GetTitle() const
const Aws::String & GetBody() const
const Aws::String & GetIconReference() const
const Aws::String & GetUrl() const
bool TitleHasBeenSet() const
const Aws::String & GetImageIconUrl() const
void SetMD5(MD5T &&value)
bool SmallImageIconUrlHasBeenSet() const
bool BodyHasBeenSet() const
ADMMessage & WithData(DataT &&value)
bool ExpiresAfterHasBeenSet() const
void SetAction(Action value)
ADMMessage & WithConsolidationKey(ConsolidationKeyT &&value)
void SetSmallImageIconUrl(SmallImageIconUrlT &&value)
AWS_PINPOINT_API ADMMessage(Aws::Utils::Json::JsonView jsonValue)
void SetData(DataT &&value)
ADMMessage & WithImageUrl(ImageUrlT &&value)
bool ImageUrlHasBeenSet() const
AWS_PINPOINT_API ADMMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIconReference(IconReferenceT &&value)
const Aws::String & GetRawContent() const
void SetTitle(TitleT &&value)
void SetImageIconUrl(ImageIconUrlT &&value)
void SetExpiresAfter(ExpiresAfterT &&value)
bool ActionHasBeenSet() const
const Aws::String & GetExpiresAfter() const
void SetRawContent(RawContentT &&value)
void SetImageUrl(ImageUrlT &&value)
void SetSilentPush(bool value)
void SetSound(SoundT &&value)
const Aws::String & GetSound() const
bool RawContentHasBeenSet() const
bool DataHasBeenSet() const
ADMMessage & AddSubstitutions(SubstitutionsKeyT &&key, SubstitutionsValueT &&value)
bool ImageIconUrlHasBeenSet() const
ADMMessage & AddData(DataKeyT &&key, DataValueT &&value)
const Aws::String & GetSmallImageIconUrl() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetSubstitutions() const
AWS_PINPOINT_API ADMMessage()=default
bool IconReferenceHasBeenSet() const
bool UrlHasBeenSet() const
const Aws::String & GetMD5() const
void SetBody(BodyT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetData() const
bool SilentPushHasBeenSet() const
const Aws::String & GetConsolidationKey() const
void SetSubstitutions(SubstitutionsT &&value)
bool ConsolidationKeyHasBeenSet() const
ADMMessage & WithSubstitutions(SubstitutionsT &&value)
bool GetSilentPush() const
void SetUrl(UrlT &&value)
bool SoundHasBeenSet() const
const Aws::String & GetImageUrl() const
ADMMessage & WithImageIconUrl(ImageIconUrlT &&value)
ADMMessage & WithSound(SoundT &&value)
ADMMessage & WithExpiresAfter(ExpiresAfterT &&value)
ADMMessage & WithIconReference(IconReferenceT &&value)
ADMMessage & WithRawContent(RawContentT &&value)
ADMMessage & WithUrl(UrlT &&value)
bool MD5HasBeenSet() const
ADMMessage & WithBody(BodyT &&value)
void SetConsolidationKey(ConsolidationKeyT &&value)
ADMMessage & WithSmallImageIconUrl(SmallImageIconUrlT &&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