7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/pinpoint/model/TemplateType.h>
50 template<
typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
52 template<
typename ArnT = Aws::String>
63 template<
typename BodyT = Aws::String>
64 void SetBody(BodyT&& value) { m_bodyHasBeenSet =
true; m_body = std::forward<BodyT>(value); }
65 template<
typename BodyT = Aws::String>
75 template<
typename CreationDateT = Aws::String>
76 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
77 template<
typename CreationDateT = Aws::String>
90 template<
typename DefaultSubstitutionsT = Aws::String>
91 void SetDefaultSubstitutions(DefaultSubstitutionsT&& value) { m_defaultSubstitutionsHasBeenSet =
true; m_defaultSubstitutions = std::forward<DefaultSubstitutionsT>(value); }
92 template<
typename DefaultSubstitutionsT = Aws::String>
103 template<
typename LastModifiedDateT = Aws::String>
104 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
105 template<
typename LastModifiedDateT = Aws::String>
116 template<
typename RecommenderIdT = Aws::String>
117 void SetRecommenderId(RecommenderIdT&& value) { m_recommenderIdHasBeenSet =
true; m_recommenderId = std::forward<RecommenderIdT>(value); }
118 template<
typename RecommenderIdT = Aws::String>
130 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
131 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
132 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
134 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
136 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
146 template<
typename TemplateDescriptionT = Aws::String>
147 void SetTemplateDescription(TemplateDescriptionT&& value) { m_templateDescriptionHasBeenSet =
true; m_templateDescription = std::forward<TemplateDescriptionT>(value); }
148 template<
typename TemplateDescriptionT = Aws::String>
158 template<
typename TemplateNameT = Aws::String>
159 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet =
true; m_templateName = std::forward<TemplateNameT>(value); }
160 template<
typename TemplateNameT = Aws::String>
183 template<
typename VersionT = Aws::String>
184 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
185 template<
typename VersionT = Aws::String>
191 bool m_arnHasBeenSet =
false;
194 bool m_bodyHasBeenSet =
false;
197 bool m_creationDateHasBeenSet =
false;
200 bool m_defaultSubstitutionsHasBeenSet =
false;
203 bool m_lastModifiedDateHasBeenSet =
false;
206 bool m_recommenderIdHasBeenSet =
false;
209 bool m_tagsHasBeenSet =
false;
212 bool m_templateDescriptionHasBeenSet =
false;
215 bool m_templateNameHasBeenSet =
false;
218 bool m_templateTypeHasBeenSet =
false;
221 bool m_versionHasBeenSet =
false;
SMSTemplateResponse & WithTemplateType(TemplateType value)
SMSTemplateResponse & WithArn(ArnT &&value)
bool TemplateTypeHasBeenSet() const
void SetTemplateName(TemplateNameT &&value)
const Aws::String & GetArn() const
bool TagsHasBeenSet() const
SMSTemplateResponse & WithTags(TagsT &&value)
void SetDefaultSubstitutions(DefaultSubstitutionsT &&value)
SMSTemplateResponse & WithCreationDate(CreationDateT &&value)
SMSTemplateResponse & WithRecommenderId(RecommenderIdT &&value)
bool RecommenderIdHasBeenSet() const
const Aws::String & GetBody() const
SMSTemplateResponse & WithDefaultSubstitutions(DefaultSubstitutionsT &&value)
SMSTemplateResponse & WithTemplateDescription(TemplateDescriptionT &&value)
bool DefaultSubstitutionsHasBeenSet() const
TemplateType GetTemplateType() const
bool TemplateDescriptionHasBeenSet() const
bool ArnHasBeenSet() const
void SetVersion(VersionT &&value)
bool TemplateNameHasBeenSet() const
const Aws::String & GetVersion() const
void SetArn(ArnT &&value)
void SetBody(BodyT &&value)
void SetCreationDate(CreationDateT &&value)
const Aws::String & GetCreationDate() const
bool BodyHasBeenSet() const
AWS_PINPOINT_API SMSTemplateResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
SMSTemplateResponse & WithLastModifiedDate(LastModifiedDateT &&value)
const Aws::String & GetLastModifiedDate() const
const Aws::String & GetRecommenderId() const
SMSTemplateResponse & WithVersion(VersionT &&value)
void SetTags(TagsT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTemplateDescription() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_PINPOINT_API SMSTemplateResponse()=default
const Aws::String & GetDefaultSubstitutions() const
void SetLastModifiedDate(LastModifiedDateT &&value)
bool VersionHasBeenSet() const
bool LastModifiedDateHasBeenSet() const
void SetTemplateType(TemplateType value)
SMSTemplateResponse & WithBody(BodyT &&value)
const Aws::String & GetTemplateName() const
SMSTemplateResponse & WithTemplateName(TemplateNameT &&value)
AWS_PINPOINT_API SMSTemplateResponse(Aws::Utils::Json::JsonView jsonValue)
void SetRecommenderId(RecommenderIdT &&value)
SMSTemplateResponse & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool CreationDateHasBeenSet() const
void SetTemplateDescription(TemplateDescriptionT &&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
Aws::Utils::Json::JsonValue JsonValue