7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/model/MessageType.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
52 inline void SetBody(
const char* value) { m_bodyHasBeenSet =
true; m_body.assign(value); }
67 inline void SetKeyword(
const char* value) { m_keywordHasBeenSet =
true; m_keyword.assign(value); }
81 inline void SetMediaUrl(
const char* value) { m_mediaUrlHasBeenSet =
true; m_mediaUrl.assign(value); }
113 inline void SetOriginationNumber(
const char* value) { m_originationNumberHasBeenSet =
true; m_originationNumber.assign(value); }
128 inline void SetSenderId(
const char* value) { m_senderIdHasBeenSet =
true; m_senderId.assign(value); }
162 inline void SetEntityId(
const char* value) { m_entityIdHasBeenSet =
true; m_entityId.assign(value); }
177 inline void SetTemplateId(
const char* value) { m_templateIdHasBeenSet =
true; m_templateId.assign(value); }
185 bool m_bodyHasBeenSet =
false;
188 bool m_keywordHasBeenSet =
false;
191 bool m_mediaUrlHasBeenSet =
false;
194 bool m_messageTypeHasBeenSet =
false;
197 bool m_originationNumberHasBeenSet =
false;
200 bool m_senderIdHasBeenSet =
false;
203 bool m_substitutionsHasBeenSet =
false;
206 bool m_entityIdHasBeenSet =
false;
209 bool m_templateIdHasBeenSet =
false;
void SetTemplateId(const char *value)
bool SenderIdHasBeenSet() const
void SetKeyword(Aws::String &&value)
AWS_PINPOINT_API SMSMessage()
SMSMessage & AddSubstitutions(const Aws::String &key, const Aws::Vector< Aws::String > &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
SMSMessage & WithBody(const char *value)
SMSMessage & WithSubstitutions(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
bool BodyHasBeenSet() const
SMSMessage & WithEntityId(const char *value)
SMSMessage & WithKeyword(const char *value)
SMSMessage & AddSubstitutions(Aws::String &&key, Aws::Vector< Aws::String > &&value)
void SetSubstitutions(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetMediaUrl(Aws::String &&value)
AWS_PINPOINT_API SMSMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
SMSMessage & WithTemplateId(Aws::String &&value)
void SetOriginationNumber(Aws::String &&value)
void SetMediaUrl(const Aws::String &value)
SMSMessage & WithMediaUrl(const char *value)
bool TemplateIdHasBeenSet() const
bool OriginationNumberHasBeenSet() const
SMSMessage & WithBody(const Aws::String &value)
SMSMessage & AddSubstitutions(const char *key, const Aws::Vector< Aws::String > &value)
const Aws::String & GetTemplateId() const
void SetOriginationNumber(const char *value)
AWS_PINPOINT_API SMSMessage(Aws::Utils::Json::JsonView jsonValue)
void SetEntityId(const Aws::String &value)
const Aws::String & GetSenderId() const
const MessageType & GetMessageType() const
void SetBody(Aws::String &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetSubstitutions() const
SMSMessage & WithMediaUrl(const Aws::String &value)
bool MessageTypeHasBeenSet() const
const Aws::String & GetOriginationNumber() const
SMSMessage & WithSenderId(const char *value)
SMSMessage & AddSubstitutions(Aws::String &&key, const Aws::Vector< Aws::String > &value)
void SetTemplateId(const Aws::String &value)
SMSMessage & WithMediaUrl(Aws::String &&value)
SMSMessage & WithSenderId(Aws::String &&value)
SMSMessage & WithKeyword(const Aws::String &value)
void SetSenderId(const Aws::String &value)
void SetEntityId(Aws::String &&value)
void SetMediaUrl(const char *value)
const Aws::String & GetBody() const
SMSMessage & WithOriginationNumber(const Aws::String &value)
void SetMessageType(const MessageType &value)
SMSMessage & WithOriginationNumber(const char *value)
void SetKeyword(const char *value)
const Aws::String & GetEntityId() const
SMSMessage & AddSubstitutions(const char *key, Aws::Vector< Aws::String > &&value)
SMSMessage & WithMessageType(const MessageType &value)
SMSMessage & WithTemplateId(const char *value)
SMSMessage & WithOriginationNumber(Aws::String &&value)
void SetEntityId(const char *value)
const Aws::String & GetMediaUrl() const
bool EntityIdHasBeenSet() const
SMSMessage & WithMessageType(MessageType &&value)
const Aws::String & GetKeyword() const
void SetSubstitutions(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
SMSMessage & WithBody(Aws::String &&value)
void SetBody(const Aws::String &value)
SMSMessage & WithEntityId(Aws::String &&value)
SMSMessage & WithTemplateId(const Aws::String &value)
void SetOriginationNumber(const Aws::String &value)
void SetBody(const char *value)
SMSMessage & AddSubstitutions(const Aws::String &key, Aws::Vector< Aws::String > &&value)
bool SubstitutionsHasBeenSet() const
bool KeywordHasBeenSet() const
bool MediaUrlHasBeenSet() const
SMSMessage & WithEntityId(const Aws::String &value)
void SetSenderId(const char *value)
SMSMessage & WithSubstitutions(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
SMSMessage & WithKeyword(Aws::String &&value)
SMSMessage & WithSenderId(const Aws::String &value)
void SetSenderId(Aws::String &&value)
void SetMessageType(MessageType &&value)
void SetKeyword(const Aws::String &value)
void SetTemplateId(Aws::String &&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