AWS SDK for C++  1.9.129
AWS SDK for C++
UpdateVocabularyFilterRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace TranscribeService
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateVocabularyFilter"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
43  inline const Aws::String& GetVocabularyFilterName() const{ return m_vocabularyFilterName; }
44 
50  inline bool VocabularyFilterNameHasBeenSet() const { return m_vocabularyFilterNameHasBeenSet; }
51 
57  inline void SetVocabularyFilterName(const Aws::String& value) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName = value; }
58 
64  inline void SetVocabularyFilterName(Aws::String&& value) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName = std::move(value); }
65 
71  inline void SetVocabularyFilterName(const char* value) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName.assign(value); }
72 
78  inline UpdateVocabularyFilterRequest& WithVocabularyFilterName(const Aws::String& value) { SetVocabularyFilterName(value); return *this;}
79 
85  inline UpdateVocabularyFilterRequest& WithVocabularyFilterName(Aws::String&& value) { SetVocabularyFilterName(std::move(value)); return *this;}
86 
92  inline UpdateVocabularyFilterRequest& WithVocabularyFilterName(const char* value) { SetVocabularyFilterName(value); return *this;}
93 
94 
104  inline const Aws::Vector<Aws::String>& GetWords() const{ return m_words; }
105 
115  inline bool WordsHasBeenSet() const { return m_wordsHasBeenSet; }
116 
126  inline void SetWords(const Aws::Vector<Aws::String>& value) { m_wordsHasBeenSet = true; m_words = value; }
127 
137  inline void SetWords(Aws::Vector<Aws::String>&& value) { m_wordsHasBeenSet = true; m_words = std::move(value); }
138 
148  inline UpdateVocabularyFilterRequest& WithWords(const Aws::Vector<Aws::String>& value) { SetWords(value); return *this;}
149 
159  inline UpdateVocabularyFilterRequest& WithWords(Aws::Vector<Aws::String>&& value) { SetWords(std::move(value)); return *this;}
160 
170  inline UpdateVocabularyFilterRequest& AddWords(const Aws::String& value) { m_wordsHasBeenSet = true; m_words.push_back(value); return *this; }
171 
181  inline UpdateVocabularyFilterRequest& AddWords(Aws::String&& value) { m_wordsHasBeenSet = true; m_words.push_back(std::move(value)); return *this; }
182 
192  inline UpdateVocabularyFilterRequest& AddWords(const char* value) { m_wordsHasBeenSet = true; m_words.push_back(value); return *this; }
193 
194 
205  inline const Aws::String& GetVocabularyFilterFileUri() const{ return m_vocabularyFilterFileUri; }
206 
217  inline bool VocabularyFilterFileUriHasBeenSet() const { return m_vocabularyFilterFileUriHasBeenSet; }
218 
229  inline void SetVocabularyFilterFileUri(const Aws::String& value) { m_vocabularyFilterFileUriHasBeenSet = true; m_vocabularyFilterFileUri = value; }
230 
241  inline void SetVocabularyFilterFileUri(Aws::String&& value) { m_vocabularyFilterFileUriHasBeenSet = true; m_vocabularyFilterFileUri = std::move(value); }
242 
253  inline void SetVocabularyFilterFileUri(const char* value) { m_vocabularyFilterFileUriHasBeenSet = true; m_vocabularyFilterFileUri.assign(value); }
254 
265  inline UpdateVocabularyFilterRequest& WithVocabularyFilterFileUri(const Aws::String& value) { SetVocabularyFilterFileUri(value); return *this;}
266 
277  inline UpdateVocabularyFilterRequest& WithVocabularyFilterFileUri(Aws::String&& value) { SetVocabularyFilterFileUri(std::move(value)); return *this;}
278 
289  inline UpdateVocabularyFilterRequest& WithVocabularyFilterFileUri(const char* value) { SetVocabularyFilterFileUri(value); return *this;}
290 
291  private:
292 
293  Aws::String m_vocabularyFilterName;
294  bool m_vocabularyFilterNameHasBeenSet;
295 
296  Aws::Vector<Aws::String> m_words;
297  bool m_wordsHasBeenSet;
298 
299  Aws::String m_vocabularyFilterFileUri;
300  bool m_vocabularyFilterFileUriHasBeenSet;
301  };
302 
303 } // namespace Model
304 } // namespace TranscribeService
305 } // namespace Aws
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::VocabularyFilterNameHasBeenSet
bool VocabularyFilterNameHasBeenSet() const
Definition: UpdateVocabularyFilterRequest.h:50
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::WithVocabularyFilterFileUri
UpdateVocabularyFilterRequest & WithVocabularyFilterFileUri(const Aws::String &value)
Definition: UpdateVocabularyFilterRequest.h:265
TranscribeService_EXPORTS.h
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::SetVocabularyFilterFileUri
void SetVocabularyFilterFileUri(Aws::String &&value)
Definition: UpdateVocabularyFilterRequest.h:241
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::WithVocabularyFilterFileUri
UpdateVocabularyFilterRequest & WithVocabularyFilterFileUri(Aws::String &&value)
Definition: UpdateVocabularyFilterRequest.h:277
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::GetVocabularyFilterFileUri
const Aws::String & GetVocabularyFilterFileUri() const
Definition: UpdateVocabularyFilterRequest.h:205
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::VocabularyFilterFileUriHasBeenSet
bool VocabularyFilterFileUriHasBeenSet() const
Definition: UpdateVocabularyFilterRequest.h:217
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::GetVocabularyFilterName
const Aws::String & GetVocabularyFilterName() const
Definition: UpdateVocabularyFilterRequest.h:43
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::GetWords
const Aws::Vector< Aws::String > & GetWords() const
Definition: UpdateVocabularyFilterRequest.h:104
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::WithVocabularyFilterName
UpdateVocabularyFilterRequest & WithVocabularyFilterName(const Aws::String &value)
Definition: UpdateVocabularyFilterRequest.h:78
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::WordsHasBeenSet
bool WordsHasBeenSet() const
Definition: UpdateVocabularyFilterRequest.h:115
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::WithVocabularyFilterName
UpdateVocabularyFilterRequest & WithVocabularyFilterName(const char *value)
Definition: UpdateVocabularyFilterRequest.h:92
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::SetVocabularyFilterName
void SetVocabularyFilterName(const char *value)
Definition: UpdateVocabularyFilterRequest.h:71
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::WithWords
UpdateVocabularyFilterRequest & WithWords(const Aws::Vector< Aws::String > &value)
Definition: UpdateVocabularyFilterRequest.h:148
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
TranscribeServiceRequest.h
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::WithVocabularyFilterName
UpdateVocabularyFilterRequest & WithVocabularyFilterName(Aws::String &&value)
Definition: UpdateVocabularyFilterRequest.h:85
AWSVector.h
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::SetWords
void SetWords(Aws::Vector< Aws::String > &&value)
Definition: UpdateVocabularyFilterRequest.h:137
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::SetVocabularyFilterFileUri
void SetVocabularyFilterFileUri(const char *value)
Definition: UpdateVocabularyFilterRequest.h:253
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateVocabularyFilterRequest.h:31
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::AddWords
UpdateVocabularyFilterRequest & AddWords(const char *value)
Definition: UpdateVocabularyFilterRequest.h:192
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::WithVocabularyFilterFileUri
UpdateVocabularyFilterRequest & WithVocabularyFilterFileUri(const char *value)
Definition: UpdateVocabularyFilterRequest.h:289
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest
Definition: UpdateVocabularyFilterRequest.h:23
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::SetWords
void SetWords(const Aws::Vector< Aws::String > &value)
Definition: UpdateVocabularyFilterRequest.h:126
AWSString.h
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::WithWords
UpdateVocabularyFilterRequest & WithWords(Aws::Vector< Aws::String > &&value)
Definition: UpdateVocabularyFilterRequest.h:159
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::SetVocabularyFilterFileUri
void SetVocabularyFilterFileUri(const Aws::String &value)
Definition: UpdateVocabularyFilterRequest.h:229
Aws
Definition: AccessManagementClient.h:15
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::UpdateVocabularyFilterRequest
UpdateVocabularyFilterRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::AddWords
UpdateVocabularyFilterRequest & AddWords(Aws::String &&value)
Definition: UpdateVocabularyFilterRequest.h:181
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::AddWords
UpdateVocabularyFilterRequest & AddWords(const Aws::String &value)
Definition: UpdateVocabularyFilterRequest.h:170
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::SetVocabularyFilterName
void SetVocabularyFilterName(Aws::String &&value)
Definition: UpdateVocabularyFilterRequest.h:64
Aws::TranscribeService::TranscribeServiceRequest
Definition: TranscribeServiceRequest.h:17
AWS_TRANSCRIBESERVICE_API
#define AWS_TRANSCRIBESERVICE_API
Definition: TranscribeService_EXPORTS.h:28
Aws::TranscribeService::Model::UpdateVocabularyFilterRequest::SetVocabularyFilterName
void SetVocabularyFilterName(const Aws::String &value)
Definition: UpdateVocabularyFilterRequest.h:57