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));
111 template <
typename IconReferenceT = Aws::String>
113 m_iconReferenceHasBeenSet =
true;
114 m_iconReference = std::forward<IconReferenceT>(value);
116 template <
typename IconReferenceT = Aws::String>
130 template <
typename ImageIconUrlT = Aws::String>
132 m_imageIconUrlHasBeenSet =
true;
133 m_imageIconUrl = std::forward<ImageIconUrlT>(value);
135 template <
typename ImageIconUrlT = Aws::String>
148 template <
typename ImageUrlT = Aws::String>
150 m_imageUrlHasBeenSet =
true;
151 m_imageUrl = std::forward<ImageUrlT>(value);
153 template <
typename ImageUrlT = Aws::String>
168 template <
typename RawContentT = Aws::String>
170 m_rawContentHasBeenSet =
true;
171 m_rawContent = std::forward<RawContentT>(value);
173 template <
typename RawContentT = Aws::String>
190 m_silentPushHasBeenSet =
true;
191 m_silentPush = value;
206 template <
typename SmallImageIconUrlT = Aws::String>
208 m_smallImageIconUrlHasBeenSet =
true;
209 m_smallImageIconUrl = std::forward<SmallImageIconUrlT>(value);
211 template <
typename SmallImageIconUrlT = Aws::String>
227 template <
typename SoundT = Aws::String>
229 m_soundHasBeenSet =
true;
230 m_sound = std::forward<SoundT>(value);
232 template <
typename SoundT = Aws::String>
234 SetSound(std::forward<SoundT>(value));
246 template <
typename SubstitutionsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
248 m_substitutionsHasBeenSet =
true;
249 m_substitutions = std::forward<SubstitutionsT>(value);
251 template <
typename SubstitutionsT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
256 template <
typename SubstitutionsKeyT = Aws::String,
typename SubstitutionsValueT = Aws::Vector<Aws::String>>
258 m_substitutionsHasBeenSet =
true;
259 m_substitutions.emplace(std::forward<SubstitutionsKeyT>(key), std::forward<SubstitutionsValueT>(value));
273 m_timeToLiveHasBeenSet =
true;
274 m_timeToLive = value;
289 template <
typename TitleT = Aws::String>
291 m_titleHasBeenSet =
true;
292 m_title = std::forward<TitleT>(value);
294 template <
typename TitleT = Aws::String>
296 SetTitle(std::forward<TitleT>(value));
308 template <
typename UrlT = Aws::String>
310 m_urlHasBeenSet =
true;
311 m_url = std::forward<UrlT>(value);
313 template <
typename UrlT = Aws::String>
315 SetUrl(std::forward<UrlT>(value));
321 bool m_actionHasBeenSet =
false;
324 bool m_bodyHasBeenSet =
false;
327 bool m_dataHasBeenSet =
false;
330 bool m_iconReferenceHasBeenSet =
false;
333 bool m_imageIconUrlHasBeenSet =
false;
336 bool m_imageUrlHasBeenSet =
false;
339 bool m_rawContentHasBeenSet =
false;
341 bool m_silentPush{
false};
342 bool m_silentPushHasBeenSet =
false;
345 bool m_smallImageIconUrlHasBeenSet =
false;
348 bool m_soundHasBeenSet =
false;
351 bool m_substitutionsHasBeenSet =
false;
354 bool m_timeToLiveHasBeenSet =
false;
357 bool m_titleHasBeenSet =
false;
360 bool m_urlHasBeenSet =
false;
bool SmallImageIconUrlHasBeenSet() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetSubstitutions() const
BaiduMessage & WithSound(SoundT &&value)
int GetTimeToLive() const
void SetImageIconUrl(ImageIconUrlT &&value)
BaiduMessage & AddData(DataKeyT &&key, DataValueT &&value)
BaiduMessage & WithTimeToLive(int value)
BaiduMessage & WithRawContent(RawContentT &&value)
void SetRawContent(RawContentT &&value)
bool ImageUrlHasBeenSet() const
bool SubstitutionsHasBeenSet() const
void SetSound(SoundT &&value)
AWS_PINPOINT_API BaiduMessage()=default
BaiduMessage & WithBody(BodyT &&value)
const Aws::String & GetSmallImageIconUrl() const
bool RawContentHasBeenSet() const
const Aws::String & GetSound() const
void SetSilentPush(bool value)
const Aws::String & GetIconReference() const
void SetIconReference(IconReferenceT &&value)
const Aws::Map< Aws::String, Aws::String > & GetData() const
BaiduMessage & WithUrl(UrlT &&value)
void SetBody(BodyT &&value)
bool GetSilentPush() const
BaiduMessage & WithTitle(TitleT &&value)
bool TitleHasBeenSet() const
bool SoundHasBeenSet() const
bool BodyHasBeenSet() const
const Aws::String & GetUrl() const
const Aws::String & GetImageUrl() const
const Aws::String & GetRawContent() const
bool DataHasBeenSet() const
void SetTimeToLive(int value)
BaiduMessage & WithSmallImageIconUrl(SmallImageIconUrlT &&value)
bool SilentPushHasBeenSet() const
bool UrlHasBeenSet() const
void SetUrl(UrlT &&value)
BaiduMessage & WithData(DataT &&value)
void SetData(DataT &&value)
bool ActionHasBeenSet() const
const Aws::String & GetImageIconUrl() const
const Aws::String & GetBody() const
AWS_PINPOINT_API BaiduMessage(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API BaiduMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
BaiduMessage & WithAction(Action value)
bool ImageIconUrlHasBeenSet() const
bool TimeToLiveHasBeenSet() const
BaiduMessage & AddSubstitutions(SubstitutionsKeyT &&key, SubstitutionsValueT &&value)
void SetTitle(TitleT &&value)
void SetSubstitutions(SubstitutionsT &&value)
BaiduMessage & WithIconReference(IconReferenceT &&value)
void SetImageUrl(ImageUrlT &&value)
bool IconReferenceHasBeenSet() const
BaiduMessage & WithSubstitutions(SubstitutionsT &&value)
BaiduMessage & WithImageIconUrl(ImageIconUrlT &&value)
BaiduMessage & WithImageUrl(ImageUrlT &&value)
void SetSmallImageIconUrl(SmallImageIconUrlT &&value)
void SetAction(Action value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTitle() const
BaiduMessage & WithSilentPush(bool value)
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