/** * 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 #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace LexModelsV2 { namespace Model { class DescribeBotRecommendationResult { public: AWS_LEXMODELSV2_API DescribeBotRecommendationResult(); AWS_LEXMODELSV2_API DescribeBotRecommendationResult(const Aws::AmazonWebServiceResult& result); AWS_LEXMODELSV2_API DescribeBotRecommendationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier of the bot associated with the bot recommendation.

*/ inline const Aws::String& GetBotId() const{ return m_botId; } /** *

The identifier of the bot associated with the bot recommendation.

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

The identifier of the bot associated with the bot recommendation.

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

The identifier of the bot associated with the bot recommendation.

*/ inline void SetBotId(const char* value) { m_botId.assign(value); } /** *

The identifier of the bot associated with the bot recommendation.

*/ inline DescribeBotRecommendationResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;} /** *

The identifier of the bot associated with the bot recommendation.

*/ inline DescribeBotRecommendationResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;} /** *

The identifier of the bot associated with the bot recommendation.

*/ inline DescribeBotRecommendationResult& WithBotId(const char* value) { SetBotId(value); return *this;} /** *

The version of the bot associated with the bot recommendation.

*/ inline const Aws::String& GetBotVersion() const{ return m_botVersion; } /** *

The version of the bot associated with the bot recommendation.

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

The version of the bot associated with the bot recommendation.

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

The version of the bot associated with the bot recommendation.

*/ inline void SetBotVersion(const char* value) { m_botVersion.assign(value); } /** *

The version of the bot associated with the bot recommendation.

*/ inline DescribeBotRecommendationResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;} /** *

The version of the bot associated with the bot recommendation.

*/ inline DescribeBotRecommendationResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;} /** *

The version of the bot associated with the bot recommendation.

*/ inline DescribeBotRecommendationResult& WithBotVersion(const char* value) { SetBotVersion(value); return *this;} /** *

The identifier of the language and locale of the bot recommendation to * describe.

*/ inline const Aws::String& GetLocaleId() const{ return m_localeId; } /** *

The identifier of the language and locale of the bot recommendation to * describe.

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

The identifier of the language and locale of the bot recommendation to * describe.

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

The identifier of the language and locale of the bot recommendation to * describe.

*/ inline void SetLocaleId(const char* value) { m_localeId.assign(value); } /** *

The identifier of the language and locale of the bot recommendation to * describe.

*/ inline DescribeBotRecommendationResult& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;} /** *

The identifier of the language and locale of the bot recommendation to * describe.

*/ inline DescribeBotRecommendationResult& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;} /** *

The identifier of the language and locale of the bot recommendation to * describe.

*/ inline DescribeBotRecommendationResult& WithLocaleId(const char* value) { SetLocaleId(value); return *this;} /** *

The status of the bot recommendation. If the status is Failed, then the * reasons for the failure are listed in the failureReasons field.

*/ inline const BotRecommendationStatus& GetBotRecommendationStatus() const{ return m_botRecommendationStatus; } /** *

The status of the bot recommendation. If the status is Failed, then the * reasons for the failure are listed in the failureReasons field.

*/ inline void SetBotRecommendationStatus(const BotRecommendationStatus& value) { m_botRecommendationStatus = value; } /** *

The status of the bot recommendation. If the status is Failed, then the * reasons for the failure are listed in the failureReasons field.

*/ inline void SetBotRecommendationStatus(BotRecommendationStatus&& value) { m_botRecommendationStatus = std::move(value); } /** *

The status of the bot recommendation. If the status is Failed, then the * reasons for the failure are listed in the failureReasons field.

*/ inline DescribeBotRecommendationResult& WithBotRecommendationStatus(const BotRecommendationStatus& value) { SetBotRecommendationStatus(value); return *this;} /** *

The status of the bot recommendation. If the status is Failed, then the * reasons for the failure are listed in the failureReasons field.

*/ inline DescribeBotRecommendationResult& WithBotRecommendationStatus(BotRecommendationStatus&& value) { SetBotRecommendationStatus(std::move(value)); return *this;} /** *

The identifier of the bot recommendation being described.

*/ inline const Aws::String& GetBotRecommendationId() const{ return m_botRecommendationId; } /** *

The identifier of the bot recommendation being described.

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

The identifier of the bot recommendation being described.

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

The identifier of the bot recommendation being described.

*/ inline void SetBotRecommendationId(const char* value) { m_botRecommendationId.assign(value); } /** *

The identifier of the bot recommendation being described.

*/ inline DescribeBotRecommendationResult& WithBotRecommendationId(const Aws::String& value) { SetBotRecommendationId(value); return *this;} /** *

The identifier of the bot recommendation being described.

*/ inline DescribeBotRecommendationResult& WithBotRecommendationId(Aws::String&& value) { SetBotRecommendationId(std::move(value)); return *this;} /** *

The identifier of the bot recommendation being described.

*/ inline DescribeBotRecommendationResult& WithBotRecommendationId(const char* value) { SetBotRecommendationId(value); return *this;} /** *

If botRecommendationStatus is Failed, Amazon Lex explains why.

*/ inline const Aws::Vector& GetFailureReasons() const{ return m_failureReasons; } /** *

If botRecommendationStatus is Failed, Amazon Lex explains why.

*/ inline void SetFailureReasons(const Aws::Vector& value) { m_failureReasons = value; } /** *

If botRecommendationStatus is Failed, Amazon Lex explains why.

*/ inline void SetFailureReasons(Aws::Vector&& value) { m_failureReasons = std::move(value); } /** *

If botRecommendationStatus is Failed, Amazon Lex explains why.

*/ inline DescribeBotRecommendationResult& WithFailureReasons(const Aws::Vector& value) { SetFailureReasons(value); return *this;} /** *

If botRecommendationStatus is Failed, Amazon Lex explains why.

*/ inline DescribeBotRecommendationResult& WithFailureReasons(Aws::Vector&& value) { SetFailureReasons(std::move(value)); return *this;} /** *

If botRecommendationStatus is Failed, Amazon Lex explains why.

*/ inline DescribeBotRecommendationResult& AddFailureReasons(const Aws::String& value) { m_failureReasons.push_back(value); return *this; } /** *

If botRecommendationStatus is Failed, Amazon Lex explains why.

*/ inline DescribeBotRecommendationResult& AddFailureReasons(Aws::String&& value) { m_failureReasons.push_back(std::move(value)); return *this; } /** *

If botRecommendationStatus is Failed, Amazon Lex explains why.

*/ inline DescribeBotRecommendationResult& AddFailureReasons(const char* value) { m_failureReasons.push_back(value); return *this; } /** *

The date and time that the bot recommendation was created.

*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *

The date and time that the bot recommendation was created.

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

The date and time that the bot recommendation was created.

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

The date and time that the bot recommendation was created.

*/ inline DescribeBotRecommendationResult& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *

The date and time that the bot recommendation was created.

*/ inline DescribeBotRecommendationResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *

The date and time that the bot recommendation was last updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; } /** *

The date and time that the bot recommendation was last updated.

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

The date and time that the bot recommendation was last updated.

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

The date and time that the bot recommendation was last updated.

*/ inline DescribeBotRecommendationResult& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;} /** *

The date and time that the bot recommendation was last updated.

*/ inline DescribeBotRecommendationResult& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;} /** *

The object representing the Amazon S3 bucket containing the transcript, as * well as the associated metadata.

*/ inline const TranscriptSourceSetting& GetTranscriptSourceSetting() const{ return m_transcriptSourceSetting; } /** *

The object representing the Amazon S3 bucket containing the transcript, as * well as the associated metadata.

*/ inline void SetTranscriptSourceSetting(const TranscriptSourceSetting& value) { m_transcriptSourceSetting = value; } /** *

The object representing the Amazon S3 bucket containing the transcript, as * well as the associated metadata.

*/ inline void SetTranscriptSourceSetting(TranscriptSourceSetting&& value) { m_transcriptSourceSetting = std::move(value); } /** *

The object representing the Amazon S3 bucket containing the transcript, as * well as the associated metadata.

*/ inline DescribeBotRecommendationResult& WithTranscriptSourceSetting(const TranscriptSourceSetting& value) { SetTranscriptSourceSetting(value); return *this;} /** *

The object representing the Amazon S3 bucket containing the transcript, as * well as the associated metadata.

*/ inline DescribeBotRecommendationResult& WithTranscriptSourceSetting(TranscriptSourceSetting&& value) { SetTranscriptSourceSetting(std::move(value)); return *this;} /** *

The object representing the passwords that were used to encrypt the data * related to the bot recommendation results, as well as the KMS key ARN used to * encrypt the associated metadata.

*/ inline const EncryptionSetting& GetEncryptionSetting() const{ return m_encryptionSetting; } /** *

The object representing the passwords that were used to encrypt the data * related to the bot recommendation results, as well as the KMS key ARN used to * encrypt the associated metadata.

*/ inline void SetEncryptionSetting(const EncryptionSetting& value) { m_encryptionSetting = value; } /** *

The object representing the passwords that were used to encrypt the data * related to the bot recommendation results, as well as the KMS key ARN used to * encrypt the associated metadata.

*/ inline void SetEncryptionSetting(EncryptionSetting&& value) { m_encryptionSetting = std::move(value); } /** *

The object representing the passwords that were used to encrypt the data * related to the bot recommendation results, as well as the KMS key ARN used to * encrypt the associated metadata.

*/ inline DescribeBotRecommendationResult& WithEncryptionSetting(const EncryptionSetting& value) { SetEncryptionSetting(value); return *this;} /** *

The object representing the passwords that were used to encrypt the data * related to the bot recommendation results, as well as the KMS key ARN used to * encrypt the associated metadata.

*/ inline DescribeBotRecommendationResult& WithEncryptionSetting(EncryptionSetting&& value) { SetEncryptionSetting(std::move(value)); return *this;} /** *

The object representing the URL of the bot definition, the URL of the * associated transcript and a statistical summary of the bot recommendation * results.

*/ inline const BotRecommendationResults& GetBotRecommendationResults() const{ return m_botRecommendationResults; } /** *

The object representing the URL of the bot definition, the URL of the * associated transcript and a statistical summary of the bot recommendation * results.

*/ inline void SetBotRecommendationResults(const BotRecommendationResults& value) { m_botRecommendationResults = value; } /** *

The object representing the URL of the bot definition, the URL of the * associated transcript and a statistical summary of the bot recommendation * results.

*/ inline void SetBotRecommendationResults(BotRecommendationResults&& value) { m_botRecommendationResults = std::move(value); } /** *

The object representing the URL of the bot definition, the URL of the * associated transcript and a statistical summary of the bot recommendation * results.

*/ inline DescribeBotRecommendationResult& WithBotRecommendationResults(const BotRecommendationResults& value) { SetBotRecommendationResults(value); return *this;} /** *

The object representing the URL of the bot definition, the URL of the * associated transcript and a statistical summary of the bot recommendation * results.

*/ inline DescribeBotRecommendationResult& WithBotRecommendationResults(BotRecommendationResults&& value) { SetBotRecommendationResults(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 DescribeBotRecommendationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeBotRecommendationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeBotRecommendationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_botId; Aws::String m_botVersion; Aws::String m_localeId; BotRecommendationStatus m_botRecommendationStatus; Aws::String m_botRecommendationId; Aws::Vector m_failureReasons; Aws::Utils::DateTime m_creationDateTime; Aws::Utils::DateTime m_lastUpdatedDateTime; TranscriptSourceSetting m_transcriptSourceSetting; EncryptionSetting m_encryptionSetting; BotRecommendationResults m_botRecommendationResults; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws