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>
58 inline void SetAction(
const Action& value) { m_actionHasBeenSet =
true; m_action = value; }
59 inline void SetAction(
Action&& value) { m_actionHasBeenSet =
true; m_action = std::move(value); }
72 inline void SetBody(
const char* value) { m_bodyHasBeenSet =
true; m_body.assign(value); }
91 inline void SetCollapseKey(
const char* value) { m_collapseKeyHasBeenSet =
true; m_collapseKey.assign(value); }
115 inline GCMMessage&
AddData(
const char* key,
const char* value) { m_dataHasBeenSet =
true; m_data.emplace(key, value);
return *
this; }
126 inline void SetIconReference(
const char* value) { m_iconReferenceHasBeenSet =
true; m_iconReference.assign(value); }
141 inline void SetImageIconUrl(
const char* value) { m_imageIconUrlHasBeenSet =
true; m_imageIconUrl.assign(value); }
155 inline void SetImageUrl(
const char* value) { m_imageUrlHasBeenSet =
true; m_imageUrl.assign(value); }
192 inline void SetPriority(
const char* value) { m_priorityHasBeenSet =
true; m_priority.assign(value); }
208 inline void SetRawContent(
const char* value) { m_rawContentHasBeenSet =
true; m_rawContent.assign(value); }
223 inline void SetRestrictedPackageName(
const char* value) { m_restrictedPackageNameHasBeenSet =
true; m_restrictedPackageName.assign(value); }
238 inline void SetSilentPush(
bool value) { m_silentPushHasBeenSet =
true; m_silentPush = value; }
251 inline void SetSmallImageIconUrl(
const char* value) { m_smallImageIconUrlHasBeenSet =
true; m_smallImageIconUrl.assign(value); }
268 inline void SetSound(
const char* value) { m_soundHasBeenSet =
true; m_sound.assign(value); }
304 inline void SetTimeToLive(
int value) { m_timeToLiveHasBeenSet =
true; m_timeToLive = value; }
317 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
332 inline void SetUrl(
const char* value) { m_urlHasBeenSet =
true; m_url.assign(value); }
340 bool m_actionHasBeenSet =
false;
343 bool m_bodyHasBeenSet =
false;
346 bool m_collapseKeyHasBeenSet =
false;
349 bool m_dataHasBeenSet =
false;
352 bool m_iconReferenceHasBeenSet =
false;
355 bool m_imageIconUrlHasBeenSet =
false;
358 bool m_imageUrlHasBeenSet =
false;
361 bool m_preferredAuthenticationMethodHasBeenSet =
false;
364 bool m_priorityHasBeenSet =
false;
367 bool m_rawContentHasBeenSet =
false;
370 bool m_restrictedPackageNameHasBeenSet =
false;
373 bool m_silentPushHasBeenSet =
false;
376 bool m_smallImageIconUrlHasBeenSet =
false;
379 bool m_soundHasBeenSet =
false;
382 bool m_substitutionsHasBeenSet =
false;
385 bool m_timeToLiveHasBeenSet =
false;
388 bool m_titleHasBeenSet =
false;
391 bool m_urlHasBeenSet =
false;
void SetRawContent(const Aws::String &value)
const Aws::String & GetImageUrl() const
GCMMessage & WithPriority(const Aws::String &value)
GCMMessage & WithRawContent(const Aws::String &value)
GCMMessage & AddData(const char *key, Aws::String &&value)
bool ActionHasBeenSet() const
void SetSmallImageIconUrl(const char *value)
const Aws::String & GetRawContent() const
void SetSound(Aws::String &&value)
GCMMessage & WithPreferredAuthenticationMethod(const Aws::String &value)
bool ImageUrlHasBeenSet() const
void SetBody(Aws::String &&value)
GCMMessage & WithImageUrl(Aws::String &&value)
void SetSubstitutions(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetSound(const char *value)
GCMMessage & AddSubstitutions(const char *key, Aws::Vector< Aws::String > &&value)
GCMMessage & WithImageUrl(const char *value)
void SetRestrictedPackageName(Aws::String &&value)
bool GetSilentPush() const
bool SoundHasBeenSet() const
GCMMessage & WithSound(const char *value)
GCMMessage & AddData(Aws::String &&key, const char *value)
void SetRestrictedPackageName(const Aws::String &value)
GCMMessage & WithUrl(const Aws::String &value)
GCMMessage & WithTimeToLive(int value)
const Aws::String & GetSmallImageIconUrl() const
GCMMessage & WithRawContent(Aws::String &&value)
GCMMessage & WithIconReference(const Aws::String &value)
void SetRawContent(const char *value)
bool SmallImageIconUrlHasBeenSet() const
GCMMessage & WithSmallImageIconUrl(const char *value)
void SetTitle(const Aws::String &value)
GCMMessage & WithImageIconUrl(const char *value)
GCMMessage & WithAction(Action &&value)
GCMMessage & WithSmallImageIconUrl(Aws::String &&value)
void SetImageIconUrl(const Aws::String &value)
bool RawContentHasBeenSet() const
GCMMessage & WithRawContent(const char *value)
GCMMessage & WithSubstitutions(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetPriority(const Aws::String &value)
const Action & GetAction() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetSubstitutions() const
GCMMessage & WithRestrictedPackageName(Aws::String &&value)
GCMMessage & AddData(const char *key, const char *value)
GCMMessage & WithImageIconUrl(const Aws::String &value)
void SetTitle(const char *value)
bool TimeToLiveHasBeenSet() const
GCMMessage & AddData(Aws::String &&key, Aws::String &&value)
void SetSilentPush(bool value)
GCMMessage & WithUrl(Aws::String &&value)
void SetIconReference(const Aws::String &value)
void SetSubstitutions(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetData(const Aws::Map< Aws::String, Aws::String > &value)
GCMMessage & AddData(const Aws::String &key, const Aws::String &value)
bool PreferredAuthenticationMethodHasBeenSet() const
void SetAction(const Action &value)
GCMMessage & WithBody(Aws::String &&value)
void SetRestrictedPackageName(const char *value)
int GetTimeToLive() const
GCMMessage & WithSound(const Aws::String &value)
const Aws::String & GetPriority() const
GCMMessage & WithRestrictedPackageName(const Aws::String &value)
void SetPreferredAuthenticationMethod(const char *value)
const Aws::String & GetImageIconUrl() const
const Aws::String & GetRestrictedPackageName() const
void SetBody(const char *value)
bool SubstitutionsHasBeenSet() const
GCMMessage & AddData(const Aws::String &key, Aws::String &&value)
void SetPriority(Aws::String &&value)
bool IconReferenceHasBeenSet() const
void SetImageUrl(const char *value)
GCMMessage & WithSmallImageIconUrl(const Aws::String &value)
void SetPreferredAuthenticationMethod(const Aws::String &value)
GCMMessage & AddSubstitutions(Aws::String &&key, Aws::Vector< Aws::String > &&value)
bool PriorityHasBeenSet() const
GCMMessage & WithRestrictedPackageName(const char *value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
bool TitleHasBeenSet() const
void SetCollapseKey(const Aws::String &value)
void SetPreferredAuthenticationMethod(Aws::String &&value)
void SetUrl(const Aws::String &value)
const Aws::String & GetUrl() const
void SetImageUrl(const Aws::String &value)
void SetIconReference(const char *value)
void SetData(Aws::Map< Aws::String, Aws::String > &&value)
void SetRawContent(Aws::String &&value)
GCMMessage & WithSound(Aws::String &&value)
void SetTimeToLive(int value)
AWS_PINPOINT_API GCMMessage(Aws::Utils::Json::JsonView jsonValue)
bool ImageIconUrlHasBeenSet() const
bool RestrictedPackageNameHasBeenSet() const
void SetSound(const Aws::String &value)
GCMMessage & WithIconReference(Aws::String &&value)
GCMMessage & WithTitle(Aws::String &&value)
GCMMessage & WithPreferredAuthenticationMethod(const char *value)
GCMMessage & WithData(const Aws::Map< Aws::String, Aws::String > &value)
void SetImageIconUrl(Aws::String &&value)
void SetTitle(Aws::String &&value)
GCMMessage & WithTitle(const Aws::String &value)
GCMMessage & WithIconReference(const char *value)
bool CollapseKeyHasBeenSet() const
GCMMessage & WithCollapseKey(Aws::String &&value)
GCMMessage & AddSubstitutions(const Aws::String &key, const Aws::Vector< Aws::String > &value)
void SetIconReference(Aws::String &&value)
GCMMessage & WithPriority(const char *value)
GCMMessage & WithImageUrl(const Aws::String &value)
AWS_PINPOINT_API GCMMessage()
const Aws::String & GetIconReference() const
GCMMessage & AddData(Aws::String &&key, const Aws::String &value)
void SetCollapseKey(const char *value)
GCMMessage & WithAction(const Action &value)
GCMMessage & AddSubstitutions(const char *key, const Aws::Vector< Aws::String > &value)
void SetUrl(Aws::String &&value)
GCMMessage & WithPriority(Aws::String &&value)
const Aws::String & GetBody() const
GCMMessage & WithSubstitutions(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
GCMMessage & WithPreferredAuthenticationMethod(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetData() const
bool UrlHasBeenSet() const
const Aws::String & GetCollapseKey() const
void SetCollapseKey(Aws::String &&value)
void SetSmallImageIconUrl(Aws::String &&value)
GCMMessage & WithSilentPush(bool value)
bool DataHasBeenSet() const
GCMMessage & WithBody(const char *value)
GCMMessage & WithData(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetTitle() const
void SetSmallImageIconUrl(const Aws::String &value)
const Aws::String & GetPreferredAuthenticationMethod() const
GCMMessage & WithCollapseKey(const char *value)
void SetAction(Action &&value)
void SetPriority(const char *value)
void SetImageIconUrl(const char *value)
bool BodyHasBeenSet() const
void SetUrl(const char *value)
void SetBody(const Aws::String &value)
GCMMessage & AddSubstitutions(const Aws::String &key, Aws::Vector< Aws::String > &&value)
AWS_PINPOINT_API GCMMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
GCMMessage & AddSubstitutions(Aws::String &&key, const Aws::Vector< Aws::String > &value)
bool SilentPushHasBeenSet() const
GCMMessage & WithImageIconUrl(Aws::String &&value)
GCMMessage & WithCollapseKey(const Aws::String &value)
GCMMessage & WithTitle(const char *value)
const Aws::String & GetSound() const
void SetImageUrl(Aws::String &&value)
GCMMessage & WithUrl(const char *value)
GCMMessage & WithBody(const 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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue