AWS SDK for C++  1.9.129
AWS SDK for C++
CreateMedicalVocabularyRequest.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 "CreateMedicalVocabulary"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
46  inline const Aws::String& GetVocabularyName() const{ return m_vocabularyName; }
47 
54  inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; }
55 
62  inline void SetVocabularyName(const Aws::String& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = value; }
63 
70  inline void SetVocabularyName(Aws::String&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::move(value); }
71 
78  inline void SetVocabularyName(const char* value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName.assign(value); }
79 
86  inline CreateMedicalVocabularyRequest& WithVocabularyName(const Aws::String& value) { SetVocabularyName(value); return *this;}
87 
94  inline CreateMedicalVocabularyRequest& WithVocabularyName(Aws::String&& value) { SetVocabularyName(std::move(value)); return *this;}
95 
102  inline CreateMedicalVocabularyRequest& WithVocabularyName(const char* value) { SetVocabularyName(value); return *this;}
103 
104 
111  inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
112 
119  inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
120 
127  inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
128 
135  inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
136 
143  inline CreateMedicalVocabularyRequest& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
144 
151  inline CreateMedicalVocabularyRequest& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
152 
153 
170  inline const Aws::String& GetVocabularyFileUri() const{ return m_vocabularyFileUri; }
171 
188  inline bool VocabularyFileUriHasBeenSet() const { return m_vocabularyFileUriHasBeenSet; }
189 
206  inline void SetVocabularyFileUri(const Aws::String& value) { m_vocabularyFileUriHasBeenSet = true; m_vocabularyFileUri = value; }
207 
224  inline void SetVocabularyFileUri(Aws::String&& value) { m_vocabularyFileUriHasBeenSet = true; m_vocabularyFileUri = std::move(value); }
225 
242  inline void SetVocabularyFileUri(const char* value) { m_vocabularyFileUriHasBeenSet = true; m_vocabularyFileUri.assign(value); }
243 
260  inline CreateMedicalVocabularyRequest& WithVocabularyFileUri(const Aws::String& value) { SetVocabularyFileUri(value); return *this;}
261 
278  inline CreateMedicalVocabularyRequest& WithVocabularyFileUri(Aws::String&& value) { SetVocabularyFileUri(std::move(value)); return *this;}
279 
296  inline CreateMedicalVocabularyRequest& WithVocabularyFileUri(const char* value) { SetVocabularyFileUri(value); return *this;}
297 
298 
303  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
304 
309  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
310 
315  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
316 
321  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
322 
327  inline CreateMedicalVocabularyRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
328 
333  inline CreateMedicalVocabularyRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
334 
339  inline CreateMedicalVocabularyRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
340 
345  inline CreateMedicalVocabularyRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
346 
347  private:
348 
349  Aws::String m_vocabularyName;
350  bool m_vocabularyNameHasBeenSet;
351 
352  LanguageCode m_languageCode;
353  bool m_languageCodeHasBeenSet;
354 
355  Aws::String m_vocabularyFileUri;
356  bool m_vocabularyFileUriHasBeenSet;
357 
358  Aws::Vector<Tag> m_tags;
359  bool m_tagsHasBeenSet;
360  };
361 
362 } // namespace Model
363 } // namespace TranscribeService
364 } // namespace Aws
TranscribeService_EXPORTS.h
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::SetLanguageCode
void SetLanguageCode(const LanguageCode &value)
Definition: CreateMedicalVocabularyRequest.h:127
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::AddTags
CreateMedicalVocabularyRequest & AddTags(Tag &&value)
Definition: CreateMedicalVocabularyRequest.h:345
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::WithVocabularyName
CreateMedicalVocabularyRequest & WithVocabularyName(Aws::String &&value)
Definition: CreateMedicalVocabularyRequest.h:94
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::WithVocabularyFileUri
CreateMedicalVocabularyRequest & WithVocabularyFileUri(const char *value)
Definition: CreateMedicalVocabularyRequest.h:296
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::AddTags
CreateMedicalVocabularyRequest & AddTags(const Tag &value)
Definition: CreateMedicalVocabularyRequest.h:339
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateMedicalVocabularyRequest.h:309
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::WithVocabularyName
CreateMedicalVocabularyRequest & WithVocabularyName(const char *value)
Definition: CreateMedicalVocabularyRequest.h:102
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
TranscribeServiceRequest.h
AWSVector.h
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::SetVocabularyFileUri
void SetVocabularyFileUri(const char *value)
Definition: CreateMedicalVocabularyRequest.h:242
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::WithLanguageCode
CreateMedicalVocabularyRequest & WithLanguageCode(const LanguageCode &value)
Definition: CreateMedicalVocabularyRequest.h:143
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::SetVocabularyName
void SetVocabularyName(const Aws::String &value)
Definition: CreateMedicalVocabularyRequest.h:62
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::WithTags
CreateMedicalVocabularyRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateMedicalVocabularyRequest.h:333
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::GetVocabularyName
const Aws::String & GetVocabularyName() const
Definition: CreateMedicalVocabularyRequest.h:46
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::CreateMedicalVocabularyRequest
CreateMedicalVocabularyRequest()
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateMedicalVocabularyRequest.h:303
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::WithTags
CreateMedicalVocabularyRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateMedicalVocabularyRequest.h:327
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::SetVocabularyName
void SetVocabularyName(const char *value)
Definition: CreateMedicalVocabularyRequest.h:78
AWSString.h
Tag.h
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::GetLanguageCode
const LanguageCode & GetLanguageCode() const
Definition: CreateMedicalVocabularyRequest.h:111
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::SetLanguageCode
void SetLanguageCode(LanguageCode &&value)
Definition: CreateMedicalVocabularyRequest.h:135
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateMedicalVocabularyRequest.h:33
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::VocabularyNameHasBeenSet
bool VocabularyNameHasBeenSet() const
Definition: CreateMedicalVocabularyRequest.h:54
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::SetVocabularyFileUri
void SetVocabularyFileUri(Aws::String &&value)
Definition: CreateMedicalVocabularyRequest.h:224
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::TranscribeService::Model::Tag
Definition: Tag.h:35
Aws
Definition: AccessManagementClient.h:15
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateMedicalVocabularyRequest.h:321
LanguageCode.h
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::VocabularyFileUriHasBeenSet
bool VocabularyFileUriHasBeenSet() const
Definition: CreateMedicalVocabularyRequest.h:188
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest
Definition: CreateMedicalVocabularyRequest.h:25
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::GetVocabularyFileUri
const Aws::String & GetVocabularyFileUri() const
Definition: CreateMedicalVocabularyRequest.h:170
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::WithVocabularyFileUri
CreateMedicalVocabularyRequest & WithVocabularyFileUri(Aws::String &&value)
Definition: CreateMedicalVocabularyRequest.h:278
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::SetVocabularyFileUri
void SetVocabularyFileUri(const Aws::String &value)
Definition: CreateMedicalVocabularyRequest.h:206
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::LanguageCodeHasBeenSet
bool LanguageCodeHasBeenSet() const
Definition: CreateMedicalVocabularyRequest.h:119
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::WithLanguageCode
CreateMedicalVocabularyRequest & WithLanguageCode(LanguageCode &&value)
Definition: CreateMedicalVocabularyRequest.h:151
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::WithVocabularyFileUri
CreateMedicalVocabularyRequest & WithVocabularyFileUri(const Aws::String &value)
Definition: CreateMedicalVocabularyRequest.h:260
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateMedicalVocabularyRequest.h:315
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::SetVocabularyName
void SetVocabularyName(Aws::String &&value)
Definition: CreateMedicalVocabularyRequest.h:70
Aws::TranscribeService::Model::CreateMedicalVocabularyRequest::WithVocabularyName
CreateMedicalVocabularyRequest & WithVocabularyName(const Aws::String &value)
Definition: CreateMedicalVocabularyRequest.h:86
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