7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/Pinpoint_EXPORTS.h>
9#include <aws/pinpoint/model/Action.h>
49 m_actionHasBeenSet =
true;
65 template <
typename BodyT = Aws::String>
67 m_bodyHasBeenSet =
true;
68 m_body = std::forward<BodyT>(value);
70 template <
typename BodyT = Aws::String>
72 SetBody(std::forward<BodyT>(value));
84 template <
typename ImageIconUrlT = Aws::String>
86 m_imageIconUrlHasBeenSet =
true;
87 m_imageIconUrl = std::forward<ImageIconUrlT>(value);
89 template <
typename ImageIconUrlT = Aws::String>
103 template <
typename ImageSmallIconUrlT = Aws::String>
105 m_imageSmallIconUrlHasBeenSet =
true;
106 m_imageSmallIconUrl = std::forward<ImageSmallIconUrlT>(value);
108 template <
typename ImageSmallIconUrlT = Aws::String>
121 template <
typename ImageUrlT = Aws::String>
123 m_imageUrlHasBeenSet =
true;
124 m_imageUrl = std::forward<ImageUrlT>(value);
126 template <
typename ImageUrlT = Aws::String>
139 template <
typename JsonBodyT = Aws::String>
141 m_jsonBodyHasBeenSet =
true;
142 m_jsonBody = std::forward<JsonBodyT>(value);
144 template <
typename JsonBodyT = Aws::String>
157 template <
typename MediaUrlT = Aws::String>
159 m_mediaUrlHasBeenSet =
true;
160 m_mediaUrl = std::forward<MediaUrlT>(value);
162 template <
typename MediaUrlT = Aws::String>
177 template <
typename RawContentT = Aws::String>
179 m_rawContentHasBeenSet =
true;
180 m_rawContent = std::forward<RawContentT>(value);
182 template <
typename RawContentT = Aws::String>
200 m_silentPushHasBeenSet =
true;
201 m_silentPush = value;
222 m_timeToLiveHasBeenSet =
true;
223 m_timeToLive = value;
238 template <
typename TitleT = Aws::String>
240 m_titleHasBeenSet =
true;
241 m_title = std::forward<TitleT>(value);
243 template <
typename TitleT = Aws::String>
245 SetTitle(std::forward<TitleT>(value));
257 template <
typename UrlT = Aws::String>
259 m_urlHasBeenSet =
true;
260 m_url = std::forward<UrlT>(value);
262 template <
typename UrlT = Aws::String>
264 SetUrl(std::forward<UrlT>(value));
285 bool m_silentPush{
false};
292 bool m_actionHasBeenSet =
false;
293 bool m_bodyHasBeenSet =
false;
294 bool m_imageIconUrlHasBeenSet =
false;
295 bool m_imageSmallIconUrlHasBeenSet =
false;
296 bool m_imageUrlHasBeenSet =
false;
297 bool m_jsonBodyHasBeenSet =
false;
298 bool m_mediaUrlHasBeenSet =
false;
299 bool m_rawContentHasBeenSet =
false;
300 bool m_silentPushHasBeenSet =
false;
301 bool m_timeToLiveHasBeenSet =
false;
302 bool m_titleHasBeenSet =
false;
303 bool m_urlHasBeenSet =
false;
bool GetSilentPush() const
bool ImageSmallIconUrlHasBeenSet() const
bool ImageIconUrlHasBeenSet() const
Message & WithTimeToLive(int value)
Message & WithImageSmallIconUrl(ImageSmallIconUrlT &&value)
void SetImageIconUrl(ImageIconUrlT &&value)
void SetJsonBody(JsonBodyT &&value)
Message & WithMediaUrl(MediaUrlT &&value)
void SetImageUrl(ImageUrlT &&value)
void SetTimeToLive(int value)
void SetRawContent(RawContentT &&value)
void SetSilentPush(bool value)
const Aws::String & GetRawContent() const
Message & WithRawContent(RawContentT &&value)
Message & WithJsonBody(JsonBodyT &&value)
void SetUrl(UrlT &&value)
Message & WithSilentPush(bool value)
bool RawContentHasBeenSet() const
void SetBody(BodyT &&value)
AWS_PINPOINT_API Message & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetImageSmallIconUrl() const
int GetTimeToLive() const
void SetImageSmallIconUrl(ImageSmallIconUrlT &&value)
bool ActionHasBeenSet() const
bool JsonBodyHasBeenSet() const
const Aws::String & GetImageUrl() const
const Aws::String & GetJsonBody() const
void SetMediaUrl(MediaUrlT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
Message & WithUrl(UrlT &&value)
void SetAction(Action value)
const Aws::String & GetUrl() const
AWS_PINPOINT_API Message(Aws::Utils::Json::JsonView jsonValue)
bool TitleHasBeenSet() const
const Aws::String & GetMediaUrl() const
Message & WithTitle(TitleT &&value)
Message & WithImageUrl(ImageUrlT &&value)
bool TimeToLiveHasBeenSet() const
void SetTitle(TitleT &&value)
Message & WithAction(Action value)
bool UrlHasBeenSet() const
bool SilentPushHasBeenSet() const
const Aws::String & GetImageIconUrl() const
Message & WithBody(BodyT &&value)
bool ImageUrlHasBeenSet() const
AWS_PINPOINT_API Message()=default
Message & WithImageIconUrl(ImageIconUrlT &&value)
bool MediaUrlHasBeenSet() const
const Aws::String & GetTitle() const
const Aws::String & GetBody() const
bool BodyHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue