7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/Action.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
54 inline void SetAction(
Action value) { m_actionHasBeenSet =
true; m_action = value; }
65 template<
typename BodyT = Aws::String>
66 void SetBody(BodyT&& value) { m_bodyHasBeenSet =
true; m_body = std::forward<BodyT>(value); }
67 template<
typename BodyT = Aws::String>
78 template<
typename ImageIconUrlT = Aws::String>
79 void SetImageIconUrl(ImageIconUrlT&& value) { m_imageIconUrlHasBeenSet =
true; m_imageIconUrl = std::forward<ImageIconUrlT>(value); }
80 template<
typename ImageIconUrlT = Aws::String>
91 template<
typename ImageSmallIconUrlT = Aws::String>
92 void SetImageSmallIconUrl(ImageSmallIconUrlT&& value) { m_imageSmallIconUrlHasBeenSet =
true; m_imageSmallIconUrl = std::forward<ImageSmallIconUrlT>(value); }
93 template<
typename ImageSmallIconUrlT = Aws::String>
103 template<
typename ImageUrlT = Aws::String>
104 void SetImageUrl(ImageUrlT&& value) { m_imageUrlHasBeenSet =
true; m_imageUrl = std::forward<ImageUrlT>(value); }
105 template<
typename ImageUrlT = Aws::String>
115 template<
typename JsonBodyT = Aws::String>
116 void SetJsonBody(JsonBodyT&& value) { m_jsonBodyHasBeenSet =
true; m_jsonBody = std::forward<JsonBodyT>(value); }
117 template<
typename JsonBodyT = Aws::String>
127 template<
typename MediaUrlT = Aws::String>
128 void SetMediaUrl(MediaUrlT&& value) { m_mediaUrlHasBeenSet =
true; m_mediaUrl = std::forward<MediaUrlT>(value); }
129 template<
typename MediaUrlT = Aws::String>
141 template<
typename RawContentT = Aws::String>
142 void SetRawContent(RawContentT&& value) { m_rawContentHasBeenSet =
true; m_rawContent = std::forward<RawContentT>(value); }
143 template<
typename RawContentT = Aws::String>
157 inline void SetSilentPush(
bool value) { m_silentPushHasBeenSet =
true; m_silentPush = value; }
173 inline void SetTimeToLive(
int value) { m_timeToLiveHasBeenSet =
true; m_timeToLive = value; }
184 template<
typename TitleT = Aws::String>
185 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
186 template<
typename TitleT = Aws::String>
197 template<
typename UrlT = Aws::String>
198 void SetUrl(UrlT&& value) { m_urlHasBeenSet =
true; m_url = std::forward<UrlT>(value); }
199 template<
typename UrlT = Aws::String>
205 bool m_actionHasBeenSet =
false;
208 bool m_bodyHasBeenSet =
false;
211 bool m_imageIconUrlHasBeenSet =
false;
214 bool m_imageSmallIconUrlHasBeenSet =
false;
217 bool m_imageUrlHasBeenSet =
false;
220 bool m_jsonBodyHasBeenSet =
false;
223 bool m_mediaUrlHasBeenSet =
false;
226 bool m_rawContentHasBeenSet =
false;
228 bool m_silentPush{
false};
229 bool m_silentPushHasBeenSet =
false;
232 bool m_timeToLiveHasBeenSet =
false;
235 bool m_titleHasBeenSet =
false;
238 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