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

The name of the bot.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the bot.

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

The name of the bot.

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

The name of the bot.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the bot.

*/ inline PutBotResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the bot.

*/ inline PutBotResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the bot.

*/ inline PutBotResult& WithName(const char* value) { SetName(value); return *this;} /** *

A description of the bot.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description of the bot.

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

A description of the bot.

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

A description of the bot.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

A description of the bot.

*/ inline PutBotResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description of the bot.

*/ inline PutBotResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description of the bot.

*/ inline PutBotResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

An array of Intent objects. For more information, see * PutBot.

*/ inline const Aws::Vector& GetIntents() const{ return m_intents; } /** *

An array of Intent objects. For more information, see * PutBot.

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

An array of Intent objects. For more information, see * PutBot.

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

An array of Intent objects. For more information, see * PutBot.

*/ inline PutBotResult& WithIntents(const Aws::Vector& value) { SetIntents(value); return *this;} /** *

An array of Intent objects. For more information, see * PutBot.

*/ inline PutBotResult& WithIntents(Aws::Vector&& value) { SetIntents(std::move(value)); return *this;} /** *

An array of Intent objects. For more information, see * PutBot.

*/ inline PutBotResult& AddIntents(const Intent& value) { m_intents.push_back(value); return *this; } /** *

An array of Intent objects. For more information, see * PutBot.

*/ inline PutBotResult& AddIntents(Intent&& value) { m_intents.push_back(std::move(value)); return *this; } /** *

Indicates whether the bot uses accuracy improvements. true * indicates that the bot is using the improvements, otherwise, * false.

*/ inline bool GetEnableModelImprovements() const{ return m_enableModelImprovements; } /** *

Indicates whether the bot uses accuracy improvements. true * indicates that the bot is using the improvements, otherwise, * false.

*/ inline void SetEnableModelImprovements(bool value) { m_enableModelImprovements = value; } /** *

Indicates whether the bot uses accuracy improvements. true * indicates that the bot is using the improvements, otherwise, * false.

*/ inline PutBotResult& WithEnableModelImprovements(bool value) { SetEnableModelImprovements(value); return *this;} /** *

The score that determines where Amazon Lex inserts the * AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or * both when returning alternative intents in a PostContent * or PostText * response. AMAZON.FallbackIntent is inserted if the confidence score * for all intents is below this value. AMAZON.KendraSearchIntent is * only inserted if it is configured for the bot.

*/ inline double GetNluIntentConfidenceThreshold() const{ return m_nluIntentConfidenceThreshold; } /** *

The score that determines where Amazon Lex inserts the * AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or * both when returning alternative intents in a PostContent * or PostText * response. AMAZON.FallbackIntent is inserted if the confidence score * for all intents is below this value. AMAZON.KendraSearchIntent is * only inserted if it is configured for the bot.

*/ inline void SetNluIntentConfidenceThreshold(double value) { m_nluIntentConfidenceThreshold = value; } /** *

The score that determines where Amazon Lex inserts the * AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or * both when returning alternative intents in a PostContent * or PostText * response. AMAZON.FallbackIntent is inserted if the confidence score * for all intents is below this value. AMAZON.KendraSearchIntent is * only inserted if it is configured for the bot.

*/ inline PutBotResult& WithNluIntentConfidenceThreshold(double value) { SetNluIntentConfidenceThreshold(value); return *this;} /** *

The prompts that Amazon Lex uses when it doesn't understand the user's * intent. For more information, see PutBot.

*/ inline const Prompt& GetClarificationPrompt() const{ return m_clarificationPrompt; } /** *

The prompts that Amazon Lex uses when it doesn't understand the user's * intent. For more information, see PutBot.

*/ inline void SetClarificationPrompt(const Prompt& value) { m_clarificationPrompt = value; } /** *

The prompts that Amazon Lex uses when it doesn't understand the user's * intent. For more information, see PutBot.

*/ inline void SetClarificationPrompt(Prompt&& value) { m_clarificationPrompt = std::move(value); } /** *

The prompts that Amazon Lex uses when it doesn't understand the user's * intent. For more information, see PutBot.

*/ inline PutBotResult& WithClarificationPrompt(const Prompt& value) { SetClarificationPrompt(value); return *this;} /** *

The prompts that Amazon Lex uses when it doesn't understand the user's * intent. For more information, see PutBot.

*/ inline PutBotResult& WithClarificationPrompt(Prompt&& value) { SetClarificationPrompt(std::move(value)); return *this;} /** *

The message that Amazon Lex uses to cancel a conversation. For more * information, see PutBot.

*/ inline const Statement& GetAbortStatement() const{ return m_abortStatement; } /** *

The message that Amazon Lex uses to cancel a conversation. For more * information, see PutBot.

*/ inline void SetAbortStatement(const Statement& value) { m_abortStatement = value; } /** *

The message that Amazon Lex uses to cancel a conversation. For more * information, see PutBot.

*/ inline void SetAbortStatement(Statement&& value) { m_abortStatement = std::move(value); } /** *

The message that Amazon Lex uses to cancel a conversation. For more * information, see PutBot.

*/ inline PutBotResult& WithAbortStatement(const Statement& value) { SetAbortStatement(value); return *this;} /** *

The message that Amazon Lex uses to cancel a conversation. For more * information, see PutBot.

*/ inline PutBotResult& WithAbortStatement(Statement&& value) { SetAbortStatement(std::move(value)); return *this;} /** *

When you send a request to create a bot with processBehavior * set to BUILD, Amazon Lex sets the status response * element to BUILDING.

In the READY_BASIC_TESTING * state you can test the bot with user inputs that exactly match the utterances * configured for the bot's intents and values in the slot types.

If Amazon * Lex can't build the bot, Amazon Lex sets status to * FAILED. Amazon Lex returns the reason for the failure in the * failureReason response element.

When you set * processBehavior to SAVE, Amazon Lex sets the status * code to NOT BUILT.

When the bot is in the READY * state you can test and publish the bot.

*/ inline const Status& GetStatus() const{ return m_status; } /** *

When you send a request to create a bot with processBehavior * set to BUILD, Amazon Lex sets the status response * element to BUILDING.

In the READY_BASIC_TESTING * state you can test the bot with user inputs that exactly match the utterances * configured for the bot's intents and values in the slot types.

If Amazon * Lex can't build the bot, Amazon Lex sets status to * FAILED. Amazon Lex returns the reason for the failure in the * failureReason response element.

When you set * processBehavior to SAVE, Amazon Lex sets the status * code to NOT BUILT.

When the bot is in the READY * state you can test and publish the bot.

*/ inline void SetStatus(const Status& value) { m_status = value; } /** *

When you send a request to create a bot with processBehavior * set to BUILD, Amazon Lex sets the status response * element to BUILDING.

In the READY_BASIC_TESTING * state you can test the bot with user inputs that exactly match the utterances * configured for the bot's intents and values in the slot types.

If Amazon * Lex can't build the bot, Amazon Lex sets status to * FAILED. Amazon Lex returns the reason for the failure in the * failureReason response element.

When you set * processBehavior to SAVE, Amazon Lex sets the status * code to NOT BUILT.

When the bot is in the READY * state you can test and publish the bot.

*/ inline void SetStatus(Status&& value) { m_status = std::move(value); } /** *

When you send a request to create a bot with processBehavior * set to BUILD, Amazon Lex sets the status response * element to BUILDING.

In the READY_BASIC_TESTING * state you can test the bot with user inputs that exactly match the utterances * configured for the bot's intents and values in the slot types.

If Amazon * Lex can't build the bot, Amazon Lex sets status to * FAILED. Amazon Lex returns the reason for the failure in the * failureReason response element.

When you set * processBehavior to SAVE, Amazon Lex sets the status * code to NOT BUILT.

When the bot is in the READY * state you can test and publish the bot.

*/ inline PutBotResult& WithStatus(const Status& value) { SetStatus(value); return *this;} /** *

When you send a request to create a bot with processBehavior * set to BUILD, Amazon Lex sets the status response * element to BUILDING.

In the READY_BASIC_TESTING * state you can test the bot with user inputs that exactly match the utterances * configured for the bot's intents and values in the slot types.

If Amazon * Lex can't build the bot, Amazon Lex sets status to * FAILED. Amazon Lex returns the reason for the failure in the * failureReason response element.

When you set * processBehavior to SAVE, Amazon Lex sets the status * code to NOT BUILT.

When the bot is in the READY * state you can test and publish the bot.

*/ inline PutBotResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} /** *

If status is FAILED, Amazon Lex provides the reason * that it failed to build the bot.

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

If status is FAILED, Amazon Lex provides the reason * that it failed to build the bot.

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

If status is FAILED, Amazon Lex provides the reason * that it failed to build the bot.

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

If status is FAILED, Amazon Lex provides the reason * that it failed to build the bot.

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

If status is FAILED, Amazon Lex provides the reason * that it failed to build the bot.

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

If status is FAILED, Amazon Lex provides the reason * that it failed to build the bot.

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

If status is FAILED, Amazon Lex provides the reason * that it failed to build the bot.

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

The date that the bot was updated. When you create a resource, the creation * date and last updated date are the same.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; } /** *

The date that the bot was updated. When you create a resource, the creation * date and last updated date are the same.

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

The date that the bot was updated. When you create a resource, the creation * date and last updated date are the same.

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

The date that the bot was updated. When you create a resource, the creation * date and last updated date are the same.

*/ inline PutBotResult& WithLastUpdatedDate(const Aws::Utils::DateTime& value) { SetLastUpdatedDate(value); return *this;} /** *

The date that the bot was updated. When you create a resource, the creation * date and last updated date are the same.

*/ inline PutBotResult& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;} /** *

The date that the bot was created.

*/ inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; } /** *

The date that the bot was created.

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

The date that the bot was created.

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

The date that the bot was created.

*/ inline PutBotResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;} /** *

The date that the bot was created.

*/ inline PutBotResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;} /** *

The maximum length of time that Amazon Lex retains the data gathered in a * conversation. For more information, see PutBot.

*/ inline int GetIdleSessionTTLInSeconds() const{ return m_idleSessionTTLInSeconds; } /** *

The maximum length of time that Amazon Lex retains the data gathered in a * conversation. For more information, see PutBot.

*/ inline void SetIdleSessionTTLInSeconds(int value) { m_idleSessionTTLInSeconds = value; } /** *

The maximum length of time that Amazon Lex retains the data gathered in a * conversation. For more information, see PutBot.

*/ inline PutBotResult& WithIdleSessionTTLInSeconds(int value) { SetIdleSessionTTLInSeconds(value); return *this;} /** *

The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the * user. For more information, see PutBot.

*/ inline const Aws::String& GetVoiceId() const{ return m_voiceId; } /** *

The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the * user. For more information, see PutBot.

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

The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the * user. For more information, see PutBot.

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

The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the * user. For more information, see PutBot.

*/ inline void SetVoiceId(const char* value) { m_voiceId.assign(value); } /** *

The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the * user. For more information, see PutBot.

*/ inline PutBotResult& WithVoiceId(const Aws::String& value) { SetVoiceId(value); return *this;} /** *

The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the * user. For more information, see PutBot.

*/ inline PutBotResult& WithVoiceId(Aws::String&& value) { SetVoiceId(std::move(value)); return *this;} /** *

The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the * user. For more information, see PutBot.

*/ inline PutBotResult& WithVoiceId(const char* value) { SetVoiceId(value); return *this;} /** *

Checksum of the bot that you created.

*/ inline const Aws::String& GetChecksum() const{ return m_checksum; } /** *

Checksum of the bot that you created.

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

Checksum of the bot that you created.

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

Checksum of the bot that you created.

*/ inline void SetChecksum(const char* value) { m_checksum.assign(value); } /** *

Checksum of the bot that you created.

*/ inline PutBotResult& WithChecksum(const Aws::String& value) { SetChecksum(value); return *this;} /** *

Checksum of the bot that you created.

*/ inline PutBotResult& WithChecksum(Aws::String&& value) { SetChecksum(std::move(value)); return *this;} /** *

Checksum of the bot that you created.

*/ inline PutBotResult& WithChecksum(const char* value) { SetChecksum(value); return *this;} /** *

The version of the bot. For a new bot, the version is always * $LATEST.

*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *

The version of the bot. For a new bot, the version is always * $LATEST.

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

The version of the bot. For a new bot, the version is always * $LATEST.

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

The version of the bot. For a new bot, the version is always * $LATEST.

*/ inline void SetVersion(const char* value) { m_version.assign(value); } /** *

The version of the bot. For a new bot, the version is always * $LATEST.

*/ inline PutBotResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *

The version of the bot. For a new bot, the version is always * $LATEST.

*/ inline PutBotResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *

The version of the bot. For a new bot, the version is always * $LATEST.

*/ inline PutBotResult& WithVersion(const char* value) { SetVersion(value); return *this;} /** *

The target locale for the bot.

*/ inline const Locale& GetLocale() const{ return m_locale; } /** *

The target locale for the bot.

*/ inline void SetLocale(const Locale& value) { m_locale = value; } /** *

The target locale for the bot.

*/ inline void SetLocale(Locale&& value) { m_locale = std::move(value); } /** *

The target locale for the bot.

*/ inline PutBotResult& WithLocale(const Locale& value) { SetLocale(value); return *this;} /** *

The target locale for the bot.

*/ inline PutBotResult& WithLocale(Locale&& value) { SetLocale(std::move(value)); return *this;} /** *

For each Amazon Lex bot created with the Amazon Lex Model Building Service, * you must specify whether your use of Amazon Lex is related to a website, * program, or other application that is directed or targeted, in whole or in part, * to children under age 13 and subject to the Children's Online Privacy Protection * Act (COPPA) by specifying true or false in the * childDirected field. By specifying true in the * childDirected field, you confirm that your use of Amazon Lex * is related to a website, program, or other application that is directed * or targeted, in whole or in part, to children under age 13 and subject to COPPA. * By specifying false in the childDirected field, you * confirm that your use of Amazon Lex is not related to a website, program, * or other application that is directed or targeted, in whole or in part, to * children under age 13 and subject to COPPA. You may not specify a default value * for the childDirected field that does not accurately reflect * whether your use of Amazon Lex is related to a website, program, or other * application that is directed or targeted, in whole or in part, to children under * age 13 and subject to COPPA.

If your use of Amazon Lex relates to a * website, program, or other application that is directed in whole or in part, to * children under age 13, you must obtain any required verifiable parental consent * under COPPA. For information regarding the use of Amazon Lex in connection with * websites, programs, or other applications that are directed or targeted, in * whole or in part, to children under age 13, see the Amazon Lex FAQ.

*/ inline bool GetChildDirected() const{ return m_childDirected; } /** *

For each Amazon Lex bot created with the Amazon Lex Model Building Service, * you must specify whether your use of Amazon Lex is related to a website, * program, or other application that is directed or targeted, in whole or in part, * to children under age 13 and subject to the Children's Online Privacy Protection * Act (COPPA) by specifying true or false in the * childDirected field. By specifying true in the * childDirected field, you confirm that your use of Amazon Lex * is related to a website, program, or other application that is directed * or targeted, in whole or in part, to children under age 13 and subject to COPPA. * By specifying false in the childDirected field, you * confirm that your use of Amazon Lex is not related to a website, program, * or other application that is directed or targeted, in whole or in part, to * children under age 13 and subject to COPPA. You may not specify a default value * for the childDirected field that does not accurately reflect * whether your use of Amazon Lex is related to a website, program, or other * application that is directed or targeted, in whole or in part, to children under * age 13 and subject to COPPA.

If your use of Amazon Lex relates to a * website, program, or other application that is directed in whole or in part, to * children under age 13, you must obtain any required verifiable parental consent * under COPPA. For information regarding the use of Amazon Lex in connection with * websites, programs, or other applications that are directed or targeted, in * whole or in part, to children under age 13, see the Amazon Lex FAQ.

*/ inline void SetChildDirected(bool value) { m_childDirected = value; } /** *

For each Amazon Lex bot created with the Amazon Lex Model Building Service, * you must specify whether your use of Amazon Lex is related to a website, * program, or other application that is directed or targeted, in whole or in part, * to children under age 13 and subject to the Children's Online Privacy Protection * Act (COPPA) by specifying true or false in the * childDirected field. By specifying true in the * childDirected field, you confirm that your use of Amazon Lex * is related to a website, program, or other application that is directed * or targeted, in whole or in part, to children under age 13 and subject to COPPA. * By specifying false in the childDirected field, you * confirm that your use of Amazon Lex is not related to a website, program, * or other application that is directed or targeted, in whole or in part, to * children under age 13 and subject to COPPA. You may not specify a default value * for the childDirected field that does not accurately reflect * whether your use of Amazon Lex is related to a website, program, or other * application that is directed or targeted, in whole or in part, to children under * age 13 and subject to COPPA.

If your use of Amazon Lex relates to a * website, program, or other application that is directed in whole or in part, to * children under age 13, you must obtain any required verifiable parental consent * under COPPA. For information regarding the use of Amazon Lex in connection with * websites, programs, or other applications that are directed or targeted, in * whole or in part, to children under age 13, see the Amazon Lex FAQ.

*/ inline PutBotResult& WithChildDirected(bool value) { SetChildDirected(value); return *this;} /** *

True if a new version of the bot was created. If the * createVersion field was not specified in the request, the * createVersion field is set to false in the response.

*/ inline bool GetCreateVersion() const{ return m_createVersion; } /** *

True if a new version of the bot was created. If the * createVersion field was not specified in the request, the * createVersion field is set to false in the response.

*/ inline void SetCreateVersion(bool value) { m_createVersion = value; } /** *

True if a new version of the bot was created. If the * createVersion field was not specified in the request, the * createVersion field is set to false in the response.

*/ inline PutBotResult& WithCreateVersion(bool value) { SetCreateVersion(value); return *this;} /** *

true if the bot is configured to send user utterances to Amazon * Comprehend for sentiment analysis. If the detectSentiment field was * not specified in the request, the detectSentiment field is * false in the response.

*/ inline bool GetDetectSentiment() const{ return m_detectSentiment; } /** *

true if the bot is configured to send user utterances to Amazon * Comprehend for sentiment analysis. If the detectSentiment field was * not specified in the request, the detectSentiment field is * false in the response.

*/ inline void SetDetectSentiment(bool value) { m_detectSentiment = value; } /** *

true if the bot is configured to send user utterances to Amazon * Comprehend for sentiment analysis. If the detectSentiment field was * not specified in the request, the detectSentiment field is * false in the response.

*/ inline PutBotResult& WithDetectSentiment(bool value) { SetDetectSentiment(value); return *this;} /** *

A list of tags associated with the bot.

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

A list of tags associated with the bot.

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

A list of tags associated with the bot.

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

A list of tags associated with the bot.

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

A list of tags associated with the bot.

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

A list of tags associated with the bot.

*/ inline PutBotResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; } /** *

A list of tags associated with the bot.

*/ inline PutBotResult& AddTags(Tag&& value) { m_tags.push_back(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 PutBotResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline PutBotResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline PutBotResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_name; Aws::String m_description; Aws::Vector m_intents; bool m_enableModelImprovements; double m_nluIntentConfidenceThreshold; Prompt m_clarificationPrompt; Statement m_abortStatement; Status m_status; Aws::String m_failureReason; Aws::Utils::DateTime m_lastUpdatedDate; Aws::Utils::DateTime m_createdDate; int m_idleSessionTTLInSeconds; Aws::String m_voiceId; Aws::String m_checksum; Aws::String m_version; Locale m_locale; bool m_childDirected; bool m_createVersion; bool m_detectSentiment; Aws::Vector m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelBuildingService } // namespace Aws