AWS SDK for C++  1.9.125
AWS SDK for C++
CreateVocabularyFilterRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace TranscribeService
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CreateVocabularyFilter"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
45  inline const Aws::String& GetVocabularyFilterName() const{ return m_vocabularyFilterName; }
46 
52  inline bool VocabularyFilterNameHasBeenSet() const { return m_vocabularyFilterNameHasBeenSet; }
53 
59  inline void SetVocabularyFilterName(const Aws::String& value) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName = value; }
60 
66  inline void SetVocabularyFilterName(Aws::String&& value) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName = std::move(value); }
67 
73  inline void SetVocabularyFilterName(const char* value) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName.assign(value); }
74 
80  inline CreateVocabularyFilterRequest& WithVocabularyFilterName(const Aws::String& value) { SetVocabularyFilterName(value); return *this;}
81 
87  inline CreateVocabularyFilterRequest& WithVocabularyFilterName(Aws::String&& value) { SetVocabularyFilterName(std::move(value)); return *this;}
88 
94  inline CreateVocabularyFilterRequest& WithVocabularyFilterName(const char* value) { SetVocabularyFilterName(value); return *this;}
95 
96 
102  inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
103 
109  inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
110 
116  inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
117 
123  inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
124 
130  inline CreateVocabularyFilterRequest& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
131 
137  inline CreateVocabularyFilterRequest& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
138 
139 
149  inline const Aws::Vector<Aws::String>& GetWords() const{ return m_words; }
150 
160  inline bool WordsHasBeenSet() const { return m_wordsHasBeenSet; }
161 
171  inline void SetWords(const Aws::Vector<Aws::String>& value) { m_wordsHasBeenSet = true; m_words = value; }
172 
182  inline void SetWords(Aws::Vector<Aws::String>&& value) { m_wordsHasBeenSet = true; m_words = std::move(value); }
183 
193  inline CreateVocabularyFilterRequest& WithWords(const Aws::Vector<Aws::String>& value) { SetWords(value); return *this;}
194 
204  inline CreateVocabularyFilterRequest& WithWords(Aws::Vector<Aws::String>&& value) { SetWords(std::move(value)); return *this;}
205 
215  inline CreateVocabularyFilterRequest& AddWords(const Aws::String& value) { m_wordsHasBeenSet = true; m_words.push_back(value); return *this; }
216 
226  inline CreateVocabularyFilterRequest& AddWords(Aws::String&& value) { m_wordsHasBeenSet = true; m_words.push_back(std::move(value)); return *this; }
227 
237  inline CreateVocabularyFilterRequest& AddWords(const char* value) { m_wordsHasBeenSet = true; m_words.push_back(value); return *this; }
238 
239 
250  inline const Aws::String& GetVocabularyFilterFileUri() const{ return m_vocabularyFilterFileUri; }
251 
262  inline bool VocabularyFilterFileUriHasBeenSet() const { return m_vocabularyFilterFileUriHasBeenSet; }
263 
274  inline void SetVocabularyFilterFileUri(const Aws::String& value) { m_vocabularyFilterFileUriHasBeenSet = true; m_vocabularyFilterFileUri = value; }
275 
286  inline void SetVocabularyFilterFileUri(Aws::String&& value) { m_vocabularyFilterFileUriHasBeenSet = true; m_vocabularyFilterFileUri = std::move(value); }
287 
298  inline void SetVocabularyFilterFileUri(const char* value) { m_vocabularyFilterFileUriHasBeenSet = true; m_vocabularyFilterFileUri.assign(value); }
299 
310  inline CreateVocabularyFilterRequest& WithVocabularyFilterFileUri(const Aws::String& value) { SetVocabularyFilterFileUri(value); return *this;}
311 
322  inline CreateVocabularyFilterRequest& WithVocabularyFilterFileUri(Aws::String&& value) { SetVocabularyFilterFileUri(std::move(value)); return *this;}
323 
334  inline CreateVocabularyFilterRequest& WithVocabularyFilterFileUri(const char* value) { SetVocabularyFilterFileUri(value); return *this;}
335 
336 
342  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
343 
349  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
350 
356  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
357 
363  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
364 
370  inline CreateVocabularyFilterRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
371 
377  inline CreateVocabularyFilterRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
378 
384  inline CreateVocabularyFilterRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
385 
391  inline CreateVocabularyFilterRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
392 
393  private:
394 
395  Aws::String m_vocabularyFilterName;
396  bool m_vocabularyFilterNameHasBeenSet;
397 
398  LanguageCode m_languageCode;
399  bool m_languageCodeHasBeenSet;
400 
401  Aws::Vector<Aws::String> m_words;
402  bool m_wordsHasBeenSet;
403 
404  Aws::String m_vocabularyFilterFileUri;
405  bool m_vocabularyFilterFileUriHasBeenSet;
406 
407  Aws::Vector<Tag> m_tags;
408  bool m_tagsHasBeenSet;
409  };
410 
411 } // namespace Model
412 } // namespace TranscribeService
413 } // namespace Aws
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::WithVocabularyFilterName
CreateVocabularyFilterRequest & WithVocabularyFilterName(const Aws::String &value)
Definition: CreateVocabularyFilterRequest.h:80
TranscribeService_EXPORTS.h
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::WithVocabularyFilterFileUri
CreateVocabularyFilterRequest & WithVocabularyFilterFileUri(const Aws::String &value)
Definition: CreateVocabularyFilterRequest.h:310
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::WithLanguageCode
CreateVocabularyFilterRequest & WithLanguageCode(LanguageCode &&value)
Definition: CreateVocabularyFilterRequest.h:137
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateVocabularyFilterRequest.h:33
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::GetWords
const Aws::Vector< Aws::String > & GetWords() const
Definition: CreateVocabularyFilterRequest.h:149
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::WordsHasBeenSet
bool WordsHasBeenSet() const
Definition: CreateVocabularyFilterRequest.h:160
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::SetVocabularyFilterFileUri
void SetVocabularyFilterFileUri(const char *value)
Definition: CreateVocabularyFilterRequest.h:298
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::LanguageCodeHasBeenSet
bool LanguageCodeHasBeenSet() const
Definition: CreateVocabularyFilterRequest.h:109
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::SetWords
void SetWords(Aws::Vector< Aws::String > &&value)
Definition: CreateVocabularyFilterRequest.h:182
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateVocabularyFilterRequest.h:356
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::TranscribeService::Model::CreateVocabularyFilterRequest
Definition: CreateVocabularyFilterRequest.h:25
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::GetVocabularyFilterFileUri
const Aws::String & GetVocabularyFilterFileUri() const
Definition: CreateVocabularyFilterRequest.h:250
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::SetVocabularyFilterName
void SetVocabularyFilterName(Aws::String &&value)
Definition: CreateVocabularyFilterRequest.h:66
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::WithVocabularyFilterFileUri
CreateVocabularyFilterRequest & WithVocabularyFilterFileUri(const char *value)
Definition: CreateVocabularyFilterRequest.h:334
TranscribeServiceRequest.h
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::WithTags
CreateVocabularyFilterRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateVocabularyFilterRequest.h:377
AWSVector.h
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::CreateVocabularyFilterRequest
CreateVocabularyFilterRequest()
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::VocabularyFilterNameHasBeenSet
bool VocabularyFilterNameHasBeenSet() const
Definition: CreateVocabularyFilterRequest.h:52
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::GetLanguageCode
const LanguageCode & GetLanguageCode() const
Definition: CreateVocabularyFilterRequest.h:102
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::WithVocabularyFilterName
CreateVocabularyFilterRequest & WithVocabularyFilterName(const char *value)
Definition: CreateVocabularyFilterRequest.h:94
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::AddTags
CreateVocabularyFilterRequest & AddTags(const Tag &value)
Definition: CreateVocabularyFilterRequest.h:384
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::WithWords
CreateVocabularyFilterRequest & WithWords(const Aws::Vector< Aws::String > &value)
Definition: CreateVocabularyFilterRequest.h:193
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::VocabularyFilterFileUriHasBeenSet
bool VocabularyFilterFileUriHasBeenSet() const
Definition: CreateVocabularyFilterRequest.h:262
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::WithVocabularyFilterFileUri
CreateVocabularyFilterRequest & WithVocabularyFilterFileUri(Aws::String &&value)
Definition: CreateVocabularyFilterRequest.h:322
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::SetVocabularyFilterFileUri
void SetVocabularyFilterFileUri(Aws::String &&value)
Definition: CreateVocabularyFilterRequest.h:286
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::WithWords
CreateVocabularyFilterRequest & WithWords(Aws::Vector< Aws::String > &&value)
Definition: CreateVocabularyFilterRequest.h:204
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateVocabularyFilterRequest.h:349
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::SetLanguageCode
void SetLanguageCode(LanguageCode &&value)
Definition: CreateVocabularyFilterRequest.h:123
AWSString.h
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::AddWords
CreateVocabularyFilterRequest & AddWords(const Aws::String &value)
Definition: CreateVocabularyFilterRequest.h:215
Tag.h
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::SetWords
void SetWords(const Aws::Vector< Aws::String > &value)
Definition: CreateVocabularyFilterRequest.h:171
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::SetVocabularyFilterFileUri
void SetVocabularyFilterFileUri(const Aws::String &value)
Definition: CreateVocabularyFilterRequest.h:274
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::AddTags
CreateVocabularyFilterRequest & AddTags(Tag &&value)
Definition: CreateVocabularyFilterRequest.h:391
Aws::TranscribeService::Model::Tag
Definition: Tag.h:35
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::WithTags
CreateVocabularyFilterRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateVocabularyFilterRequest.h:370
Aws
Definition: AccessManagementClient.h:15
LanguageCode.h
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::SetVocabularyFilterName
void SetVocabularyFilterName(const char *value)
Definition: CreateVocabularyFilterRequest.h:73
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::SetLanguageCode
void SetLanguageCode(const LanguageCode &value)
Definition: CreateVocabularyFilterRequest.h:116
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::SetVocabularyFilterName
void SetVocabularyFilterName(const Aws::String &value)
Definition: CreateVocabularyFilterRequest.h:59
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::WithLanguageCode
CreateVocabularyFilterRequest & WithLanguageCode(const LanguageCode &value)
Definition: CreateVocabularyFilterRequest.h:130
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateVocabularyFilterRequest.h:363
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::AddWords
CreateVocabularyFilterRequest & AddWords(Aws::String &&value)
Definition: CreateVocabularyFilterRequest.h:226
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::WithVocabularyFilterName
CreateVocabularyFilterRequest & WithVocabularyFilterName(Aws::String &&value)
Definition: CreateVocabularyFilterRequest.h:87
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::AddWords
CreateVocabularyFilterRequest & AddWords(const char *value)
Definition: CreateVocabularyFilterRequest.h:237
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateVocabularyFilterRequest.h:342
Aws::TranscribeService::Model::LanguageCode
LanguageCode
Definition: LanguageCode.h:17
Aws::TranscribeService::TranscribeServiceRequest
Definition: TranscribeServiceRequest.h:17
AWS_TRANSCRIBESERVICE_API
#define AWS_TRANSCRIBESERVICE_API
Definition: TranscribeService_EXPORTS.h:28
Aws::TranscribeService::Model::CreateVocabularyFilterRequest::GetVocabularyFilterName
const Aws::String & GetVocabularyFilterName() const
Definition: CreateVocabularyFilterRequest.h:45