7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/pinpoint/model/MessageHeader.h>
52 inline void SetBody(
const char* value) { m_bodyHasBeenSet =
true; m_body.assign(value); }
67 inline void SetFromAddress(
const char* value) { m_fromAddressHasBeenSet =
true; m_fromAddress.assign(value); }
98 inline void SetHtmlBody(
const char* value) { m_htmlBodyHasBeenSet =
true; m_htmlBody.assign(value); }
112 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
120 bool m_bodyHasBeenSet =
false;
123 bool m_fromAddressHasBeenSet =
false;
126 bool m_headersHasBeenSet =
false;
129 bool m_htmlBodyHasBeenSet =
false;
132 bool m_titleHasBeenSet =
false;
CampaignEmailMessage & WithTitle(Aws::String &&value)
void SetBody(const char *value)
bool BodyHasBeenSet() const
void SetFromAddress(const Aws::String &value)
bool TitleHasBeenSet() const
void SetTitle(const Aws::String &value)
bool HtmlBodyHasBeenSet() const
CampaignEmailMessage & WithFromAddress(Aws::String &&value)
bool HeadersHasBeenSet() const
void SetTitle(const char *value)
void SetHtmlBody(const Aws::String &value)
void SetFromAddress(Aws::String &&value)
CampaignEmailMessage & WithBody(const Aws::String &value)
CampaignEmailMessage & WithHeaders(const Aws::Vector< MessageHeader > &value)
void SetBody(Aws::String &&value)
AWS_PINPOINT_API CampaignEmailMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
CampaignEmailMessage & WithFromAddress(const Aws::String &value)
void SetTitle(Aws::String &&value)
CampaignEmailMessage & AddHeaders(MessageHeader &&value)
CampaignEmailMessage & WithHtmlBody(Aws::String &&value)
CampaignEmailMessage & WithHtmlBody(const Aws::String &value)
const Aws::String & GetBody() const
void SetHtmlBody(Aws::String &&value)
CampaignEmailMessage & WithHeaders(Aws::Vector< MessageHeader > &&value)
const Aws::Vector< MessageHeader > & GetHeaders() const
const Aws::String & GetTitle() const
const Aws::String & GetHtmlBody() const
const Aws::String & GetFromAddress() const
CampaignEmailMessage & WithFromAddress(const char *value)
void SetHeaders(const Aws::Vector< MessageHeader > &value)
CampaignEmailMessage & WithBody(Aws::String &&value)
CampaignEmailMessage & WithTitle(const char *value)
void SetFromAddress(const char *value)
AWS_PINPOINT_API CampaignEmailMessage()
void SetHtmlBody(const char *value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetHeaders(Aws::Vector< MessageHeader > &&value)
CampaignEmailMessage & AddHeaders(const MessageHeader &value)
CampaignEmailMessage & WithTitle(const Aws::String &value)
CampaignEmailMessage & WithBody(const char *value)
void SetBody(const Aws::String &value)
bool FromAddressHasBeenSet() const
CampaignEmailMessage & WithHtmlBody(const char *value)
AWS_PINPOINT_API CampaignEmailMessage(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue