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>
53 m_actionHasBeenSet =
true;
68 template <
typename BodyT = Aws::String>
70 m_bodyHasBeenSet =
true;
71 m_body = std::forward<BodyT>(value);
73 template <
typename BodyT = Aws::String>
75 SetBody(std::forward<BodyT>(value));
91 template <
typename CollapseKeyT = Aws::String>
93 m_collapseKeyHasBeenSet =
true;
94 m_collapseKey = std::forward<CollapseKeyT>(value);
96 template <
typename CollapseKeyT = Aws::String>
111 template <
typename DataT = Aws::Map<Aws::String, Aws::String>>
113 m_dataHasBeenSet =
true;
114 m_data = std::forward<DataT>(value);
116 template <
typename DataT = Aws::Map<Aws::String, Aws::String>>
118 SetData(std::forward<DataT>(value));
121 template <
typename DataKeyT = Aws::String,
typename DataValueT = Aws::String>
123 m_dataHasBeenSet =
true;
124 m_data.emplace(std::forward<DataKeyT>(key), std::forward<DataValueT>(value));
135 template <
typename IconReferenceT = Aws::String>
137 m_iconReferenceHasBeenSet =
true;
138 m_iconReference = std::forward<IconReferenceT>(value);
140 template <
typename IconReferenceT = Aws::String>
154 template <
typename ImageIconUrlT = Aws::String>
156 m_imageIconUrlHasBeenSet =
true;
157 m_imageIconUrl = std::forward<ImageIconUrlT>(value);
159 template <
typename ImageIconUrlT = Aws::String>
172 template <
typename ImageUrlT = Aws::String>
174 m_imageUrlHasBeenSet =
true;
175 m_imageUrl = std::forward<ImageUrlT>(value);
177 template <
typename ImageUrlT = Aws::String>
191 template <
typename PreferredAuthenticationMethodT = Aws::String>
193 m_preferredAuthenticationMethodHasBeenSet =
true;
194 m_preferredAuthenticationMethod = std::forward<PreferredAuthenticationMethodT>(value);
196 template <
typename PreferredAuthenticationMethodT = Aws::String>
217 template <
typename PriorityT = Aws::String>
219 m_priorityHasBeenSet =
true;
220 m_priority = std::forward<PriorityT>(value);
222 template <
typename PriorityT = Aws::String>
237 template <
typename RawContentT = Aws::String>
239 m_rawContentHasBeenSet =
true;
240 m_rawContent = std::forward<RawContentT>(value);
242 template <
typename RawContentT = Aws::String>
256 template <
typename RestrictedPackageNameT = Aws::String>
258 m_restrictedPackageNameHasBeenSet =
true;
259 m_restrictedPackageName = std::forward<RestrictedPackageNameT>(value);
261 template <
typename RestrictedPackageNameT = Aws::String>
278 m_silentPushHasBeenSet =
true;
279 m_silentPush = value;
294 template <
typename SmallImageIconUrlT = Aws::String>
296 m_smallImageIconUrlHasBeenSet =
true;
297 m_smallImageIconUrl = std::forward<SmallImageIconUrlT>(value);
299 template <
typename SmallImageIconUrlT = Aws::String>
315 template <
typename SoundT = Aws::String>
317 m_soundHasBeenSet =
true;
318 m_sound = std::forward<SoundT>(value);
320 template <
typename SoundT = Aws::String>
322 SetSound(std::forward<SoundT>(value));
334 template <
typename SubstitutionsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
336 m_substitutionsHasBeenSet =
true;
337 m_substitutions = std::forward<SubstitutionsT>(value);
339 template <
typename SubstitutionsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
344 template <
typename SubstitutionsKeyT = Aws::String,
typename SubstitutionsValueT = Aws::Vector<Aws::String>>
346 m_substitutionsHasBeenSet =
true;
347 m_substitutions.emplace(std::forward<SubstitutionsKeyT>(key), std::forward<SubstitutionsValueT>(value));
364 m_timeToLiveHasBeenSet =
true;
365 m_timeToLive = value;
380 template <
typename TitleT = Aws::String>
382 m_titleHasBeenSet =
true;
383 m_title = std::forward<TitleT>(value);
385 template <
typename TitleT = Aws::String>
387 SetTitle(std::forward<TitleT>(value));
399 template <
typename UrlT = Aws::String>
401 m_urlHasBeenSet =
true;
402 m_url = std::forward<UrlT>(value);
404 template <
typename UrlT = Aws::String>
406 SetUrl(std::forward<UrlT>(value));
412 bool m_actionHasBeenSet =
false;
415 bool m_bodyHasBeenSet =
false;
418 bool m_collapseKeyHasBeenSet =
false;
421 bool m_dataHasBeenSet =
false;
424 bool m_iconReferenceHasBeenSet =
false;
427 bool m_imageIconUrlHasBeenSet =
false;
430 bool m_imageUrlHasBeenSet =
false;
433 bool m_preferredAuthenticationMethodHasBeenSet =
false;
436 bool m_priorityHasBeenSet =
false;
439 bool m_rawContentHasBeenSet =
false;
442 bool m_restrictedPackageNameHasBeenSet =
false;
444 bool m_silentPush{
false};
445 bool m_silentPushHasBeenSet =
false;
448 bool m_smallImageIconUrlHasBeenSet =
false;
451 bool m_soundHasBeenSet =
false;
454 bool m_substitutionsHasBeenSet =
false;
457 bool m_timeToLiveHasBeenSet =
false;
460 bool m_titleHasBeenSet =
false;
463 bool m_urlHasBeenSet =
false;
const Aws::String & GetImageUrl() const
void SetImageIconUrl(ImageIconUrlT &&value)
void SetAction(Action value)
bool ActionHasBeenSet() const
const Aws::String & GetRawContent() const
GCMMessage & WithBody(BodyT &&value)
void SetRawContent(RawContentT &&value)
void SetBody(BodyT &&value)
bool ImageUrlHasBeenSet() const
void SetPreferredAuthenticationMethod(PreferredAuthenticationMethodT &&value)
AWS_PINPOINT_API GCMMessage()=default
GCMMessage & WithCollapseKey(CollapseKeyT &&value)
GCMMessage & WithRawContent(RawContentT &&value)
void SetRestrictedPackageName(RestrictedPackageNameT &&value)
bool GetSilentPush() const
bool SoundHasBeenSet() const
GCMMessage & WithTimeToLive(int value)
const Aws::String & GetSmallImageIconUrl() const
bool SmallImageIconUrlHasBeenSet() const
GCMMessage & AddData(DataKeyT &&key, DataValueT &&value)
bool RawContentHasBeenSet() const
void SetImageUrl(ImageUrlT &&value)
void SetTitle(TitleT &&value)
GCMMessage & AddSubstitutions(SubstitutionsKeyT &&key, SubstitutionsValueT &&value)
GCMMessage & WithSubstitutions(SubstitutionsT &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetSubstitutions() const
void SetSmallImageIconUrl(SmallImageIconUrlT &&value)
bool TimeToLiveHasBeenSet() const
void SetSilentPush(bool value)
bool PreferredAuthenticationMethodHasBeenSet() const
void SetCollapseKey(CollapseKeyT &&value)
int GetTimeToLive() const
GCMMessage & WithSound(SoundT &&value)
void SetSubstitutions(SubstitutionsT &&value)
const Aws::String & GetPriority() const
GCMMessage & WithSmallImageIconUrl(SmallImageIconUrlT &&value)
const Aws::String & GetImageIconUrl() const
const Aws::String & GetRestrictedPackageName() const
bool SubstitutionsHasBeenSet() const
bool IconReferenceHasBeenSet() const
void SetSound(SoundT &&value)
GCMMessage & WithAction(Action value)
bool PriorityHasBeenSet() const
GCMMessage & WithUrl(UrlT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
bool TitleHasBeenSet() const
const Aws::String & GetUrl() const
GCMMessage & WithPriority(PriorityT &&value)
void SetTimeToLive(int value)
AWS_PINPOINT_API GCMMessage(Aws::Utils::Json::JsonView jsonValue)
bool ImageIconUrlHasBeenSet() const
bool RestrictedPackageNameHasBeenSet() const
GCMMessage & WithImageUrl(ImageUrlT &&value)
void SetUrl(UrlT &&value)
bool CollapseKeyHasBeenSet() const
GCMMessage & WithData(DataT &&value)
const Aws::String & GetIconReference() const
GCMMessage & WithIconReference(IconReferenceT &&value)
GCMMessage & WithPreferredAuthenticationMethod(PreferredAuthenticationMethodT &&value)
void SetData(DataT &&value)
const Aws::String & GetBody() const
void SetPriority(PriorityT &&value)
const Aws::Map< Aws::String, Aws::String > & GetData() const
bool UrlHasBeenSet() const
const Aws::String & GetCollapseKey() const
GCMMessage & WithSilentPush(bool value)
bool DataHasBeenSet() const
const Aws::String & GetTitle() const
GCMMessage & WithImageIconUrl(ImageIconUrlT &&value)
const Aws::String & GetPreferredAuthenticationMethod() const
void SetIconReference(IconReferenceT &&value)
GCMMessage & WithRestrictedPackageName(RestrictedPackageNameT &&value)
GCMMessage & WithTitle(TitleT &&value)
bool BodyHasBeenSet() const
AWS_PINPOINT_API GCMMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SilentPushHasBeenSet() const
const Aws::String & GetSound() const
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