/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace TranscribeService { namespace Model { /** */ class UpdateMedicalVocabularyRequest : public TranscribeServiceRequest { public: AWS_TRANSCRIBESERVICE_API UpdateMedicalVocabularyRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateMedicalVocabulary"; } AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override; AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the custom medical vocabulary you want to update. Custom medical * vocabulary names are case sensitive.

*/ inline const Aws::String& GetVocabularyName() const{ return m_vocabularyName; } /** *

The name of the custom medical vocabulary you want to update. Custom medical * vocabulary names are case sensitive.

*/ inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; } /** *

The name of the custom medical vocabulary you want to update. Custom medical * vocabulary names are case sensitive.

*/ inline void SetVocabularyName(const Aws::String& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = value; } /** *

The name of the custom medical vocabulary you want to update. Custom medical * vocabulary names are case sensitive.

*/ inline void SetVocabularyName(Aws::String&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::move(value); } /** *

The name of the custom medical vocabulary you want to update. Custom medical * vocabulary names are case sensitive.

*/ inline void SetVocabularyName(const char* value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName.assign(value); } /** *

The name of the custom medical vocabulary you want to update. Custom medical * vocabulary names are case sensitive.

*/ inline UpdateMedicalVocabularyRequest& WithVocabularyName(const Aws::String& value) { SetVocabularyName(value); return *this;} /** *

The name of the custom medical vocabulary you want to update. Custom medical * vocabulary names are case sensitive.

*/ inline UpdateMedicalVocabularyRequest& WithVocabularyName(Aws::String&& value) { SetVocabularyName(std::move(value)); return *this;} /** *

The name of the custom medical vocabulary you want to update. Custom medical * vocabulary names are case sensitive.

*/ inline UpdateMedicalVocabularyRequest& WithVocabularyName(const char* value) { SetVocabularyName(value); return *this;} /** *

The language code that represents the language of the entries in the custom * vocabulary you want to update. US English (en-US) is the only * language supported with Amazon Transcribe Medical.

*/ inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; } /** *

The language code that represents the language of the entries in the custom * vocabulary you want to update. US English (en-US) is the only * language supported with Amazon Transcribe Medical.

*/ inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; } /** *

The language code that represents the language of the entries in the custom * vocabulary you want to update. US English (en-US) is the only * language supported with Amazon Transcribe Medical.

*/ inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; } /** *

The language code that represents the language of the entries in the custom * vocabulary you want to update. US English (en-US) is the only * language supported with Amazon Transcribe Medical.

*/ inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); } /** *

The language code that represents the language of the entries in the custom * vocabulary you want to update. US English (en-US) is the only * language supported with Amazon Transcribe Medical.

*/ inline UpdateMedicalVocabularyRequest& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;} /** *

The language code that represents the language of the entries in the custom * vocabulary you want to update. US English (en-US) is the only * language supported with Amazon Transcribe Medical.

*/ inline UpdateMedicalVocabularyRequest& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;} /** *

The Amazon S3 location of the text file that contains your custom medical * vocabulary. The URI must be located in the same Amazon Web Services Region as * the resource you're calling.

Here's an example URI path: * s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt

*/ inline const Aws::String& GetVocabularyFileUri() const{ return m_vocabularyFileUri; } /** *

The Amazon S3 location of the text file that contains your custom medical * vocabulary. The URI must be located in the same Amazon Web Services Region as * the resource you're calling.

Here's an example URI path: * s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt

*/ inline bool VocabularyFileUriHasBeenSet() const { return m_vocabularyFileUriHasBeenSet; } /** *

The Amazon S3 location of the text file that contains your custom medical * vocabulary. The URI must be located in the same Amazon Web Services Region as * the resource you're calling.

Here's an example URI path: * s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt

*/ inline void SetVocabularyFileUri(const Aws::String& value) { m_vocabularyFileUriHasBeenSet = true; m_vocabularyFileUri = value; } /** *

The Amazon S3 location of the text file that contains your custom medical * vocabulary. The URI must be located in the same Amazon Web Services Region as * the resource you're calling.

Here's an example URI path: * s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt

*/ inline void SetVocabularyFileUri(Aws::String&& value) { m_vocabularyFileUriHasBeenSet = true; m_vocabularyFileUri = std::move(value); } /** *

The Amazon S3 location of the text file that contains your custom medical * vocabulary. The URI must be located in the same Amazon Web Services Region as * the resource you're calling.

Here's an example URI path: * s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt

*/ inline void SetVocabularyFileUri(const char* value) { m_vocabularyFileUriHasBeenSet = true; m_vocabularyFileUri.assign(value); } /** *

The Amazon S3 location of the text file that contains your custom medical * vocabulary. The URI must be located in the same Amazon Web Services Region as * the resource you're calling.

Here's an example URI path: * s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt

*/ inline UpdateMedicalVocabularyRequest& WithVocabularyFileUri(const Aws::String& value) { SetVocabularyFileUri(value); return *this;} /** *

The Amazon S3 location of the text file that contains your custom medical * vocabulary. The URI must be located in the same Amazon Web Services Region as * the resource you're calling.

Here's an example URI path: * s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt

*/ inline UpdateMedicalVocabularyRequest& WithVocabularyFileUri(Aws::String&& value) { SetVocabularyFileUri(std::move(value)); return *this;} /** *

The Amazon S3 location of the text file that contains your custom medical * vocabulary. The URI must be located in the same Amazon Web Services Region as * the resource you're calling.

Here's an example URI path: * s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt

*/ inline UpdateMedicalVocabularyRequest& WithVocabularyFileUri(const char* value) { SetVocabularyFileUri(value); return *this;} private: Aws::String m_vocabularyName; bool m_vocabularyNameHasBeenSet = false; LanguageCode m_languageCode; bool m_languageCodeHasBeenSet = false; Aws::String m_vocabularyFileUri; bool m_vocabularyFileUriHasBeenSet = false; }; } // namespace Model } // namespace TranscribeService } // namespace Aws