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>
52 m_actionHasBeenSet =
true;
67 template <
typename BodyT = Aws::String>
69 m_bodyHasBeenSet =
true;
70 m_body = std::forward<BodyT>(value);
72 template <
typename BodyT = Aws::String>
74 SetBody(std::forward<BodyT>(value));
87 template <
typename DataT = Aws::Map<Aws::String, Aws::String>>
89 m_dataHasBeenSet =
true;
90 m_data = std::forward<DataT>(value);
92 template <
typename DataT = Aws::Map<Aws::String, Aws::String>>
94 SetData(std::forward<DataT>(value));
97 template <
typename DataKeyT = Aws::String,
typename DataValueT = Aws::String>
99 m_dataHasBeenSet =
true;
100 m_data.emplace(std::forward<DataKeyT>(key), std::forward<DataValueT>(value));
115 m_silentPushHasBeenSet =
true;
116 m_silentPush = value;
131 template <
typename SubstitutionsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
133 m_substitutionsHasBeenSet =
true;
134 m_substitutions = std::forward<SubstitutionsT>(value);
136 template <
typename SubstitutionsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
141 template <
typename SubstitutionsKeyT = Aws::String,
typename SubstitutionsValueT = Aws::Vector<Aws::String>>
143 m_substitutionsHasBeenSet =
true;
144 m_substitutions.emplace(std::forward<SubstitutionsKeyT>(key), std::forward<SubstitutionsValueT>(value));
156 template <
typename TitleT = Aws::String>
158 m_titleHasBeenSet =
true;
159 m_title = std::forward<TitleT>(value);
161 template <
typename TitleT = Aws::String>
163 SetTitle(std::forward<TitleT>(value));
176 template <
typename UrlT = Aws::String>
178 m_urlHasBeenSet =
true;
179 m_url = std::forward<UrlT>(value);
181 template <
typename UrlT = Aws::String>
183 SetUrl(std::forward<UrlT>(value));
194 bool m_silentPush{
false};
201 bool m_actionHasBeenSet =
false;
202 bool m_bodyHasBeenSet =
false;
203 bool m_dataHasBeenSet =
false;
204 bool m_silentPushHasBeenSet =
false;
205 bool m_substitutionsHasBeenSet =
false;
206 bool m_titleHasBeenSet =
false;
207 bool m_urlHasBeenSet =
false;
bool UrlHasBeenSet() const
void SetAction(Action value)
DefaultPushNotificationMessage & WithData(DataT &&value)
AWS_PINPOINT_API DefaultPushNotificationMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
DefaultPushNotificationMessage & AddSubstitutions(SubstitutionsKeyT &&key, SubstitutionsValueT &&value)
bool ActionHasBeenSet() const
DefaultPushNotificationMessage & WithSubstitutions(SubstitutionsT &&value)
DefaultPushNotificationMessage & WithUrl(UrlT &&value)
const Aws::Map< Aws::String, Aws::String > & GetData() const
const Aws::String & GetUrl() const
AWS_PINPOINT_API DefaultPushNotificationMessage(Aws::Utils::Json::JsonView jsonValue)
void SetBody(BodyT &&value)
DefaultPushNotificationMessage & WithSilentPush(bool value)
bool SilentPushHasBeenSet() const
void SetData(DataT &&value)
bool SubstitutionsHasBeenSet() const
void SetUrl(UrlT &&value)
void SetTitle(TitleT &&value)
DefaultPushNotificationMessage & AddData(DataKeyT &&key, DataValueT &&value)
void SetSubstitutions(SubstitutionsT &&value)
bool GetSilentPush() const
bool TitleHasBeenSet() const
const Aws::String & GetTitle() const
AWS_PINPOINT_API DefaultPushNotificationMessage()=default
bool BodyHasBeenSet() const
DefaultPushNotificationMessage & WithTitle(TitleT &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetSubstitutions() const
void SetSilentPush(bool value)
const Aws::String & GetBody() const
DefaultPushNotificationMessage & WithBody(BodyT &&value)
DefaultPushNotificationMessage & WithAction(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
Aws::Utils::Json::JsonValue JsonValue