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); }
107 inline void SetSilentPush(
bool value) { m_silentPushHasBeenSet =
true; m_silentPush = value; }
139 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
155 inline void SetUrl(
const char* value) { m_urlHasBeenSet =
true; m_url.assign(value); }
163 bool m_actionHasBeenSet =
false;
166 bool m_bodyHasBeenSet =
false;
169 bool m_dataHasBeenSet =
false;
172 bool m_silentPushHasBeenSet =
false;
175 bool m_substitutionsHasBeenSet =
false;
178 bool m_titleHasBeenSet =
false;
181 bool m_urlHasBeenSet =
false;
DefaultPushNotificationMessage & WithSubstitutions(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
bool UrlHasBeenSet() const
DefaultPushNotificationMessage & WithTitle(Aws::String &&value)
DefaultPushNotificationMessage & WithAction(Action &&value)
DefaultPushNotificationMessage & WithTitle(const Aws::String &value)
AWS_PINPOINT_API DefaultPushNotificationMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
DefaultPushNotificationMessage & WithSubstitutions(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
DefaultPushNotificationMessage & AddData(Aws::String &&key, Aws::String &&value)
void SetAction(const Action &value)
DefaultPushNotificationMessage & WithUrl(const char *value)
void SetUrl(const Aws::String &value)
void SetBody(Aws::String &&value)
DefaultPushNotificationMessage & AddData(const char *key, Aws::String &&value)
DefaultPushNotificationMessage & WithBody(const char *value)
DefaultPushNotificationMessage & WithBody(const Aws::String &value)
DefaultPushNotificationMessage & WithTitle(const char *value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
DefaultPushNotificationMessage & WithData(const Aws::Map< Aws::String, Aws::String > &value)
void SetTitle(const char *value)
void SetData(const Aws::Map< Aws::String, Aws::String > &value)
void SetTitle(Aws::String &&value)
void SetSubstitutions(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetBody(const char *value)
DefaultPushNotificationMessage & WithBody(Aws::String &&value)
DefaultPushNotificationMessage & AddData(Aws::String &&key, const char *value)
bool ActionHasBeenSet() const
void SetTitle(const Aws::String &value)
DefaultPushNotificationMessage & AddSubstitutions(const Aws::String &key, const Aws::Vector< Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetData() const
const Aws::String & GetUrl() const
DefaultPushNotificationMessage & AddSubstitutions(const char *key, Aws::Vector< Aws::String > &&value)
AWS_PINPOINT_API DefaultPushNotificationMessage(Aws::Utils::Json::JsonView jsonValue)
void SetUrl(Aws::String &&value)
DefaultPushNotificationMessage & WithUrl(Aws::String &&value)
DefaultPushNotificationMessage & WithSilentPush(bool value)
DefaultPushNotificationMessage & AddData(const Aws::String &key, const Aws::String &value)
bool SilentPushHasBeenSet() const
DefaultPushNotificationMessage & AddSubstitutions(Aws::String &&key, const Aws::Vector< Aws::String > &value)
DefaultPushNotificationMessage & WithUrl(const Aws::String &value)
AWS_PINPOINT_API DefaultPushNotificationMessage()
bool SubstitutionsHasBeenSet() const
DefaultPushNotificationMessage & AddSubstitutions(const char *key, const Aws::Vector< Aws::String > &value)
void SetData(Aws::Map< Aws::String, Aws::String > &&value)
DefaultPushNotificationMessage & AddData(Aws::String &&key, const Aws::String &value)
DefaultPushNotificationMessage & AddSubstitutions(const Aws::String &key, Aws::Vector< Aws::String > &&value)
DefaultPushNotificationMessage & WithData(Aws::Map< Aws::String, Aws::String > &&value)
DefaultPushNotificationMessage & WithAction(const Action &value)
DefaultPushNotificationMessage & AddData(const char *key, const char *value)
bool GetSilentPush() const
bool TitleHasBeenSet() const
void SetSubstitutions(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
DefaultPushNotificationMessage & AddData(const Aws::String &key, Aws::String &&value)
const Aws::String & GetTitle() const
bool BodyHasBeenSet() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetSubstitutions() const
void SetBody(const Aws::String &value)
void SetUrl(const char *value)
DefaultPushNotificationMessage & AddSubstitutions(Aws::String &&key, Aws::Vector< Aws::String > &&value)
const Action & GetAction() const
void SetSilentPush(bool value)
const Aws::String & GetBody() const
void SetAction(Action &&value)
bool DataHasBeenSet() 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