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

Provides information about the specified custom language model.

This * parameter also shows if the base language model you used to create your custom * language model has been updated. If Amazon Transcribe has updated the base * model, you can create a new custom language model using the updated base * model.

If you tried to create a new custom language model and the request * wasn't successful, you can use this DescribeLanguageModel to help * identify the reason for this failure.

*/ inline const LanguageModel& GetLanguageModel() const{ return m_languageModel; } /** *

Provides information about the specified custom language model.

This * parameter also shows if the base language model you used to create your custom * language model has been updated. If Amazon Transcribe has updated the base * model, you can create a new custom language model using the updated base * model.

If you tried to create a new custom language model and the request * wasn't successful, you can use this DescribeLanguageModel to help * identify the reason for this failure.

*/ inline void SetLanguageModel(const LanguageModel& value) { m_languageModel = value; } /** *

Provides information about the specified custom language model.

This * parameter also shows if the base language model you used to create your custom * language model has been updated. If Amazon Transcribe has updated the base * model, you can create a new custom language model using the updated base * model.

If you tried to create a new custom language model and the request * wasn't successful, you can use this DescribeLanguageModel to help * identify the reason for this failure.

*/ inline void SetLanguageModel(LanguageModel&& value) { m_languageModel = std::move(value); } /** *

Provides information about the specified custom language model.

This * parameter also shows if the base language model you used to create your custom * language model has been updated. If Amazon Transcribe has updated the base * model, you can create a new custom language model using the updated base * model.

If you tried to create a new custom language model and the request * wasn't successful, you can use this DescribeLanguageModel to help * identify the reason for this failure.

*/ inline DescribeLanguageModelResult& WithLanguageModel(const LanguageModel& value) { SetLanguageModel(value); return *this;} /** *

Provides information about the specified custom language model.

This * parameter also shows if the base language model you used to create your custom * language model has been updated. If Amazon Transcribe has updated the base * model, you can create a new custom language model using the updated base * model.

If you tried to create a new custom language model and the request * wasn't successful, you can use this DescribeLanguageModel to help * identify the reason for this failure.

*/ inline DescribeLanguageModelResult& WithLanguageModel(LanguageModel&& value) { SetLanguageModel(std::move(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 DescribeLanguageModelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeLanguageModelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeLanguageModelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: LanguageModel m_languageModel; Aws::String m_requestId; }; } // namespace Model } // namespace TranscribeService } // namespace Aws