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>
62 template <
typename APNSPushTypeT = Aws::String>
64 m_aPNSPushTypeHasBeenSet =
true;
65 m_aPNSPushType = std::forward<APNSPushTypeT>(value);
67 template <
typename APNSPushTypeT = Aws::String>
87 m_actionHasBeenSet =
true;
106 m_badgeHasBeenSet =
true;
121 template <
typename BodyT = Aws::String>
123 m_bodyHasBeenSet =
true;
124 m_body = std::forward<BodyT>(value);
126 template <
typename BodyT = Aws::String>
128 SetBody(std::forward<BodyT>(value));
141 template <
typename CategoryT = Aws::String>
143 m_categoryHasBeenSet =
true;
144 m_category = std::forward<CategoryT>(value);
146 template <
typename CategoryT = Aws::String>
163 template <
typename CollapseIdT = Aws::String>
165 m_collapseIdHasBeenSet =
true;
166 m_collapseId = std::forward<CollapseIdT>(value);
168 template <
typename CollapseIdT = Aws::String>
182 template <
typename DataT = Aws::Map<Aws::String, Aws::String>>
184 m_dataHasBeenSet =
true;
185 m_data = std::forward<DataT>(value);
187 template <
typename DataT = Aws::Map<Aws::String, Aws::String>>
189 SetData(std::forward<DataT>(value));
192 template <
typename DataKeyT = Aws::String,
typename DataValueT = Aws::String>
194 m_dataHasBeenSet =
true;
195 m_data.emplace(std::forward<DataKeyT>(key), std::forward<DataValueT>(value));
206 template <
typename MediaUrlT = Aws::String>
208 m_mediaUrlHasBeenSet =
true;
209 m_mediaUrl = std::forward<MediaUrlT>(value);
211 template <
typename MediaUrlT = Aws::String>
225 template <
typename PreferredAuthenticationMethodT = Aws::String>
227 m_preferredAuthenticationMethodHasBeenSet =
true;
228 m_preferredAuthenticationMethod = std::forward<PreferredAuthenticationMethodT>(value);
230 template <
typename PreferredAuthenticationMethodT = Aws::String>
252 template <
typename PriorityT = Aws::String>
254 m_priorityHasBeenSet =
true;
255 m_priority = std::forward<PriorityT>(value);
257 template <
typename PriorityT = Aws::String>
282 template <
typename RawContentT = Aws::String>
284 m_rawContentHasBeenSet =
true;
285 m_rawContent = std::forward<RawContentT>(value);
287 template <
typename RawContentT = Aws::String>
320 m_silentPushHasBeenSet =
true;
321 m_silentPush = value;
339 template <
typename SoundT = Aws::String>
341 m_soundHasBeenSet =
true;
342 m_sound = std::forward<SoundT>(value);
344 template <
typename SoundT = Aws::String>
346 SetSound(std::forward<SoundT>(value));
358 template <
typename SubstitutionsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
360 m_substitutionsHasBeenSet =
true;
361 m_substitutions = std::forward<SubstitutionsT>(value);
363 template <
typename SubstitutionsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
368 template <
typename SubstitutionsKeyT = Aws::String,
typename SubstitutionsValueT = Aws::Vector<Aws::String>>
370 m_substitutionsHasBeenSet =
true;
371 m_substitutions.emplace(std::forward<SubstitutionsKeyT>(key), std::forward<SubstitutionsValueT>(value));
384 template <
typename ThreadIdT = Aws::String>
386 m_threadIdHasBeenSet =
true;
387 m_threadId = std::forward<ThreadIdT>(value);
389 template <
typename ThreadIdT = Aws::String>
408 m_timeToLiveHasBeenSet =
true;
409 m_timeToLive = value;
424 template <
typename TitleT = Aws::String>
426 m_titleHasBeenSet =
true;
427 m_title = std::forward<TitleT>(value);
429 template <
typename TitleT = Aws::String>
431 SetTitle(std::forward<TitleT>(value));
443 template <
typename UrlT = Aws::String>
445 m_urlHasBeenSet =
true;
446 m_url = std::forward<UrlT>(value);
448 template <
typename UrlT = Aws::String>
450 SetUrl(std::forward<UrlT>(value));
477 bool m_silentPush{
false};
490 bool m_aPNSPushTypeHasBeenSet =
false;
491 bool m_actionHasBeenSet =
false;
492 bool m_badgeHasBeenSet =
false;
493 bool m_bodyHasBeenSet =
false;
494 bool m_categoryHasBeenSet =
false;
495 bool m_collapseIdHasBeenSet =
false;
496 bool m_dataHasBeenSet =
false;
497 bool m_mediaUrlHasBeenSet =
false;
498 bool m_preferredAuthenticationMethodHasBeenSet =
false;
499 bool m_priorityHasBeenSet =
false;
500 bool m_rawContentHasBeenSet =
false;
501 bool m_silentPushHasBeenSet =
false;
502 bool m_soundHasBeenSet =
false;
503 bool m_substitutionsHasBeenSet =
false;
504 bool m_threadIdHasBeenSet =
false;
505 bool m_timeToLiveHasBeenSet =
false;
506 bool m_titleHasBeenSet =
false;
507 bool m_urlHasBeenSet =
false;
APNSMessage & WithAPNSPushType(APNSPushTypeT &&value)
void SetSubstitutions(SubstitutionsT &&value)
APNSMessage & WithThreadId(ThreadIdT &&value)
APNSMessage & WithSubstitutions(SubstitutionsT &&value)
AWS_PINPOINT_API APNSMessage(Aws::Utils::Json::JsonView jsonValue)
bool GetSilentPush() const
APNSMessage & AddSubstitutions(SubstitutionsKeyT &&key, SubstitutionsValueT &&value)
void SetTitle(TitleT &&value)
void SetAPNSPushType(APNSPushTypeT &&value)
void SetBody(BodyT &&value)
APNSMessage & AddData(DataKeyT &&key, DataValueT &&value)
bool ThreadIdHasBeenSet() const
APNSMessage & WithMediaUrl(MediaUrlT &&value)
APNSMessage & WithData(DataT &&value)
APNSMessage & WithBadge(int value)
void SetRawContent(RawContentT &&value)
void SetCollapseId(CollapseIdT &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetSubstitutions() const
bool SubstitutionsHasBeenSet() const
const Aws::String & GetThreadId() const
APNSMessage & WithCategory(CategoryT &&value)
void SetMediaUrl(MediaUrlT &&value)
void SetThreadId(ThreadIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetData() const
int GetTimeToLive() const
APNSMessage & WithSound(SoundT &&value)
AWS_PINPOINT_API APNSMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TitleHasBeenSet() const
APNSMessage & WithTimeToLive(int value)
bool CollapseIdHasBeenSet() const
const Aws::String & GetPriority() const
const Aws::String & GetAPNSPushType() const
bool PriorityHasBeenSet() const
void SetTimeToLive(int value)
bool DataHasBeenSet() const
bool BadgeHasBeenSet() const
const Aws::String & GetPreferredAuthenticationMethod() const
APNSMessage & WithAction(Action value)
bool TimeToLiveHasBeenSet() const
APNSMessage & WithTitle(TitleT &&value)
void SetPriority(PriorityT &&value)
const Aws::String & GetBody() const
const Aws::String & GetCategory() const
bool PreferredAuthenticationMethodHasBeenSet() const
bool ActionHasBeenSet() const
bool CategoryHasBeenSet() const
const Aws::String & GetTitle() const
void SetUrl(UrlT &&value)
APNSMessage & WithBody(BodyT &&value)
bool SilentPushHasBeenSet() const
bool MediaUrlHasBeenSet() const
void SetData(DataT &&value)
APNSMessage & WithUrl(UrlT &&value)
void SetSound(SoundT &&value)
APNSMessage & WithRawContent(RawContentT &&value)
const Aws::String & GetUrl() const
void SetCategory(CategoryT &&value)
bool APNSPushTypeHasBeenSet() const
const Aws::String & GetCollapseId() const
void SetAction(Action value)
bool BodyHasBeenSet() const
bool RawContentHasBeenSet() const
const Aws::String & GetMediaUrl() const
APNSMessage & WithPreferredAuthenticationMethod(PreferredAuthenticationMethodT &&value)
void SetSilentPush(bool value)
bool SoundHasBeenSet() const
bool UrlHasBeenSet() const
AWS_PINPOINT_API APNSMessage()=default
void SetPreferredAuthenticationMethod(PreferredAuthenticationMethodT &&value)
APNSMessage & WithPriority(PriorityT &&value)
APNSMessage & WithCollapseId(CollapseIdT &&value)
APNSMessage & WithSilentPush(bool value)
const Aws::String & GetSound() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRawContent() 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