/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The structure used to describe a custom language model.See
* Also:
AWS
* API Reference
The name of the custom language model.
*/ inline const Aws::String& GetModelName() const{ return m_modelName; } /** *The name of the custom language model.
*/ inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; } /** *The name of the custom language model.
*/ inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; } /** *The name of the custom language model.
*/ inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); } /** *The name of the custom language model.
*/ inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); } /** *The name of the custom language model.
*/ inline LanguageModel& WithModelName(const Aws::String& value) { SetModelName(value); return *this;} /** *The name of the custom language model.
*/ inline LanguageModel& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;} /** *The name of the custom language model.
*/ inline LanguageModel& WithModelName(const char* value) { SetModelName(value); return *this;} /** *The time the custom language model was created.
*/ inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** *The time the custom language model was created.
*/ inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** *The time the custom language model was created.
*/ inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** *The time the custom language model was created.
*/ inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** *The time the custom language model was created.
*/ inline LanguageModel& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** *The time the custom language model was created.
*/ inline LanguageModel& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** *The most recent time the custom language model was modified.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *The most recent time the custom language model was modified.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *The most recent time the custom language model was modified.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *The most recent time the custom language model was modified.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *The most recent time the custom language model was modified.
*/ inline LanguageModel& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *The most recent time the custom language model was modified.
*/ inline LanguageModel& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *The language code you used to create your custom language model.
*/ inline const CLMLanguageCode& GetLanguageCode() const{ return m_languageCode; } /** *The language code you used to create your custom language model.
*/ inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; } /** *The language code you used to create your custom language model.
*/ inline void SetLanguageCode(const CLMLanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; } /** *The language code you used to create your custom language model.
*/ inline void SetLanguageCode(CLMLanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); } /** *The language code you used to create your custom language model.
*/ inline LanguageModel& WithLanguageCode(const CLMLanguageCode& value) { SetLanguageCode(value); return *this;} /** *The language code you used to create your custom language model.
*/ inline LanguageModel& WithLanguageCode(CLMLanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;} /** *The Amazon Transcribe standard language model, or base model used to create * the custom language model.
*/ inline const BaseModelName& GetBaseModelName() const{ return m_baseModelName; } /** *The Amazon Transcribe standard language model, or base model used to create * the custom language model.
*/ inline bool BaseModelNameHasBeenSet() const { return m_baseModelNameHasBeenSet; } /** *The Amazon Transcribe standard language model, or base model used to create * the custom language model.
*/ inline void SetBaseModelName(const BaseModelName& value) { m_baseModelNameHasBeenSet = true; m_baseModelName = value; } /** *The Amazon Transcribe standard language model, or base model used to create * the custom language model.
*/ inline void SetBaseModelName(BaseModelName&& value) { m_baseModelNameHasBeenSet = true; m_baseModelName = std::move(value); } /** *The Amazon Transcribe standard language model, or base model used to create * the custom language model.
*/ inline LanguageModel& WithBaseModelName(const BaseModelName& value) { SetBaseModelName(value); return *this;} /** *The Amazon Transcribe standard language model, or base model used to create * the custom language model.
*/ inline LanguageModel& WithBaseModelName(BaseModelName&& value) { SetBaseModelName(std::move(value)); return *this;} /** *The creation status of a custom language model. When the status is
* COMPLETED the model is ready for use.
The creation status of a custom language model. When the status is
* COMPLETED the model is ready for use.
The creation status of a custom language model. When the status is
* COMPLETED the model is ready for use.
The creation status of a custom language model. When the status is
* COMPLETED the model is ready for use.
The creation status of a custom language model. When the status is
* COMPLETED the model is ready for use.
The creation status of a custom language model. When the status is
* COMPLETED the model is ready for use.
Whether the base model used for the custom language model is up to date. If
* this field is true then you are running the most up-to-date version
* of the base model in your custom language model.
Whether the base model used for the custom language model is up to date. If
* this field is true then you are running the most up-to-date version
* of the base model in your custom language model.
Whether the base model used for the custom language model is up to date. If
* this field is true then you are running the most up-to-date version
* of the base model in your custom language model.
Whether the base model used for the custom language model is up to date. If
* this field is true then you are running the most up-to-date version
* of the base model in your custom language model.
The reason why the custom language model couldn't be created.
*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *The reason why the custom language model couldn't be created.
*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *The reason why the custom language model couldn't be created.
*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *The reason why the custom language model couldn't be created.
*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *The reason why the custom language model couldn't be created.
*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *The reason why the custom language model couldn't be created.
*/ inline LanguageModel& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *The reason why the custom language model couldn't be created.
*/ inline LanguageModel& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *The reason why the custom language model couldn't be created.
*/ inline LanguageModel& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *The data access role and Amazon S3 prefixes for the input files used to train * the custom language model.
*/ inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; } /** *The data access role and Amazon S3 prefixes for the input files used to train * the custom language model.
*/ inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; } /** *The data access role and Amazon S3 prefixes for the input files used to train * the custom language model.
*/ inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; } /** *The data access role and Amazon S3 prefixes for the input files used to train * the custom language model.
*/ inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); } /** *The data access role and Amazon S3 prefixes for the input files used to train * the custom language model.
*/ inline LanguageModel& WithInputDataConfig(const InputDataConfig& value) { SetInputDataConfig(value); return *this;} /** *The data access role and Amazon S3 prefixes for the input files used to train * the custom language model.
*/ inline LanguageModel& WithInputDataConfig(InputDataConfig&& value) { SetInputDataConfig(std::move(value)); return *this;} private: Aws::String m_modelName; bool m_modelNameHasBeenSet; Aws::Utils::DateTime m_createTime; bool m_createTimeHasBeenSet; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet; CLMLanguageCode m_languageCode; bool m_languageCodeHasBeenSet; BaseModelName m_baseModelName; bool m_baseModelNameHasBeenSet; ModelStatus m_modelStatus; bool m_modelStatusHasBeenSet; bool m_upgradeAvailability; bool m_upgradeAvailabilityHasBeenSet; Aws::String m_failureReason; bool m_failureReasonHasBeenSet; InputDataConfig m_inputDataConfig; bool m_inputDataConfigHasBeenSet; }; } // namespace Model } // namespace TranscribeService } // namespace Aws