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>
49 template<
typename BodyT = Aws::String>
50 void SetBody(BodyT&& value) { m_bodyHasBeenSet =
true; m_body = std::forward<BodyT>(value); }
51 template<
typename BodyT = Aws::String>
66 template<
typename DefaultSubstitutionsT = Aws::String>
67 void SetDefaultSubstitutions(DefaultSubstitutionsT&& value) { m_defaultSubstitutionsHasBeenSet =
true; m_defaultSubstitutions = std::forward<DefaultSubstitutionsT>(value); }
68 template<
typename DefaultSubstitutionsT = Aws::String>
82 template<
typename LanguageCodeT = Aws::String>
83 void SetLanguageCode(LanguageCodeT&& value) { m_languageCodeHasBeenSet =
true; m_languageCode = std::forward<LanguageCodeT>(value); }
84 template<
typename LanguageCodeT = Aws::String>
104 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
105 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
106 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
108 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
110 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
120 template<
typename TemplateDescriptionT = Aws::String>
121 void SetTemplateDescription(TemplateDescriptionT&& value) { m_templateDescriptionHasBeenSet =
true; m_templateDescription = std::forward<TemplateDescriptionT>(value); }
122 template<
typename TemplateDescriptionT = Aws::String>
135 template<
typename VoiceIdT = Aws::String>
136 void SetVoiceId(VoiceIdT&& value) { m_voiceIdHasBeenSet =
true; m_voiceId = std::forward<VoiceIdT>(value); }
137 template<
typename VoiceIdT = Aws::String>
143 bool m_bodyHasBeenSet =
false;
146 bool m_defaultSubstitutionsHasBeenSet =
false;
149 bool m_languageCodeHasBeenSet =
false;
152 bool m_tagsHasBeenSet =
false;
155 bool m_templateDescriptionHasBeenSet =
false;
158 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