7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/Action.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
57 inline void SetAction(
const Action& value) { m_actionHasBeenSet =
true; m_action = value; }
58 inline void SetAction(
Action&& value) { m_actionHasBeenSet =
true; m_action = std::move(value); }
71 inline void SetBody(
const char* value) { m_bodyHasBeenSet =
true; m_body.assign(value); }
87 inline void SetConsolidationKey(
const char* value) { m_consolidationKeyHasBeenSet =
true; m_consolidationKey.assign(value); }
111 inline ADMMessage&
AddData(
const char* key,
const char* value) { m_dataHasBeenSet =
true; m_data.emplace(key, value);
return *
this; }
124 inline void SetExpiresAfter(
const char* value) { m_expiresAfterHasBeenSet =
true; m_expiresAfter.assign(value); }
138 inline void SetIconReference(
const char* value) { m_iconReferenceHasBeenSet =
true; m_iconReference.assign(value); }
153 inline void SetImageIconUrl(
const char* value) { m_imageIconUrlHasBeenSet =
true; m_imageIconUrl.assign(value); }
167 inline void SetImageUrl(
const char* value) { m_imageUrlHasBeenSet =
true; m_imageUrl.assign(value); }
182 inline void SetMD5(
const char* value) { m_mD5HasBeenSet =
true; m_mD5.assign(value); }
198 inline void SetRawContent(
const char* value) { m_rawContentHasBeenSet =
true; m_rawContent.assign(value); }
213 inline void SetSilentPush(
bool value) { m_silentPushHasBeenSet =
true; m_silentPush = value; }
226 inline void SetSmallImageIconUrl(
const char* value) { m_smallImageIconUrlHasBeenSet =
true; m_smallImageIconUrl.assign(value); }
243 inline void SetSound(
const char* value) { m_soundHasBeenSet =
true; m_sound.assign(value); }
277 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
292 inline void SetUrl(
const char* value) { m_urlHasBeenSet =
true; m_url.assign(value); }
300 bool m_actionHasBeenSet =
false;
303 bool m_bodyHasBeenSet =
false;
306 bool m_consolidationKeyHasBeenSet =
false;
309 bool m_dataHasBeenSet =
false;
312 bool m_expiresAfterHasBeenSet =
false;
315 bool m_iconReferenceHasBeenSet =
false;
318 bool m_imageIconUrlHasBeenSet =
false;
321 bool m_imageUrlHasBeenSet =
false;
324 bool m_mD5HasBeenSet =
false;
327 bool m_rawContentHasBeenSet =
false;
330 bool m_silentPushHasBeenSet =
false;
333 bool m_smallImageIconUrlHasBeenSet =
false;
336 bool m_soundHasBeenSet =
false;
339 bool m_substitutionsHasBeenSet =
false;
342 bool m_titleHasBeenSet =
false;
345 bool m_urlHasBeenSet =
false;
void SetTitle(const Aws::String &value)
AWS_PINPOINT_API ADMMessage()
ADMMessage & WithData(const Aws::Map< Aws::String, Aws::String > &value)
bool SubstitutionsHasBeenSet() const
ADMMessage & WithExpiresAfter(const char *value)
ADMMessage & WithBody(Aws::String &&value)
ADMMessage & WithSilentPush(bool value)
ADMMessage & AddSubstitutions(const char *key, Aws::Vector< Aws::String > &&value)
ADMMessage & WithConsolidationKey(const char *value)
const Aws::String & GetTitle() const
ADMMessage & AddData(Aws::String &&key, const char *value)
void SetExpiresAfter(const Aws::String &value)
ADMMessage & WithUrl(const Aws::String &value)
const Aws::String & GetBody() const
ADMMessage & WithUrl(const char *value)
const Aws::String & GetIconReference() const
const Aws::String & GetUrl() const
bool TitleHasBeenSet() const
const Aws::String & GetImageIconUrl() const
void SetExpiresAfter(const char *value)
const Action & GetAction() const
ADMMessage & WithTitle(const Aws::String &value)
bool SmallImageIconUrlHasBeenSet() const
ADMMessage & WithImageUrl(Aws::String &&value)
bool BodyHasBeenSet() const
void SetExpiresAfter(Aws::String &&value)
ADMMessage & WithMD5(const Aws::String &value)
bool ExpiresAfterHasBeenSet() const
ADMMessage & WithSmallImageIconUrl(Aws::String &&value)
ADMMessage & WithAction(const Action &value)
void SetBody(const char *value)
ADMMessage & WithExpiresAfter(Aws::String &&value)
void SetUrl(const Aws::String &value)
AWS_PINPOINT_API ADMMessage(Aws::Utils::Json::JsonView jsonValue)
bool ImageUrlHasBeenSet() const
void SetAction(const Action &value)
AWS_PINPOINT_API ADMMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetData(const Aws::Map< Aws::String, Aws::String > &value)
void SetBody(Aws::String &&value)
void SetTitle(Aws::String &&value)
ADMMessage & WithConsolidationKey(Aws::String &&value)
const Aws::String & GetRawContent() const
ADMMessage & WithSmallImageIconUrl(const Aws::String &value)
ADMMessage & WithData(Aws::Map< Aws::String, Aws::String > &&value)
ADMMessage & WithExpiresAfter(const Aws::String &value)
ADMMessage & WithMD5(Aws::String &&value)
void SetMD5(const Aws::String &value)
void SetImageUrl(const Aws::String &value)
void SetImageIconUrl(const Aws::String &value)
ADMMessage & WithUrl(Aws::String &&value)
ADMMessage & WithIconReference(const char *value)
ADMMessage & AddSubstitutions(const char *key, const Aws::Vector< Aws::String > &value)
bool ActionHasBeenSet() const
void SetRawContent(const Aws::String &value)
const Aws::String & GetExpiresAfter() const
ADMMessage & AddData(const Aws::String &key, Aws::String &&value)
ADMMessage & WithConsolidationKey(const Aws::String &value)
void SetSilentPush(bool value)
const Aws::String & GetSound() const
void SetImageIconUrl(const char *value)
bool RawContentHasBeenSet() const
void SetIconReference(Aws::String &&value)
void SetBody(const Aws::String &value)
ADMMessage & WithIconReference(const Aws::String &value)
bool DataHasBeenSet() const
void SetIconReference(const Aws::String &value)
void SetSubstitutions(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetMD5(Aws::String &&value)
void SetConsolidationKey(const char *value)
bool ImageIconUrlHasBeenSet() const
ADMMessage & AddData(const char *key, const char *value)
ADMMessage & WithRawContent(Aws::String &&value)
const Aws::String & GetSmallImageIconUrl() const
ADMMessage & WithImageUrl(const Aws::String &value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetSubstitutions() const
ADMMessage & WithIconReference(Aws::String &&value)
bool IconReferenceHasBeenSet() const
ADMMessage & AddData(Aws::String &&key, Aws::String &&value)
bool UrlHasBeenSet() const
ADMMessage & WithSubstitutions(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
ADMMessage & WithSound(const Aws::String &value)
const Aws::String & GetMD5() const
ADMMessage & WithTitle(const char *value)
void SetImageUrl(Aws::String &&value)
ADMMessage & WithSound(Aws::String &&value)
void SetSmallImageIconUrl(const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetData() const
bool SilentPushHasBeenSet() const
ADMMessage & AddData(const Aws::String &key, const Aws::String &value)
ADMMessage & WithImageIconUrl(const Aws::String &value)
void SetRawContent(const char *value)
ADMMessage & WithSubstitutions(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetSound(const char *value)
void SetTitle(const char *value)
const Aws::String & GetConsolidationKey() const
ADMMessage & AddSubstitutions(Aws::String &&key, Aws::Vector< Aws::String > &&value)
void SetSound(Aws::String &&value)
void SetUrl(Aws::String &&value)
ADMMessage & WithImageIconUrl(Aws::String &&value)
ADMMessage & WithSmallImageIconUrl(const char *value)
ADMMessage & WithImageIconUrl(const char *value)
void SetSubstitutions(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
ADMMessage & WithBody(const Aws::String &value)
void SetSmallImageIconUrl(Aws::String &&value)
ADMMessage & WithImageUrl(const char *value)
void SetSound(const Aws::String &value)
ADMMessage & WithRawContent(const char *value)
bool ConsolidationKeyHasBeenSet() const
void SetImageIconUrl(Aws::String &&value)
void SetImageUrl(const char *value)
void SetRawContent(Aws::String &&value)
ADMMessage & WithAction(Action &&value)
ADMMessage & WithMD5(const char *value)
void SetConsolidationKey(const Aws::String &value)
bool GetSilentPush() const
void SetUrl(const char *value)
void SetData(Aws::Map< Aws::String, Aws::String > &&value)
bool SoundHasBeenSet() const
const Aws::String & GetImageUrl() const
void SetSmallImageIconUrl(const char *value)
ADMMessage & AddSubstitutions(Aws::String &&key, const Aws::Vector< Aws::String > &value)
void SetIconReference(const char *value)
ADMMessage & AddData(const char *key, Aws::String &&value)
ADMMessage & WithSound(const char *value)
void SetAction(Action &&value)
ADMMessage & WithTitle(Aws::String &&value)
bool MD5HasBeenSet() const
ADMMessage & AddSubstitutions(const Aws::String &key, const Aws::Vector< Aws::String > &value)
ADMMessage & AddData(Aws::String &&key, const Aws::String &value)
ADMMessage & WithBody(const char *value)
void SetConsolidationKey(Aws::String &&value)
ADMMessage & WithRawContent(const Aws::String &value)
ADMMessage & AddSubstitutions(const Aws::String &key, Aws::Vector< Aws::String > &&value)
void SetMD5(const char *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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue