7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/transcribe/TranscribeServiceRequest.h>
10#include <aws/transcribe/TranscribeService_EXPORTS.h>
11#include <aws/transcribe/model/EncryptionConfiguration.h>
12#include <aws/transcribe/model/LanguageCode.h>
13#include <aws/transcribe/model/Tag.h>
18namespace TranscribeService {
47 template <
typename VocabularyNameT = Aws::String>
49 m_vocabularyNameHasBeenSet =
true;
50 m_vocabularyName = std::forward<VocabularyNameT>(value);
52 template <
typename VocabularyNameT = Aws::String>
74 m_languageCodeHasBeenSet =
true;
75 m_languageCode = value;
100 template <
typename PhrasesT = Aws::Vector<Aws::String>>
102 m_phrasesHasBeenSet =
true;
103 m_phrases = std::forward<PhrasesT>(value);
105 template <
typename PhrasesT = Aws::Vector<Aws::String>>
110 template <
typename PhrasesT = Aws::String>
112 m_phrasesHasBeenSet =
true;
113 m_phrases.emplace_back(std::forward<PhrasesT>(value));
129 template <
typename VocabularyFileUriT = Aws::String>
131 m_vocabularyFileUriHasBeenSet =
true;
132 m_vocabularyFileUri = std::forward<VocabularyFileUriT>(value);
134 template <
typename VocabularyFileUriT = Aws::String>
151 template <
typename TagsT = Aws::Vector<Tag>>
153 m_tagsHasBeenSet =
true;
154 m_tags = std::forward<TagsT>(value);
156 template <
typename TagsT = Aws::Vector<Tag>>
158 SetTags(std::forward<TagsT>(value));
161 template <
typename TagsT = Tag>
163 m_tagsHasBeenSet =
true;
164 m_tags.emplace_back(std::forward<TagsT>(value));
185 template <
typename DataAccessRoleArnT = Aws::String>
187 m_dataAccessRoleArnHasBeenSet =
true;
188 m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value);
190 template <
typename DataAccessRoleArnT = Aws::String>
205 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
207 m_encryptionConfigurationHasBeenSet =
true;
208 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
210 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
229 EncryptionConfiguration m_encryptionConfiguration;
230 bool m_vocabularyNameHasBeenSet =
false;
231 bool m_languageCodeHasBeenSet =
false;
232 bool m_phrasesHasBeenSet =
false;
233 bool m_vocabularyFileUriHasBeenSet =
false;
234 bool m_tagsHasBeenSet =
false;
235 bool m_dataAccessRoleArnHasBeenSet =
false;
236 bool m_encryptionConfigurationHasBeenSet =
false;
bool TagsHasBeenSet() const
bool PhrasesHasBeenSet() const
bool VocabularyNameHasBeenSet() const
CreateVocabularyRequest & AddTags(TagsT &&value)
bool VocabularyFileUriHasBeenSet() const
CreateVocabularyRequest & WithVocabularyFileUri(VocabularyFileUriT &&value)
CreateVocabularyRequest & WithVocabularyName(VocabularyNameT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetDataAccessRoleArn(DataAccessRoleArnT &&value)
CreateVocabularyRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
CreateVocabularyRequest & AddPhrases(PhrasesT &&value)
AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override
bool LanguageCodeHasBeenSet() const
CreateVocabularyRequest & WithTags(TagsT &&value)
const Aws::String & GetVocabularyName() const
void SetVocabularyName(VocabularyNameT &&value)
CreateVocabularyRequest & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
CreateVocabularyRequest & WithPhrases(PhrasesT &&value)
virtual const char * GetServiceRequestName() const override
LanguageCode GetLanguageCode() const
void SetTags(TagsT &&value)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
AWS_TRANSCRIBESERVICE_API CreateVocabularyRequest()=default
const Aws::String & GetVocabularyFileUri() const
AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool EncryptionConfigurationHasBeenSet() const
void SetPhrases(PhrasesT &&value)
bool DataAccessRoleArnHasBeenSet() const
CreateVocabularyRequest & WithLanguageCode(LanguageCode value)
const Aws::Vector< Aws::String > & GetPhrases() const
void SetLanguageCode(LanguageCode value)
void SetVocabularyFileUri(VocabularyFileUriT &&value)
const Aws::String & GetDataAccessRoleArn() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector