7#include <aws/polly/Polly_EXPORTS.h>
8#include <aws/polly/model/Gender.h>
9#include <aws/polly/model/VoiceId.h>
10#include <aws/polly/model/LanguageCode.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/polly/model/Engine.h>
51 inline void SetGender(
const Gender& value) { m_genderHasBeenSet =
true; m_gender = value; }
52 inline void SetGender(
Gender&& value) { m_genderHasBeenSet =
true; m_gender = std::move(value); }
64 inline void SetId(
const VoiceId& value) { m_idHasBeenSet =
true; m_id = value; }
65 inline void SetId(
VoiceId&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
90 inline void SetLanguageName(
const char* value) { m_languageNameHasBeenSet =
true; m_languageName.assign(value); }
105 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
147 bool m_genderHasBeenSet =
false;
150 bool m_idHasBeenSet =
false;
153 bool m_languageCodeHasBeenSet =
false;
156 bool m_languageNameHasBeenSet =
false;
159 bool m_nameHasBeenSet =
false;
162 bool m_additionalLanguageCodesHasBeenSet =
false;
165 bool m_supportedEnginesHasBeenSet =
false;
void SetSupportedEngines(const Aws::Vector< Engine > &value)
bool LanguageNameHasBeenSet() const
bool GenderHasBeenSet() const
AWS_POLLY_API Voice(Aws::Utils::Json::JsonView jsonValue)
void SetAdditionalLanguageCodes(const Aws::Vector< LanguageCode > &value)
Voice & WithGender(const Gender &value)
Voice & AddSupportedEngines(const Engine &value)
void SetName(const char *value)
Voice & WithGender(Gender &&value)
bool LanguageCodeHasBeenSet() const
void SetName(Aws::String &&value)
void SetId(const VoiceId &value)
Voice & WithAdditionalLanguageCodes(const Aws::Vector< LanguageCode > &value)
bool AdditionalLanguageCodesHasBeenSet() const
void SetId(VoiceId &&value)
const VoiceId & GetId() const
Voice & WithName(const Aws::String &value)
Voice & WithLanguageCode(const LanguageCode &value)
const LanguageCode & GetLanguageCode() const
void SetAdditionalLanguageCodes(Aws::Vector< LanguageCode > &&value)
void SetLanguageCode(LanguageCode &&value)
Voice & WithLanguageCode(LanguageCode &&value)
Voice & AddAdditionalLanguageCodes(LanguageCode &&value)
Voice & WithId(VoiceId &&value)
Voice & WithName(const char *value)
Voice & WithSupportedEngines(const Aws::Vector< Engine > &value)
const Aws::String & GetLanguageName() const
bool IdHasBeenSet() const
void SetName(const Aws::String &value)
Voice & WithSupportedEngines(Aws::Vector< Engine > &&value)
void SetGender(const Gender &value)
void SetSupportedEngines(Aws::Vector< Engine > &&value)
Voice & WithName(Aws::String &&value)
bool NameHasBeenSet() const
void SetLanguageName(const char *value)
void SetLanguageCode(const LanguageCode &value)
AWS_POLLY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
const Aws::Vector< Engine > & GetSupportedEngines() const
AWS_POLLY_API Voice & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< LanguageCode > & GetAdditionalLanguageCodes() const
void SetGender(Gender &&value)
Voice & WithLanguageName(Aws::String &&value)
Voice & WithLanguageName(const Aws::String &value)
const Gender & GetGender() const
void SetLanguageName(Aws::String &&value)
Voice & WithId(const VoiceId &value)
bool SupportedEnginesHasBeenSet() const
Voice & AddSupportedEngines(Engine &&value)
Voice & AddAdditionalLanguageCodes(const LanguageCode &value)
void SetLanguageName(const Aws::String &value)
Voice & WithLanguageName(const char *value)
Voice & WithAdditionalLanguageCodes(Aws::Vector< LanguageCode > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue