/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace TranscribeService { namespace Model { class GetMedicalVocabularyResult { public: AWS_TRANSCRIBESERVICE_API GetMedicalVocabularyResult(); AWS_TRANSCRIBESERVICE_API GetMedicalVocabularyResult(const Aws::AmazonWebServiceResult& result); AWS_TRANSCRIBESERVICE_API GetMedicalVocabularyResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the custom medical vocabulary you requested information * about.

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

The name of the custom medical vocabulary you requested information * about.

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

The name of the custom medical vocabulary you requested information * about.

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

The name of the custom medical vocabulary you requested information * about.

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

The name of the custom medical vocabulary you requested information * about.

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

The name of the custom medical vocabulary you requested information * about.

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

The name of the custom medical vocabulary you requested information * about.

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

The language code you selected for your custom medical 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 you selected for your custom medical vocabulary. US English * (en-US) is the only language supported with Amazon Transcribe * Medical.

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

The language code you selected for your custom medical vocabulary. US English * (en-US) is the only language supported with Amazon Transcribe * Medical.

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

The language code you selected for your custom medical vocabulary. US English * (en-US) is the only language supported with Amazon Transcribe * Medical.

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

The language code you selected for your custom medical vocabulary. US English * (en-US) is the only language supported with Amazon Transcribe * Medical.

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

The processing state of your custom medical vocabulary. If the state is * READY, you can use the custom vocabulary in a * StartMedicalTranscriptionJob request.

*/ inline const VocabularyState& GetVocabularyState() const{ return m_vocabularyState; } /** *

The processing state of your custom medical vocabulary. If the state is * READY, you can use the custom vocabulary in a * StartMedicalTranscriptionJob request.

*/ inline void SetVocabularyState(const VocabularyState& value) { m_vocabularyState = value; } /** *

The processing state of your custom medical vocabulary. If the state is * READY, you can use the custom vocabulary in a * StartMedicalTranscriptionJob request.

*/ inline void SetVocabularyState(VocabularyState&& value) { m_vocabularyState = std::move(value); } /** *

The processing state of your custom medical vocabulary. If the state is * READY, you can use the custom vocabulary in a * StartMedicalTranscriptionJob request.

*/ inline GetMedicalVocabularyResult& WithVocabularyState(const VocabularyState& value) { SetVocabularyState(value); return *this;} /** *

The processing state of your custom medical vocabulary. If the state is * READY, you can use the custom vocabulary in a * StartMedicalTranscriptionJob request.

*/ inline GetMedicalVocabularyResult& WithVocabularyState(VocabularyState&& value) { SetVocabularyState(std::move(value)); return *this;} /** *

The date and time the specified custom medical vocabulary was last * modified.

Timestamps are in the format * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, * 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May * 4, 2022.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

The date and time the specified custom medical vocabulary was last * modified.

Timestamps are in the format * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, * 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May * 4, 2022.

*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; } /** *

The date and time the specified custom medical vocabulary was last * modified.

Timestamps are in the format * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, * 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May * 4, 2022.

*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); } /** *

The date and time the specified custom medical vocabulary was last * modified.

Timestamps are in the format * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, * 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May * 4, 2022.

*/ inline GetMedicalVocabularyResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *

The date and time the specified custom medical vocabulary was last * modified.

Timestamps are in the format * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, * 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May * 4, 2022.

*/ inline GetMedicalVocabularyResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *

If VocabularyState is FAILED, * FailureReason contains information about why the custom medical * vocabulary request failed. See also: Common * Errors.

*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *

If VocabularyState is FAILED, * FailureReason contains information about why the custom medical * vocabulary request failed. See also: Common * Errors.

*/ inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; } /** *

If VocabularyState is FAILED, * FailureReason contains information about why the custom medical * vocabulary request failed. See also: Common * Errors.

*/ inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); } /** *

If VocabularyState is FAILED, * FailureReason contains information about why the custom medical * vocabulary request failed. See also: Common * Errors.

*/ inline void SetFailureReason(const char* value) { m_failureReason.assign(value); } /** *

If VocabularyState is FAILED, * FailureReason contains information about why the custom medical * vocabulary request failed. See also: Common * Errors.

*/ inline GetMedicalVocabularyResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *

If VocabularyState is FAILED, * FailureReason contains information about why the custom medical * vocabulary request failed. See also: Common * Errors.

*/ inline GetMedicalVocabularyResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *

If VocabularyState is FAILED, * FailureReason contains information about why the custom medical * vocabulary request failed. See also: Common * Errors.

*/ inline GetMedicalVocabularyResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *

The S3 location where the specified custom medical vocabulary is stored; use * this URI to view or download the custom vocabulary.

*/ inline const Aws::String& GetDownloadUri() const{ return m_downloadUri; } /** *

The S3 location where the specified custom medical vocabulary is stored; use * this URI to view or download the custom vocabulary.

*/ inline void SetDownloadUri(const Aws::String& value) { m_downloadUri = value; } /** *

The S3 location where the specified custom medical vocabulary is stored; use * this URI to view or download the custom vocabulary.

*/ inline void SetDownloadUri(Aws::String&& value) { m_downloadUri = std::move(value); } /** *

The S3 location where the specified custom medical vocabulary is stored; use * this URI to view or download the custom vocabulary.

*/ inline void SetDownloadUri(const char* value) { m_downloadUri.assign(value); } /** *

The S3 location where the specified custom medical vocabulary is stored; use * this URI to view or download the custom vocabulary.

*/ inline GetMedicalVocabularyResult& WithDownloadUri(const Aws::String& value) { SetDownloadUri(value); return *this;} /** *

The S3 location where the specified custom medical vocabulary is stored; use * this URI to view or download the custom vocabulary.

*/ inline GetMedicalVocabularyResult& WithDownloadUri(Aws::String&& value) { SetDownloadUri(std::move(value)); return *this;} /** *

The S3 location where the specified custom medical vocabulary is stored; use * this URI to view or download the custom vocabulary.

*/ inline GetMedicalVocabularyResult& WithDownloadUri(const char* value) { SetDownloadUri(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetMedicalVocabularyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetMedicalVocabularyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetMedicalVocabularyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_vocabularyName; LanguageCode m_languageCode; VocabularyState m_vocabularyState; Aws::Utils::DateTime m_lastModifiedTime; Aws::String m_failureReason; Aws::String m_downloadUri; Aws::String m_requestId; }; } // namespace Model } // namespace TranscribeService } // namespace Aws