AWS SDK for C++  1.9.126
AWS SDK for C++
UpdateMedicalVocabularyRequest.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 "UpdateMedicalVocabulary"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
43  inline const Aws::String& GetVocabularyName() const{ return m_vocabularyName; }
44 
50  inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; }
51 
57  inline void SetVocabularyName(const Aws::String& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = value; }
58 
64  inline void SetVocabularyName(Aws::String&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::move(value); }
65 
71  inline void SetVocabularyName(const char* value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName.assign(value); }
72 
78  inline UpdateMedicalVocabularyRequest& WithVocabularyName(const Aws::String& value) { SetVocabularyName(value); return *this;}
79 
85  inline UpdateMedicalVocabularyRequest& WithVocabularyName(Aws::String&& value) { SetVocabularyName(std::move(value)); return *this;}
86 
92  inline UpdateMedicalVocabularyRequest& WithVocabularyName(const char* value) { SetVocabularyName(value); return *this;}
93 
94 
100  inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
101 
107  inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
108 
114  inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
115 
121  inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
122 
128  inline UpdateMedicalVocabularyRequest& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
129 
135  inline UpdateMedicalVocabularyRequest& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
136 
137 
153  inline const Aws::String& GetVocabularyFileUri() const{ return m_vocabularyFileUri; }
154 
170  inline bool VocabularyFileUriHasBeenSet() const { return m_vocabularyFileUriHasBeenSet; }
171 
187  inline void SetVocabularyFileUri(const Aws::String& value) { m_vocabularyFileUriHasBeenSet = true; m_vocabularyFileUri = value; }
188 
204  inline void SetVocabularyFileUri(Aws::String&& value) { m_vocabularyFileUriHasBeenSet = true; m_vocabularyFileUri = std::move(value); }
205 
221  inline void SetVocabularyFileUri(const char* value) { m_vocabularyFileUriHasBeenSet = true; m_vocabularyFileUri.assign(value); }
222 
238  inline UpdateMedicalVocabularyRequest& WithVocabularyFileUri(const Aws::String& value) { SetVocabularyFileUri(value); return *this;}
239 
255  inline UpdateMedicalVocabularyRequest& WithVocabularyFileUri(Aws::String&& value) { SetVocabularyFileUri(std::move(value)); return *this;}
256 
272  inline UpdateMedicalVocabularyRequest& WithVocabularyFileUri(const char* value) { SetVocabularyFileUri(value); return *this;}
273 
274  private:
275 
276  Aws::String m_vocabularyName;
277  bool m_vocabularyNameHasBeenSet;
278 
279  LanguageCode m_languageCode;
280  bool m_languageCodeHasBeenSet;
281 
282  Aws::String m_vocabularyFileUri;
283  bool m_vocabularyFileUriHasBeenSet;
284  };
285 
286 } // namespace Model
287 } // namespace TranscribeService
288 } // namespace Aws
TranscribeService_EXPORTS.h
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::WithLanguageCode
UpdateMedicalVocabularyRequest & WithLanguageCode(const LanguageCode &value)
Definition: UpdateMedicalVocabularyRequest.h:128
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::WithVocabularyFileUri
UpdateMedicalVocabularyRequest & WithVocabularyFileUri(Aws::String &&value)
Definition: UpdateMedicalVocabularyRequest.h:255
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::UpdateMedicalVocabularyRequest
UpdateMedicalVocabularyRequest()
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::GetVocabularyName
const Aws::String & GetVocabularyName() const
Definition: UpdateMedicalVocabularyRequest.h:43
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::SetLanguageCode
void SetLanguageCode(const LanguageCode &value)
Definition: UpdateMedicalVocabularyRequest.h:114
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::VocabularyNameHasBeenSet
bool VocabularyNameHasBeenSet() const
Definition: UpdateMedicalVocabularyRequest.h:50
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::SetVocabularyFileUri
void SetVocabularyFileUri(const Aws::String &value)
Definition: UpdateMedicalVocabularyRequest.h:187
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::WithLanguageCode
UpdateMedicalVocabularyRequest & WithLanguageCode(LanguageCode &&value)
Definition: UpdateMedicalVocabularyRequest.h:135
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::LanguageCodeHasBeenSet
bool LanguageCodeHasBeenSet() const
Definition: UpdateMedicalVocabularyRequest.h:107
TranscribeServiceRequest.h
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::WithVocabularyFileUri
UpdateMedicalVocabularyRequest & WithVocabularyFileUri(const char *value)
Definition: UpdateMedicalVocabularyRequest.h:272
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::SetVocabularyFileUri
void SetVocabularyFileUri(Aws::String &&value)
Definition: UpdateMedicalVocabularyRequest.h:204
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::SetVocabularyName
void SetVocabularyName(const Aws::String &value)
Definition: UpdateMedicalVocabularyRequest.h:57
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::SetLanguageCode
void SetLanguageCode(LanguageCode &&value)
Definition: UpdateMedicalVocabularyRequest.h:121
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::VocabularyFileUriHasBeenSet
bool VocabularyFileUriHasBeenSet() const
Definition: UpdateMedicalVocabularyRequest.h:170
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::GetVocabularyFileUri
const Aws::String & GetVocabularyFileUri() const
Definition: UpdateMedicalVocabularyRequest.h:153
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::SetVocabularyName
void SetVocabularyName(const char *value)
Definition: UpdateMedicalVocabularyRequest.h:71
AWSString.h
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::WithVocabularyName
UpdateMedicalVocabularyRequest & WithVocabularyName(Aws::String &&value)
Definition: UpdateMedicalVocabularyRequest.h:85
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::SetVocabularyName
void SetVocabularyName(Aws::String &&value)
Definition: UpdateMedicalVocabularyRequest.h:64
Aws
Definition: AccessManagementClient.h:15
LanguageCode.h
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::SetVocabularyFileUri
void SetVocabularyFileUri(const char *value)
Definition: UpdateMedicalVocabularyRequest.h:221
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::GetLanguageCode
const LanguageCode & GetLanguageCode() const
Definition: UpdateMedicalVocabularyRequest.h:100
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateMedicalVocabularyRequest.h:31
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::WithVocabularyFileUri
UpdateMedicalVocabularyRequest & WithVocabularyFileUri(const Aws::String &value)
Definition: UpdateMedicalVocabularyRequest.h:238
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest
Definition: UpdateMedicalVocabularyRequest.h:23
Aws::TranscribeService::Model::UpdateMedicalVocabularyRequest::WithVocabularyName
UpdateMedicalVocabularyRequest & WithVocabularyName(const Aws::String &value)
Definition: UpdateMedicalVocabularyRequest.h:78
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::UpdateMedicalVocabularyRequest::WithVocabularyName
UpdateMedicalVocabularyRequest & WithVocabularyName(const char *value)
Definition: UpdateMedicalVocabularyRequest.h:92