7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/model/MessageType.h>
50 inline void SetBody(
const char* value) { m_bodyHasBeenSet =
true; m_body.assign(value); }
83 inline void SetOriginationNumber(
const char* value) { m_originationNumberHasBeenSet =
true; m_originationNumber.assign(value); }
98 inline void SetSenderId(
const char* value) { m_senderIdHasBeenSet =
true; m_senderId.assign(value); }
113 inline void SetEntityId(
const char* value) { m_entityIdHasBeenSet =
true; m_entityId.assign(value); }
128 inline void SetTemplateId(
const char* value) { m_templateIdHasBeenSet =
true; m_templateId.assign(value); }
136 bool m_bodyHasBeenSet =
false;
139 bool m_messageTypeHasBeenSet =
false;
142 bool m_originationNumberHasBeenSet =
false;
145 bool m_senderIdHasBeenSet =
false;
148 bool m_entityIdHasBeenSet =
false;
151 bool m_templateIdHasBeenSet =
false;
CampaignSmsMessage & WithTemplateId(Aws::String &&value)
CampaignSmsMessage & WithEntityId(Aws::String &&value)
void SetMessageType(const MessageType &value)
bool SenderIdHasBeenSet() const
void SetBody(const Aws::String &value)
CampaignSmsMessage & WithEntityId(const Aws::String &value)
CampaignSmsMessage & WithOriginationNumber(Aws::String &&value)
void SetSenderId(const char *value)
bool EntityIdHasBeenSet() const
CampaignSmsMessage & WithOriginationNumber(const char *value)
CampaignSmsMessage & WithMessageType(MessageType &&value)
const Aws::String & GetSenderId() const
void SetSenderId(Aws::String &&value)
const Aws::String & GetEntityId() const
void SetSenderId(const Aws::String &value)
const Aws::String & GetOriginationNumber() const
CampaignSmsMessage & WithTemplateId(const Aws::String &value)
CampaignSmsMessage & WithEntityId(const char *value)
void SetBody(Aws::String &&value)
void SetTemplateId(Aws::String &&value)
bool TemplateIdHasBeenSet() const
void SetOriginationNumber(const Aws::String &value)
void SetEntityId(Aws::String &&value)
bool MessageTypeHasBeenSet() const
CampaignSmsMessage & WithSenderId(const char *value)
CampaignSmsMessage & WithMessageType(const MessageType &value)
AWS_PINPOINT_API CampaignSmsMessage()
void SetEntityId(const char *value)
CampaignSmsMessage & WithBody(const Aws::String &value)
CampaignSmsMessage & WithBody(const char *value)
const Aws::String & GetTemplateId() const
bool OriginationNumberHasBeenSet() const
const MessageType & GetMessageType() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEntityId(const Aws::String &value)
CampaignSmsMessage & WithOriginationNumber(const Aws::String &value)
void SetTemplateId(const char *value)
const Aws::String & GetBody() const
void SetBody(const char *value)
CampaignSmsMessage & WithSenderId(Aws::String &&value)
void SetOriginationNumber(const char *value)
AWS_PINPOINT_API CampaignSmsMessage(Aws::Utils::Json::JsonView jsonValue)
void SetMessageType(MessageType &&value)
void SetTemplateId(const Aws::String &value)
CampaignSmsMessage & WithTemplateId(const char *value)
CampaignSmsMessage & WithSenderId(const Aws::String &value)
CampaignSmsMessage & WithBody(Aws::String &&value)
void SetOriginationNumber(Aws::String &&value)
bool BodyHasBeenSet() const
AWS_PINPOINT_API CampaignSmsMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue