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/TemplateType.h>
12#include <aws/pinpoint/model/MessageHeader.h>
53 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
54 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
68 inline void SetCreationDate(
const char* value) { m_creationDateHasBeenSet =
true; m_creationDate.assign(value); }
85 inline void SetDefaultSubstitutions(
const char* value) { m_defaultSubstitutionsHasBeenSet =
true; m_defaultSubstitutions.assign(value); }
100 inline void SetHtmlPart(
const char* value) { m_htmlPartHasBeenSet =
true; m_htmlPart.assign(value); }
115 inline void SetLastModifiedDate(
const char* value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate.assign(value); }
130 inline void SetRecommenderId(
const char* value) { m_recommenderIdHasBeenSet =
true; m_recommenderId.assign(value); }
145 inline void SetSubject(
const char* value) { m_subjectHasBeenSet =
true; m_subject.assign(value); }
196 inline void SetTemplateDescription(
const char* value) { m_templateDescriptionHasBeenSet =
true; m_templateDescription.assign(value); }
210 inline void SetTemplateName(
const char* value) { m_templateNameHasBeenSet =
true; m_templateName.assign(value); }
238 inline void SetTextPart(
const char* value) { m_textPartHasBeenSet =
true; m_textPart.assign(value); }
254 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
262 bool m_arnHasBeenSet =
false;
265 bool m_creationDateHasBeenSet =
false;
268 bool m_defaultSubstitutionsHasBeenSet =
false;
271 bool m_htmlPartHasBeenSet =
false;
274 bool m_lastModifiedDateHasBeenSet =
false;
277 bool m_recommenderIdHasBeenSet =
false;
280 bool m_subjectHasBeenSet =
false;
283 bool m_headersHasBeenSet =
false;
286 bool m_tagsHasBeenSet =
false;
289 bool m_templateDescriptionHasBeenSet =
false;
292 bool m_templateNameHasBeenSet =
false;
295 bool m_templateTypeHasBeenSet =
false;
298 bool m_textPartHasBeenSet =
false;
301 bool m_versionHasBeenSet =
false;
void SetVersion(Aws::String &&value)
bool VersionHasBeenSet() const
const Aws::String & GetArn() const
EmailTemplateResponse & WithRecommenderId(const char *value)
void SetCreationDate(const Aws::String &value)
EmailTemplateResponse & AddTags(const Aws::String &key, const Aws::String &value)
EmailTemplateResponse & WithSubject(Aws::String &&value)
bool TemplateTypeHasBeenSet() const
EmailTemplateResponse & WithTemplateDescription(const char *value)
EmailTemplateResponse & WithTemplateType(TemplateType &&value)
void SetSubject(Aws::String &&value)
void SetHeaders(Aws::Vector< MessageHeader > &&value)
void SetRecommenderId(const Aws::String &value)
void SetVersion(const char *value)
EmailTemplateResponse & WithTemplateName(const Aws::String &value)
EmailTemplateResponse & WithLastModifiedDate(const Aws::String &value)
void SetHeaders(const Aws::Vector< MessageHeader > &value)
void SetTemplateName(const char *value)
EmailTemplateResponse & WithTextPart(const Aws::String &value)
EmailTemplateResponse & WithTemplateName(const char *value)
EmailTemplateResponse & WithCreationDate(Aws::String &&value)
const Aws::String & GetTextPart() const
EmailTemplateResponse & WithRecommenderId(Aws::String &&value)
const Aws::String & GetRecommenderId() const
void SetTemplateDescription(Aws::String &&value)
EmailTemplateResponse & WithHeaders(Aws::Vector< MessageHeader > &&value)
const Aws::String & GetTemplateDescription() const
void SetLastModifiedDate(Aws::String &&value)
bool TemplateNameHasBeenSet() const
const Aws::String & GetDefaultSubstitutions() const
EmailTemplateResponse & WithLastModifiedDate(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetRecommenderId(Aws::String &&value)
EmailTemplateResponse & WithDefaultSubstitutions(const Aws::String &value)
EmailTemplateResponse & WithTextPart(const char *value)
void SetSubject(const char *value)
void SetTemplateDescription(const char *value)
const Aws::String & GetVersion() const
void SetTextPart(const Aws::String &value)
void SetHtmlPart(Aws::String &&value)
bool TextPartHasBeenSet() const
void SetTemplateType(const TemplateType &value)
bool SubjectHasBeenSet() const
EmailTemplateResponse & WithVersion(const char *value)
EmailTemplateResponse & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
bool TagsHasBeenSet() const
void SetHtmlPart(const Aws::String &value)
const Aws::String & GetHtmlPart() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetTemplateName() const
void SetCreationDate(Aws::String &&value)
void SetCreationDate(const char *value)
EmailTemplateResponse & WithRecommenderId(const Aws::String &value)
EmailTemplateResponse & WithVersion(const Aws::String &value)
bool CreationDateHasBeenSet() const
void SetArn(const char *value)
EmailTemplateResponse & WithSubject(const Aws::String &value)
EmailTemplateResponse & WithTemplateName(Aws::String &&value)
AWS_PINPOINT_API EmailTemplateResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTemplateName(Aws::String &&value)
EmailTemplateResponse & WithArn(Aws::String &&value)
EmailTemplateResponse & WithArn(const Aws::String &value)
bool TemplateDescriptionHasBeenSet() const
EmailTemplateResponse & AddTags(Aws::String &&key, const char *value)
EmailTemplateResponse & WithHtmlPart(const Aws::String &value)
void SetArn(const Aws::String &value)
EmailTemplateResponse & AddTags(const char *key, const char *value)
void SetVersion(const Aws::String &value)
EmailTemplateResponse & WithTemplateDescription(Aws::String &&value)
EmailTemplateResponse & AddHeaders(MessageHeader &&value)
bool RecommenderIdHasBeenSet() const
EmailTemplateResponse & WithCreationDate(const char *value)
EmailTemplateResponse & WithTextPart(Aws::String &&value)
EmailTemplateResponse & AddHeaders(const MessageHeader &value)
void SetHtmlPart(const char *value)
AWS_PINPOINT_API EmailTemplateResponse(Aws::Utils::Json::JsonView jsonValue)
void SetTemplateType(TemplateType &&value)
void SetSubject(const Aws::String &value)
void SetDefaultSubstitutions(Aws::String &&value)
EmailTemplateResponse & WithTemplateDescription(const Aws::String &value)
const Aws::String & GetCreationDate() const
void SetTemplateDescription(const Aws::String &value)
void SetDefaultSubstitutions(const Aws::String &value)
bool DefaultSubstitutionsHasBeenSet() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLastModifiedDate() const
EmailTemplateResponse & WithSubject(const char *value)
EmailTemplateResponse & WithCreationDate(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
EmailTemplateResponse & WithLastModifiedDate(const char *value)
void SetDefaultSubstitutions(const char *value)
bool LastModifiedDateHasBeenSet() const
EmailTemplateResponse & WithArn(const char *value)
EmailTemplateResponse & WithDefaultSubstitutions(const char *value)
void SetLastModifiedDate(const char *value)
const TemplateType & GetTemplateType() const
void SetTextPart(const char *value)
EmailTemplateResponse & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
EmailTemplateResponse & AddTags(const Aws::String &key, Aws::String &&value)
EmailTemplateResponse & AddTags(const char *key, Aws::String &&value)
bool HtmlPartHasBeenSet() const
const Aws::String & GetSubject() const
EmailTemplateResponse & WithHtmlPart(Aws::String &&value)
EmailTemplateResponse & WithHeaders(const Aws::Vector< MessageHeader > &value)
EmailTemplateResponse & WithHtmlPart(const char *value)
EmailTemplateResponse & AddTags(Aws::String &&key, Aws::String &&value)
bool HeadersHasBeenSet() const
EmailTemplateResponse & WithTemplateType(const TemplateType &value)
void SetTemplateName(const Aws::String &value)
void SetLastModifiedDate(const Aws::String &value)
EmailTemplateResponse & WithVersion(Aws::String &&value)
void SetTextPart(Aws::String &&value)
const Aws::Vector< MessageHeader > & GetHeaders() const
void SetArn(Aws::String &&value)
EmailTemplateResponse & AddTags(Aws::String &&key, const Aws::String &value)
void SetRecommenderId(const char *value)
AWS_PINPOINT_API EmailTemplateResponse()
bool ArnHasBeenSet() const
EmailTemplateResponse & WithDefaultSubstitutions(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