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/core/utils/memory/stl/AWSMap.h>
11#include <aws/pinpoint/model/MessageHeader.h>
57 inline void SetDefaultSubstitutions(
const char* value) { m_defaultSubstitutionsHasBeenSet =
true; m_defaultSubstitutions.assign(value); }
74 inline void SetHtmlPart(
const char* value) { m_htmlPartHasBeenSet =
true; m_htmlPart.assign(value); }
92 inline void SetRecommenderId(
const char* value) { m_recommenderIdHasBeenSet =
true; m_recommenderId.assign(value); }
107 inline void SetSubject(
const char* value) { m_subjectHasBeenSet =
true; m_subject.assign(value); }
166 inline void SetTemplateDescription(
const char* value) { m_templateDescriptionHasBeenSet =
true; m_templateDescription.assign(value); }
183 inline void SetTextPart(
const char* value) { m_textPartHasBeenSet =
true; m_textPart.assign(value); }
191 bool m_defaultSubstitutionsHasBeenSet =
false;
194 bool m_htmlPartHasBeenSet =
false;
197 bool m_recommenderIdHasBeenSet =
false;
200 bool m_subjectHasBeenSet =
false;
203 bool m_headersHasBeenSet =
false;
206 bool m_tagsHasBeenSet =
false;
209 bool m_templateDescriptionHasBeenSet =
false;
212 bool m_textPartHasBeenSet =
false;
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
EmailTemplateRequest & WithSubject(Aws::String &&value)
void SetTemplateDescription(const Aws::String &value)
bool TagsHasBeenSet() const
EmailTemplateRequest & AddHeaders(const MessageHeader &value)
void SetTextPart(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
EmailTemplateRequest & WithDefaultSubstitutions(Aws::String &&value)
bool HeadersHasBeenSet() const
EmailTemplateRequest & AddTags(const char *key, const char *value)
void SetRecommenderId(const char *value)
EmailTemplateRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTextPart(const char *value)
void SetSubject(const char *value)
void SetHtmlPart(const Aws::String &value)
AWS_PINPOINT_API EmailTemplateRequest(Aws::Utils::Json::JsonView jsonValue)
EmailTemplateRequest & AddTags(const Aws::String &key, const Aws::String &value)
EmailTemplateRequest & WithTemplateDescription(const char *value)
const Aws::String & GetTemplateDescription() const
void SetTemplateDescription(Aws::String &&value)
EmailTemplateRequest & WithRecommenderId(const Aws::String &value)
EmailTemplateRequest & WithHeaders(Aws::Vector< MessageHeader > &&value)
AWS_PINPOINT_API EmailTemplateRequest()
bool HtmlPartHasBeenSet() const
EmailTemplateRequest & WithTemplateDescription(Aws::String &&value)
EmailTemplateRequest & WithTextPart(Aws::String &&value)
EmailTemplateRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
EmailTemplateRequest & WithTextPart(const Aws::String &value)
EmailTemplateRequest & AddHeaders(MessageHeader &&value)
EmailTemplateRequest & WithHeaders(const Aws::Vector< MessageHeader > &value)
void SetRecommenderId(Aws::String &&value)
void SetDefaultSubstitutions(const char *value)
EmailTemplateRequest & WithDefaultSubstitutions(const char *value)
void SetSubject(Aws::String &&value)
const Aws::String & GetTextPart() const
const Aws::Vector< MessageHeader > & GetHeaders() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API EmailTemplateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTemplateDescription(const char *value)
void SetDefaultSubstitutions(Aws::String &&value)
EmailTemplateRequest & WithTemplateDescription(const Aws::String &value)
EmailTemplateRequest & WithSubject(const Aws::String &value)
void SetRecommenderId(const Aws::String &value)
EmailTemplateRequest & WithDefaultSubstitutions(const Aws::String &value)
bool TemplateDescriptionHasBeenSet() const
void SetSubject(const Aws::String &value)
EmailTemplateRequest & AddTags(Aws::String &&key, const Aws::String &value)
EmailTemplateRequest & WithHtmlPart(const Aws::String &value)
EmailTemplateRequest & AddTags(const char *key, Aws::String &&value)
EmailTemplateRequest & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::String & GetSubject() const
const Aws::String & GetDefaultSubstitutions() const
EmailTemplateRequest & WithSubject(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
EmailTemplateRequest & WithRecommenderId(Aws::String &&value)
EmailTemplateRequest & WithHtmlPart(Aws::String &&value)
EmailTemplateRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetDefaultSubstitutions(const Aws::String &value)
bool TextPartHasBeenSet() const
void SetTextPart(const Aws::String &value)
bool RecommenderIdHasBeenSet() const
EmailTemplateRequest & WithTextPart(const char *value)
bool SubjectHasBeenSet() const
const Aws::String & GetRecommenderId() const
void SetHtmlPart(const char *value)
bool DefaultSubstitutionsHasBeenSet() const
void SetHeaders(const Aws::Vector< MessageHeader > &value)
const Aws::String & GetHtmlPart() const
void SetHtmlPart(Aws::String &&value)
EmailTemplateRequest & WithHtmlPart(const char *value)
void SetHeaders(Aws::Vector< MessageHeader > &&value)
EmailTemplateRequest & AddTags(Aws::String &&key, const char *value)
EmailTemplateRequest & WithRecommenderId(const char *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