7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/Pinpoint_EXPORTS.h>
10#include <aws/pinpoint/model/TemplateType.h>
44 template <
typename ArnT = Aws::String>
46 m_arnHasBeenSet =
true;
47 m_arn = std::forward<ArnT>(value);
49 template <
typename ArnT = Aws::String>
51 SetArn(std::forward<ArnT>(value));
63 template <
typename BodyT = Aws::String>
65 m_bodyHasBeenSet =
true;
66 m_body = std::forward<BodyT>(value);
68 template <
typename BodyT = Aws::String>
70 SetBody(std::forward<BodyT>(value));
81 template <
typename CreationDateT = Aws::String>
83 m_creationDateHasBeenSet =
true;
84 m_creationDate = std::forward<CreationDateT>(value);
86 template <
typename CreationDateT = Aws::String>
102 template <
typename DefaultSubstitutionsT = Aws::String>
104 m_defaultSubstitutionsHasBeenSet =
true;
105 m_defaultSubstitutions = std::forward<DefaultSubstitutionsT>(value);
107 template <
typename DefaultSubstitutionsT = Aws::String>
124 template <
typename LanguageCodeT = Aws::String>
126 m_languageCodeHasBeenSet =
true;
127 m_languageCode = std::forward<LanguageCodeT>(value);
129 template <
typename LanguageCodeT = Aws::String>
143 template <
typename LastModifiedDateT = Aws::String>
145 m_lastModifiedDateHasBeenSet =
true;
146 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
148 template <
typename LastModifiedDateT = Aws::String>
163 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
165 m_tagsHasBeenSet =
true;
166 m_tags = std::forward<TagsT>(value);
168 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
170 SetTags(std::forward<TagsT>(value));
173 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
175 m_tagsHasBeenSet =
true;
176 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
187 template <
typename TemplateDescriptionT = Aws::String>
189 m_templateDescriptionHasBeenSet =
true;
190 m_templateDescription = std::forward<TemplateDescriptionT>(value);
192 template <
typename TemplateDescriptionT = Aws::String>
205 template <
typename TemplateNameT = Aws::String>
207 m_templateNameHasBeenSet =
true;
208 m_templateName = std::forward<TemplateNameT>(value);
210 template <
typename TemplateNameT = Aws::String>
225 m_templateTypeHasBeenSet =
true;
226 m_templateType = value;
242 template <
typename VersionT = Aws::String>
244 m_versionHasBeenSet =
true;
245 m_version = std::forward<VersionT>(value);
247 template <
typename VersionT = Aws::String>
263 template <
typename VoiceIdT = Aws::String>
265 m_voiceIdHasBeenSet =
true;
266 m_voiceId = std::forward<VoiceIdT>(value);
268 template <
typename VoiceIdT = Aws::String>
276 bool m_arnHasBeenSet =
false;
279 bool m_bodyHasBeenSet =
false;
282 bool m_creationDateHasBeenSet =
false;
285 bool m_defaultSubstitutionsHasBeenSet =
false;
288 bool m_languageCodeHasBeenSet =
false;
291 bool m_lastModifiedDateHasBeenSet =
false;
294 bool m_tagsHasBeenSet =
false;
297 bool m_templateDescriptionHasBeenSet =
false;
300 bool m_templateNameHasBeenSet =
false;
303 bool m_templateTypeHasBeenSet =
false;
306 bool m_versionHasBeenSet =
false;
309 bool m_voiceIdHasBeenSet =
false;
const Aws::String & GetLastModifiedDate() const
bool CreationDateHasBeenSet() const
VoiceTemplateResponse & WithVersion(VersionT &&value)
bool TagsHasBeenSet() const
void SetVoiceId(VoiceIdT &&value)
bool DefaultSubstitutionsHasBeenSet() const
VoiceTemplateResponse & WithTemplateName(TemplateNameT &&value)
AWS_PINPOINT_API VoiceTemplateResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LanguageCodeHasBeenSet() const
const Aws::String & GetTemplateName() const
bool VersionHasBeenSet() const
void SetTemplateType(TemplateType value)
const Aws::String & GetVoiceId() const
void SetTags(TagsT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
bool TemplateDescriptionHasBeenSet() const
void SetTemplateDescription(TemplateDescriptionT &&value)
VoiceTemplateResponse & WithCreationDate(CreationDateT &&value)
AWS_PINPOINT_API VoiceTemplateResponse()=default
VoiceTemplateResponse & WithVoiceId(VoiceIdT &&value)
void SetVersion(VersionT &&value)
TemplateType GetTemplateType() const
const Aws::String & GetCreationDate() const
bool TemplateTypeHasBeenSet() const
const Aws::String & GetLanguageCode() const
const Aws::String & GetDefaultSubstitutions() const
VoiceTemplateResponse & WithTags(TagsT &&value)
VoiceTemplateResponse & WithTemplateType(TemplateType value)
VoiceTemplateResponse & WithTemplateDescription(TemplateDescriptionT &&value)
VoiceTemplateResponse & WithDefaultSubstitutions(DefaultSubstitutionsT &&value)
bool TemplateNameHasBeenSet() const
void SetBody(BodyT &&value)
bool BodyHasBeenSet() const
bool LastModifiedDateHasBeenSet() const
VoiceTemplateResponse & WithArn(ArnT &&value)
const Aws::String & GetArn() const
void SetArn(ArnT &&value)
void SetDefaultSubstitutions(DefaultSubstitutionsT &&value)
VoiceTemplateResponse & WithLastModifiedDate(LastModifiedDateT &&value)
void SetLastModifiedDate(LastModifiedDateT &&value)
VoiceTemplateResponse & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetCreationDate(CreationDateT &&value)
bool ArnHasBeenSet() const
VoiceTemplateResponse & WithLanguageCode(LanguageCodeT &&value)
bool VoiceIdHasBeenSet() const
const Aws::String & GetBody() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetTemplateDescription() const
AWS_PINPOINT_API VoiceTemplateResponse(Aws::Utils::Json::JsonView jsonValue)
void SetLanguageCode(LanguageCodeT &&value)
const Aws::String & GetVersion() const
VoiceTemplateResponse & WithBody(BodyT &&value)
void SetTemplateName(TemplateNameT &&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