7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/model/Action.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
70 inline void SetAPNSPushType(
const char* value) { m_aPNSPushTypeHasBeenSet =
true; m_aPNSPushType.assign(value); }
88 inline void SetAction(
const Action& value) { m_actionHasBeenSet =
true; m_action = value; }
89 inline void SetAction(
Action&& value) { m_actionHasBeenSet =
true; m_action = std::move(value); }
103 inline void SetBadge(
int value) { m_badgeHasBeenSet =
true; m_badge = value; }
115 inline void SetBody(
const char* value) { m_bodyHasBeenSet =
true; m_body.assign(value); }
131 inline void SetCategory(
const char* value) { m_categoryHasBeenSet =
true; m_category.assign(value); }
149 inline void SetCollapseId(
const char* value) { m_collapseIdHasBeenSet =
true; m_collapseId.assign(value); }
172 inline APNSMessage&
AddData(
const char* key,
const char* value) { m_dataHasBeenSet =
true; m_data.emplace(key, value);
return *
this; }
183 inline void SetMediaUrl(
const char* value) { m_mediaUrlHasBeenSet =
true; m_mediaUrl.assign(value); }
221 inline void SetPriority(
const char* value) { m_priorityHasBeenSet =
true; m_priority.assign(value); }
247 inline void SetRawContent(
const char* value) { m_rawContentHasBeenSet =
true; m_rawContent.assign(value); }
278 inline void SetSilentPush(
bool value) { m_silentPushHasBeenSet =
true; m_silentPush = value; }
294 inline void SetSound(
const char* value) { m_soundHasBeenSet =
true; m_sound.assign(value); }
329 inline void SetThreadId(
const char* value) { m_threadIdHasBeenSet =
true; m_threadId.assign(value); }
346 inline void SetTimeToLive(
int value) { m_timeToLiveHasBeenSet =
true; m_timeToLive = value; }
359 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
374 inline void SetUrl(
const char* value) { m_urlHasBeenSet =
true; m_url.assign(value); }
382 bool m_aPNSPushTypeHasBeenSet =
false;
385 bool m_actionHasBeenSet =
false;
388 bool m_badgeHasBeenSet =
false;
391 bool m_bodyHasBeenSet =
false;
394 bool m_categoryHasBeenSet =
false;
397 bool m_collapseIdHasBeenSet =
false;
400 bool m_dataHasBeenSet =
false;
403 bool m_mediaUrlHasBeenSet =
false;
406 bool m_preferredAuthenticationMethodHasBeenSet =
false;
409 bool m_priorityHasBeenSet =
false;
412 bool m_rawContentHasBeenSet =
false;
415 bool m_silentPushHasBeenSet =
false;
418 bool m_soundHasBeenSet =
false;
421 bool m_substitutionsHasBeenSet =
false;
424 bool m_threadIdHasBeenSet =
false;
427 bool m_timeToLiveHasBeenSet =
false;
430 bool m_titleHasBeenSet =
false;
433 bool m_urlHasBeenSet =
false;
void SetRawContent(Aws::String &&value)
APNSMessage & WithBody(const char *value)
void SetPreferredAuthenticationMethod(const Aws::String &value)
APNSMessage & WithPriority(const Aws::String &value)
APNSMessage & WithAPNSPushType(const Aws::String &value)
void SetPreferredAuthenticationMethod(const char *value)
APNSMessage & WithUrl(Aws::String &&value)
void SetUrl(const Aws::String &value)
APNSMessage & WithThreadId(const Aws::String &value)
APNSMessage & WithPreferredAuthenticationMethod(Aws::String &&value)
void SetBody(const char *value)
APNSMessage & WithSound(Aws::String &&value)
AWS_PINPOINT_API APNSMessage(Aws::Utils::Json::JsonView jsonValue)
bool GetSilentPush() const
APNSMessage & WithAction(Action &&value)
void SetPreferredAuthenticationMethod(Aws::String &&value)
void SetAPNSPushType(const Aws::String &value)
void SetData(const Aws::Map< Aws::String, Aws::String > &value)
APNSMessage & WithData(const Aws::Map< Aws::String, Aws::String > &value)
APNSMessage & AddData(const char *key, const char *value)
void SetPriority(Aws::String &&value)
APNSMessage & AddSubstitutions(const char *key, Aws::Vector< Aws::String > &&value)
bool ThreadIdHasBeenSet() const
APNSMessage & WithRawContent(Aws::String &&value)
APNSMessage & AddData(const Aws::String &key, Aws::String &&value)
APNSMessage & WithBadge(int value)
APNSMessage & AddData(const Aws::String &key, const Aws::String &value)
void SetCollapseId(const Aws::String &value)
void SetSound(const char *value)
APNSMessage & WithCollapseId(const char *value)
APNSMessage & AddData(Aws::String &&key, const char *value)
APNSMessage & WithPreferredAuthenticationMethod(const char *value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetSubstitutions() const
APNSMessage & WithCollapseId(Aws::String &&value)
bool SubstitutionsHasBeenSet() const
void SetBody(Aws::String &&value)
const Aws::String & GetThreadId() const
void SetMediaUrl(Aws::String &&value)
APNSMessage & WithUrl(const char *value)
APNSMessage & WithTitle(Aws::String &&value)
void SetCollapseId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetData() const
int GetTimeToLive() const
APNSMessage & WithTitle(const char *value)
void SetSubstitutions(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetAPNSPushType(const char *value)
AWS_PINPOINT_API APNSMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
APNSMessage & AddSubstitutions(Aws::String &&key, const Aws::Vector< Aws::String > &value)
APNSMessage & AddSubstitutions(const Aws::String &key, Aws::Vector< Aws::String > &&value)
void SetAPNSPushType(Aws::String &&value)
APNSMessage & WithAPNSPushType(Aws::String &&value)
bool TitleHasBeenSet() const
APNSMessage & AddSubstitutions(const Aws::String &key, const Aws::Vector< Aws::String > &value)
APNSMessage & WithSound(const Aws::String &value)
APNSMessage & WithTimeToLive(int value)
void SetSound(Aws::String &&value)
APNSMessage & AddData(const char *key, Aws::String &&value)
APNSMessage & WithCategory(Aws::String &&value)
bool CollapseIdHasBeenSet() const
APNSMessage & WithSubstitutions(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetUrl(Aws::String &&value)
const Aws::String & GetPriority() const
void SetCategory(Aws::String &&value)
const Aws::String & GetAPNSPushType() const
bool PriorityHasBeenSet() const
APNSMessage & WithCategory(const Aws::String &value)
APNSMessage & WithAction(const Action &value)
APNSMessage & WithRawContent(const Aws::String &value)
void SetTitle(Aws::String &&value)
void SetRawContent(const Aws::String &value)
void SetThreadId(const Aws::String &value)
void SetTimeToLive(int value)
void SetSound(const Aws::String &value)
APNSMessage & WithUrl(const Aws::String &value)
APNSMessage & WithData(Aws::Map< Aws::String, Aws::String > &&value)
APNSMessage & WithSubstitutions(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
const Action & GetAction() const
APNSMessage & WithSound(const char *value)
bool DataHasBeenSet() const
APNSMessage & WithPriority(Aws::String &&value)
APNSMessage & WithMediaUrl(const Aws::String &value)
APNSMessage & WithThreadId(Aws::String &&value)
AWS_PINPOINT_API APNSMessage()
void SetPriority(const char *value)
bool BadgeHasBeenSet() const
APNSMessage & WithBody(Aws::String &&value)
void SetTitle(const char *value)
const Aws::String & GetPreferredAuthenticationMethod() const
APNSMessage & WithCategory(const char *value)
bool TimeToLiveHasBeenSet() const
void SetThreadId(Aws::String &&value)
APNSMessage & WithRawContent(const char *value)
const Aws::String & GetBody() const
APNSMessage & AddSubstitutions(Aws::String &&key, Aws::Vector< Aws::String > &&value)
APNSMessage & AddSubstitutions(const char *key, const Aws::Vector< Aws::String > &value)
const Aws::String & GetCategory() const
void SetAction(Action &&value)
bool PreferredAuthenticationMethodHasBeenSet() const
void SetRawContent(const char *value)
APNSMessage & AddData(Aws::String &&key, Aws::String &&value)
bool ActionHasBeenSet() const
APNSMessage & WithMediaUrl(Aws::String &&value)
bool CategoryHasBeenSet() const
const Aws::String & GetTitle() const
void SetCategory(const Aws::String &value)
void SetThreadId(const char *value)
bool SilentPushHasBeenSet() const
void SetMediaUrl(const Aws::String &value)
bool MediaUrlHasBeenSet() const
APNSMessage & WithPriority(const char *value)
void SetCategory(const char *value)
APNSMessage & AddData(Aws::String &&key, const Aws::String &value)
const Aws::String & GetUrl() const
APNSMessage & WithCollapseId(const Aws::String &value)
bool APNSPushTypeHasBeenSet() const
const Aws::String & GetCollapseId() const
APNSMessage & WithPreferredAuthenticationMethod(const Aws::String &value)
bool BodyHasBeenSet() const
bool RawContentHasBeenSet() const
void SetPriority(const Aws::String &value)
void SetTitle(const Aws::String &value)
const Aws::String & GetMediaUrl() const
void SetSilentPush(bool value)
void SetAction(const Action &value)
APNSMessage & WithBody(const Aws::String &value)
void SetBody(const Aws::String &value)
bool SoundHasBeenSet() const
APNSMessage & WithMediaUrl(const char *value)
void SetSubstitutions(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
bool UrlHasBeenSet() const
APNSMessage & WithAPNSPushType(const char *value)
APNSMessage & WithTitle(const Aws::String &value)
void SetCollapseId(Aws::String &&value)
void SetMediaUrl(const char *value)
void SetUrl(const char *value)
APNSMessage & WithSilentPush(bool value)
const Aws::String & GetSound() const
void SetData(Aws::Map< Aws::String, Aws::String > &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
APNSMessage & WithThreadId(const char *value)
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue