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>
43 template <
typename BodyT = Aws::String>
45 m_bodyHasBeenSet =
true;
46 m_body = std::forward<BodyT>(value);
48 template <
typename BodyT = Aws::String>
50 SetBody(std::forward<BodyT>(value));
66 template <
typename DefaultSubstitutionsT = Aws::String>
68 m_defaultSubstitutionsHasBeenSet =
true;
69 m_defaultSubstitutions = std::forward<DefaultSubstitutionsT>(value);
71 template <
typename DefaultSubstitutionsT = Aws::String>
88 template <
typename LanguageCodeT = Aws::String>
90 m_languageCodeHasBeenSet =
true;
91 m_languageCode = std::forward<LanguageCodeT>(value);
93 template <
typename LanguageCodeT = Aws::String>
116 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
118 m_tagsHasBeenSet =
true;
119 m_tags = std::forward<TagsT>(value);
121 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
123 SetTags(std::forward<TagsT>(value));
126 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
128 m_tagsHasBeenSet =
true;
129 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
140 template <
typename TemplateDescriptionT = Aws::String>
142 m_templateDescriptionHasBeenSet =
true;
143 m_templateDescription = std::forward<TemplateDescriptionT>(value);
145 template <
typename TemplateDescriptionT = Aws::String>
161 template <
typename VoiceIdT = Aws::String>
163 m_voiceIdHasBeenSet =
true;
164 m_voiceId = std::forward<VoiceIdT>(value);
166 template <
typename VoiceIdT = Aws::String>
174 bool m_bodyHasBeenSet =
false;
177 bool m_defaultSubstitutionsHasBeenSet =
false;
180 bool m_languageCodeHasBeenSet =
false;
183 bool m_tagsHasBeenSet =
false;
186 bool m_templateDescriptionHasBeenSet =
false;
189 bool m_voiceIdHasBeenSet =
false;
AWS_PINPOINT_API VoiceTemplateRequest(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLanguageCode() const
bool TemplateDescriptionHasBeenSet() const
void SetBody(BodyT &&value)
void SetVoiceId(VoiceIdT &&value)
VoiceTemplateRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool DefaultSubstitutionsHasBeenSet() const
VoiceTemplateRequest & WithBody(BodyT &&value)
VoiceTemplateRequest & WithDefaultSubstitutions(DefaultSubstitutionsT &&value)
bool BodyHasBeenSet() const
VoiceTemplateRequest & WithTemplateDescription(TemplateDescriptionT &&value)
bool TagsHasBeenSet() const
bool LanguageCodeHasBeenSet() const
const Aws::String & GetTemplateDescription() const
void SetTags(TagsT &&value)
void SetDefaultSubstitutions(DefaultSubstitutionsT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetBody() const
VoiceTemplateRequest & WithLanguageCode(LanguageCodeT &&value)
void SetTemplateDescription(TemplateDescriptionT &&value)
VoiceTemplateRequest & WithTags(TagsT &&value)
const Aws::String & GetDefaultSubstitutions() const
VoiceTemplateRequest & WithVoiceId(VoiceIdT &&value)
const Aws::String & GetVoiceId() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_PINPOINT_API VoiceTemplateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLanguageCode(LanguageCodeT &&value)
bool VoiceIdHasBeenSet() const
AWS_PINPOINT_API VoiceTemplateRequest()=default
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