/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace TranscribeService { namespace Model { /** */ class CreateMedicalVocabularyRequest : public TranscribeServiceRequest { public: AWS_TRANSCRIBESERVICE_API CreateMedicalVocabularyRequest(); // 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 "CreateMedicalVocabulary"; } AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override; AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A unique name, chosen by you, for your new custom medical vocabulary.

*

This name is case sensitive, cannot contain spaces, and must be unique within * an Amazon Web Services account. If you try to create a new custom medical * vocabulary with the same name as an existing custom medical vocabulary, you get * a ConflictException error.

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

A unique name, chosen by you, for your new custom medical vocabulary.

*

This name is case sensitive, cannot contain spaces, and must be unique within * an Amazon Web Services account. If you try to create a new custom medical * vocabulary with the same name as an existing custom medical vocabulary, you get * a ConflictException error.

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

A unique name, chosen by you, for your new custom medical vocabulary.

*

This name is case sensitive, cannot contain spaces, and must be unique within * an Amazon Web Services account. If you try to create a new custom medical * vocabulary with the same name as an existing custom medical vocabulary, you get * a ConflictException error.

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

A unique name, chosen by you, for your new custom medical vocabulary.

*

This name is case sensitive, cannot contain spaces, and must be unique within * an Amazon Web Services account. If you try to create a new custom medical * vocabulary with the same name as an existing custom medical vocabulary, you get * a ConflictException error.

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

A unique name, chosen by you, for your new custom medical vocabulary.

*

This name is case sensitive, cannot contain spaces, and must be unique within * an Amazon Web Services account. If you try to create a new custom medical * vocabulary with the same name as an existing custom medical vocabulary, you get * a ConflictException error.

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

A unique name, chosen by you, for your new custom medical vocabulary.

*

This name is case sensitive, cannot contain spaces, and must be unique within * an Amazon Web Services account. If you try to create a new custom medical * vocabulary with the same name as an existing custom medical vocabulary, you get * a ConflictException error.

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

A unique name, chosen by you, for your new custom medical vocabulary.

*

This name is case sensitive, cannot contain spaces, and must be unique within * an Amazon Web Services account. If you try to create a new custom medical * vocabulary with the same name as an existing custom medical vocabulary, you get * a ConflictException error.

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

A unique name, chosen by you, for your new custom medical vocabulary.

*

This name is case sensitive, cannot contain spaces, and must be unique within * an Amazon Web Services account. If you try to create a new custom medical * vocabulary with the same name as an existing custom medical vocabulary, you get * a ConflictException error.

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

The language code that represents the language of the entries in your custom * vocabulary. 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 your custom * vocabulary. 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 your custom * vocabulary. 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 your custom * vocabulary. 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 your custom * vocabulary. US English (en-US) is the only language supported with * Amazon Transcribe Medical.

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

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

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

The Amazon S3 location (URI) of the text file that contains your custom * medical vocabulary. The URI must be 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 (URI) of the text file that contains your custom * medical vocabulary. The URI must be 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 (URI) of the text file that contains your custom * medical vocabulary. The URI must be 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 (URI) of the text file that contains your custom * medical vocabulary. The URI must be 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 (URI) of the text file that contains your custom * medical vocabulary. The URI must be 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 (URI) of the text file that contains your custom * medical vocabulary. The URI must be 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 CreateMedicalVocabularyRequest& WithVocabularyFileUri(const Aws::String& value) { SetVocabularyFileUri(value); return *this;} /** *

The Amazon S3 location (URI) of the text file that contains your custom * medical vocabulary. The URI must be 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 CreateMedicalVocabularyRequest& WithVocabularyFileUri(Aws::String&& value) { SetVocabularyFileUri(std::move(value)); return *this;} /** *

The Amazon S3 location (URI) of the text file that contains your custom * medical vocabulary. The URI must be 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 CreateMedicalVocabularyRequest& WithVocabularyFileUri(const char* value) { SetVocabularyFileUri(value); return *this;} /** *

Adds one or more custom tags, each in the form of a key:value pair, to a new * custom medical vocabulary at the time you create this new custom vocabulary.

*

To learn more about using tags with Amazon Transcribe, refer to Tagging * resources.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

Adds one or more custom tags, each in the form of a key:value pair, to a new * custom medical vocabulary at the time you create this new custom vocabulary.

*

To learn more about using tags with Amazon Transcribe, refer to Tagging * resources.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

Adds one or more custom tags, each in the form of a key:value pair, to a new * custom medical vocabulary at the time you create this new custom vocabulary.

*

To learn more about using tags with Amazon Transcribe, refer to Tagging * resources.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

Adds one or more custom tags, each in the form of a key:value pair, to a new * custom medical vocabulary at the time you create this new custom vocabulary.

*

To learn more about using tags with Amazon Transcribe, refer to Tagging * resources.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

Adds one or more custom tags, each in the form of a key:value pair, to a new * custom medical vocabulary at the time you create this new custom vocabulary.

*

To learn more about using tags with Amazon Transcribe, refer to Tagging * resources.

*/ inline CreateMedicalVocabularyRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

Adds one or more custom tags, each in the form of a key:value pair, to a new * custom medical vocabulary at the time you create this new custom vocabulary.

*

To learn more about using tags with Amazon Transcribe, refer to Tagging * resources.

*/ inline CreateMedicalVocabularyRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

Adds one or more custom tags, each in the form of a key:value pair, to a new * custom medical vocabulary at the time you create this new custom vocabulary.

*

To learn more about using tags with Amazon Transcribe, refer to Tagging * resources.

*/ inline CreateMedicalVocabularyRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

Adds one or more custom tags, each in the form of a key:value pair, to a new * custom medical vocabulary at the time you create this new custom vocabulary.

*

To learn more about using tags with Amazon Transcribe, refer to Tagging * resources.

*/ inline CreateMedicalVocabularyRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(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; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace TranscribeService } // namespace Aws