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>
106 template<
typename LanguageCodeT = Aws::String>
107 void SetLanguageCode(LanguageCodeT&& value) { m_languageCodeHasBeenSet =
true; m_languageCode = std::forward<LanguageCodeT>(value); }
108 template<
typename LanguageCodeT = Aws::String>
119 template<
typename LastModifiedDateT = Aws::String>
120 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
121 template<
typename LastModifiedDateT = Aws::String>
133 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
134 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
135 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
137 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
139 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
149 template<
typename TemplateDescriptionT = Aws::String>
150 void SetTemplateDescription(TemplateDescriptionT&& value) { m_templateDescriptionHasBeenSet =
true; m_templateDescription = std::forward<TemplateDescriptionT>(value); }
151 template<
typename TemplateDescriptionT = Aws::String>
161 template<
typename TemplateNameT = Aws::String>
162 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet =
true; m_templateName = std::forward<TemplateNameT>(value); }
163 template<
typename TemplateNameT = Aws::String>
186 template<
typename VersionT = Aws::String>
187 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
188 template<
typename VersionT = Aws::String>
201 template<
typename VoiceIdT = Aws::String>
202 void SetVoiceId(VoiceIdT&& value) { m_voiceIdHasBeenSet =
true; m_voiceId = std::forward<VoiceIdT>(value); }
203 template<
typename VoiceIdT = Aws::String>
209 bool m_arnHasBeenSet =
false;
212 bool m_bodyHasBeenSet =
false;
215 bool m_creationDateHasBeenSet =
false;
218 bool m_defaultSubstitutionsHasBeenSet =
false;
221 bool m_languageCodeHasBeenSet =
false;
224 bool m_lastModifiedDateHasBeenSet =
false;
227 bool m_tagsHasBeenSet =
false;
230 bool m_templateDescriptionHasBeenSet =
false;
233 bool m_templateNameHasBeenSet =
false;
236 bool m_templateTypeHasBeenSet =
false;
239 bool m_versionHasBeenSet =
false;
242 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