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); }
95 inline BaiduMessage&
AddData(
const char* key,
const char* value) { m_dataHasBeenSet =
true; m_data.emplace(key, value);
return *
this; }
106 inline void SetIconReference(
const char* value) { m_iconReferenceHasBeenSet =
true; m_iconReference.assign(value); }
121 inline void SetImageIconUrl(
const char* value) { m_imageIconUrlHasBeenSet =
true; m_imageIconUrl.assign(value); }
135 inline void SetImageUrl(
const char* value) { m_imageUrlHasBeenSet =
true; m_imageUrl.assign(value); }
151 inline void SetRawContent(
const char* value) { m_rawContentHasBeenSet =
true; m_rawContent.assign(value); }
166 inline void SetSilentPush(
bool value) { m_silentPushHasBeenSet =
true; m_silentPush = value; }
179 inline void SetSmallImageIconUrl(
const char* value) { m_smallImageIconUrlHasBeenSet =
true; m_smallImageIconUrl.assign(value); }
196 inline void SetSound(
const char* value) { m_soundHasBeenSet =
true; m_sound.assign(value); }
229 inline void SetTimeToLive(
int value) { m_timeToLiveHasBeenSet =
true; m_timeToLive = value; }
242 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
257 inline void SetUrl(
const char* value) { m_urlHasBeenSet =
true; m_url.assign(value); }
265 bool m_actionHasBeenSet =
false;
268 bool m_bodyHasBeenSet =
false;
271 bool m_dataHasBeenSet =
false;
274 bool m_iconReferenceHasBeenSet =
false;
277 bool m_imageIconUrlHasBeenSet =
false;
280 bool m_imageUrlHasBeenSet =
false;
283 bool m_rawContentHasBeenSet =
false;
286 bool m_silentPushHasBeenSet =
false;
289 bool m_smallImageIconUrlHasBeenSet =
false;
292 bool m_soundHasBeenSet =
false;
295 bool m_substitutionsHasBeenSet =
false;
298 bool m_timeToLiveHasBeenSet =
false;
301 bool m_titleHasBeenSet =
false;
304 bool m_urlHasBeenSet =
false;
BaiduMessage & WithUrl(const Aws::String &value)
bool SmallImageIconUrlHasBeenSet() const
void SetTitle(const Aws::String &value)
BaiduMessage & WithTitle(Aws::String &&value)
BaiduMessage & WithTitle(const Aws::String &value)
BaiduMessage & WithRawContent(Aws::String &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetSubstitutions() const
int GetTimeToLive() const
void SetSound(const Aws::String &value)
BaiduMessage & WithSound(const Aws::String &value)
BaiduMessage & AddSubstitutions(const Aws::String &key, const Aws::Vector< Aws::String > &value)
BaiduMessage & WithBody(Aws::String &&value)
void SetImageIconUrl(const char *value)
BaiduMessage & WithIconReference(const Aws::String &value)
void SetRawContent(Aws::String &&value)
void SetSubstitutions(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
BaiduMessage & WithTimeToLive(int value)
bool ImageUrlHasBeenSet() const
void SetTitle(const char *value)
bool SubstitutionsHasBeenSet() const
BaiduMessage & WithUrl(Aws::String &&value)
void SetSmallImageIconUrl(const Aws::String &value)
BaiduMessage & WithSound(Aws::String &&value)
void SetTitle(Aws::String &&value)
BaiduMessage & AddData(Aws::String &&key, const Aws::String &value)
BaiduMessage & AddData(const Aws::String &key, Aws::String &&value)
void SetSmallImageIconUrl(Aws::String &&value)
BaiduMessage & WithSubstitutions(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
BaiduMessage & WithSubstitutions(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetIconReference(const char *value)
BaiduMessage & WithSmallImageIconUrl(Aws::String &&value)
const Aws::String & GetSmallImageIconUrl() const
void SetSubstitutions(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetBody(const Aws::String &value)
bool RawContentHasBeenSet() const
BaiduMessage & WithImageIconUrl(const Aws::String &value)
BaiduMessage & WithSmallImageIconUrl(const char *value)
BaiduMessage & AddSubstitutions(const Aws::String &key, Aws::Vector< Aws::String > &&value)
BaiduMessage & WithRawContent(const char *value)
BaiduMessage & AddSubstitutions(Aws::String &&key, const Aws::Vector< Aws::String > &value)
const Aws::String & GetSound() const
void SetSilentPush(bool value)
BaiduMessage & WithImageUrl(const char *value)
const Aws::String & GetIconReference() const
void SetImageIconUrl(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetData() const
BaiduMessage & WithSmallImageIconUrl(const Aws::String &value)
void SetImageIconUrl(Aws::String &&value)
bool GetSilentPush() const
BaiduMessage & WithRawContent(const Aws::String &value)
void SetSound(const char *value)
BaiduMessage & WithSound(const char *value)
void SetImageUrl(const char *value)
bool TitleHasBeenSet() const
void SetIconReference(Aws::String &&value)
bool SoundHasBeenSet() const
bool BodyHasBeenSet() const
const Aws::String & GetUrl() const
void SetBody(Aws::String &&value)
BaiduMessage & AddSubstitutions(const char *key, Aws::Vector< Aws::String > &&value)
const Aws::String & GetImageUrl() const
const Aws::String & GetRawContent() const
bool DataHasBeenSet() const
BaiduMessage & WithImageIconUrl(const char *value)
void SetTimeToLive(int value)
bool SilentPushHasBeenSet() const
bool UrlHasBeenSet() const
BaiduMessage & WithIconReference(const char *value)
BaiduMessage & AddData(const Aws::String &key, const Aws::String &value)
AWS_PINPOINT_API BaiduMessage()
void SetBody(const char *value)
BaiduMessage & WithBody(const Aws::String &value)
void SetSmallImageIconUrl(const char *value)
bool ActionHasBeenSet() const
BaiduMessage & AddData(Aws::String &&key, Aws::String &&value)
void SetImageUrl(Aws::String &&value)
const Aws::String & GetImageIconUrl() const
const Aws::String & GetBody() const
BaiduMessage & WithAction(Action &&value)
BaiduMessage & AddData(const char *key, Aws::String &&value)
void SetUrl(const char *value)
AWS_PINPOINT_API BaiduMessage(Aws::Utils::Json::JsonView jsonValue)
void SetData(const Aws::Map< Aws::String, Aws::String > &value)
BaiduMessage & WithImageUrl(Aws::String &&value)
BaiduMessage & AddSubstitutions(Aws::String &&key, Aws::Vector< Aws::String > &&value)
BaiduMessage & AddSubstitutions(const char *key, const Aws::Vector< Aws::String > &value)
BaiduMessage & WithTitle(const char *value)
AWS_PINPOINT_API BaiduMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
BaiduMessage & WithUrl(const char *value)
BaiduMessage & WithAction(const Action &value)
bool ImageIconUrlHasBeenSet() const
bool TimeToLiveHasBeenSet() const
BaiduMessage & WithData(Aws::Map< Aws::String, Aws::String > &&value)
BaiduMessage & WithIconReference(Aws::String &&value)
void SetSound(Aws::String &&value)
void SetRawContent(const char *value)
void SetUrl(Aws::String &&value)
BaiduMessage & AddData(Aws::String &&key, const char *value)
void SetAction(const Action &value)
BaiduMessage & AddData(const char *key, const char *value)
bool IconReferenceHasBeenSet() const
void SetImageUrl(const Aws::String &value)
void SetRawContent(const Aws::String &value)
void SetUrl(const Aws::String &value)
BaiduMessage & WithImageUrl(const Aws::String &value)
const Action & GetAction() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
BaiduMessage & WithImageIconUrl(Aws::String &&value)
void SetAction(Action &&value)
void SetIconReference(const Aws::String &value)
const Aws::String & GetTitle() const
void SetData(Aws::Map< Aws::String, Aws::String > &&value)
BaiduMessage & WithData(const Aws::Map< Aws::String, Aws::String > &value)
BaiduMessage & WithBody(const char *value)
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue