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

The unique identifier assigned to the intent when it was created.

*/ inline const Aws::String& GetIntentId() const{ return m_intentId; } /** *

The unique identifier assigned to the intent when it was created.

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

The unique identifier assigned to the intent when it was created.

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

The unique identifier assigned to the intent when it was created.

*/ inline void SetIntentId(const char* value) { m_intentId.assign(value); } /** *

The unique identifier assigned to the intent when it was created.

*/ inline DescribeIntentResult& WithIntentId(const Aws::String& value) { SetIntentId(value); return *this;} /** *

The unique identifier assigned to the intent when it was created.

*/ inline DescribeIntentResult& WithIntentId(Aws::String&& value) { SetIntentId(std::move(value)); return *this;} /** *

The unique identifier assigned to the intent when it was created.

*/ inline DescribeIntentResult& WithIntentId(const char* value) { SetIntentId(value); return *this;} /** *

The name specified for the intent.

*/ inline const Aws::String& GetIntentName() const{ return m_intentName; } /** *

The name specified for the intent.

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

The name specified for the intent.

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

The name specified for the intent.

*/ inline void SetIntentName(const char* value) { m_intentName.assign(value); } /** *

The name specified for the intent.

*/ inline DescribeIntentResult& WithIntentName(const Aws::String& value) { SetIntentName(value); return *this;} /** *

The name specified for the intent.

*/ inline DescribeIntentResult& WithIntentName(Aws::String&& value) { SetIntentName(std::move(value)); return *this;} /** *

The name specified for the intent.

*/ inline DescribeIntentResult& WithIntentName(const char* value) { SetIntentName(value); return *this;} /** *

The description of the intent.

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

The description of the intent.

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

The description of the intent.

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

The description of the intent.

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

The description of the intent.

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

The description of the intent.

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

The description of the intent.

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

The identifier of the built-in intent that this intent is derived from, if * any.

*/ inline const Aws::String& GetParentIntentSignature() const{ return m_parentIntentSignature; } /** *

The identifier of the built-in intent that this intent is derived from, if * any.

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

The identifier of the built-in intent that this intent is derived from, if * any.

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

The identifier of the built-in intent that this intent is derived from, if * any.

*/ inline void SetParentIntentSignature(const char* value) { m_parentIntentSignature.assign(value); } /** *

The identifier of the built-in intent that this intent is derived from, if * any.

*/ inline DescribeIntentResult& WithParentIntentSignature(const Aws::String& value) { SetParentIntentSignature(value); return *this;} /** *

The identifier of the built-in intent that this intent is derived from, if * any.

*/ inline DescribeIntentResult& WithParentIntentSignature(Aws::String&& value) { SetParentIntentSignature(std::move(value)); return *this;} /** *

The identifier of the built-in intent that this intent is derived from, if * any.

*/ inline DescribeIntentResult& WithParentIntentSignature(const char* value) { SetParentIntentSignature(value); return *this;} /** *

User utterances that trigger this intent.

*/ inline const Aws::Vector& GetSampleUtterances() const{ return m_sampleUtterances; } /** *

User utterances that trigger this intent.

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

User utterances that trigger this intent.

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

User utterances that trigger this intent.

*/ inline DescribeIntentResult& WithSampleUtterances(const Aws::Vector& value) { SetSampleUtterances(value); return *this;} /** *

User utterances that trigger this intent.

*/ inline DescribeIntentResult& WithSampleUtterances(Aws::Vector&& value) { SetSampleUtterances(std::move(value)); return *this;} /** *

User utterances that trigger this intent.

*/ inline DescribeIntentResult& AddSampleUtterances(const SampleUtterance& value) { m_sampleUtterances.push_back(value); return *this; } /** *

User utterances that trigger this intent.

*/ inline DescribeIntentResult& AddSampleUtterances(SampleUtterance&& value) { m_sampleUtterances.push_back(std::move(value)); return *this; } /** *

The Lambda function called during each turn of a conversation with the * intent.

*/ inline const DialogCodeHookSettings& GetDialogCodeHook() const{ return m_dialogCodeHook; } /** *

The Lambda function called during each turn of a conversation with the * intent.

*/ inline void SetDialogCodeHook(const DialogCodeHookSettings& value) { m_dialogCodeHook = value; } /** *

The Lambda function called during each turn of a conversation with the * intent.

*/ inline void SetDialogCodeHook(DialogCodeHookSettings&& value) { m_dialogCodeHook = std::move(value); } /** *

The Lambda function called during each turn of a conversation with the * intent.

*/ inline DescribeIntentResult& WithDialogCodeHook(const DialogCodeHookSettings& value) { SetDialogCodeHook(value); return *this;} /** *

The Lambda function called during each turn of a conversation with the * intent.

*/ inline DescribeIntentResult& WithDialogCodeHook(DialogCodeHookSettings&& value) { SetDialogCodeHook(std::move(value)); return *this;} /** *

The Lambda function called when the intent is complete and ready for * fulfillment.

*/ inline const FulfillmentCodeHookSettings& GetFulfillmentCodeHook() const{ return m_fulfillmentCodeHook; } /** *

The Lambda function called when the intent is complete and ready for * fulfillment.

*/ inline void SetFulfillmentCodeHook(const FulfillmentCodeHookSettings& value) { m_fulfillmentCodeHook = value; } /** *

The Lambda function called when the intent is complete and ready for * fulfillment.

*/ inline void SetFulfillmentCodeHook(FulfillmentCodeHookSettings&& value) { m_fulfillmentCodeHook = std::move(value); } /** *

The Lambda function called when the intent is complete and ready for * fulfillment.

*/ inline DescribeIntentResult& WithFulfillmentCodeHook(const FulfillmentCodeHookSettings& value) { SetFulfillmentCodeHook(value); return *this;} /** *

The Lambda function called when the intent is complete and ready for * fulfillment.

*/ inline DescribeIntentResult& WithFulfillmentCodeHook(FulfillmentCodeHookSettings&& value) { SetFulfillmentCodeHook(std::move(value)); return *this;} /** *

The list that determines the priority that slots should be elicited from the * user.

*/ inline const Aws::Vector& GetSlotPriorities() const{ return m_slotPriorities; } /** *

The list that determines the priority that slots should be elicited from the * user.

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

The list that determines the priority that slots should be elicited from the * user.

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

The list that determines the priority that slots should be elicited from the * user.

*/ inline DescribeIntentResult& WithSlotPriorities(const Aws::Vector& value) { SetSlotPriorities(value); return *this;} /** *

The list that determines the priority that slots should be elicited from the * user.

*/ inline DescribeIntentResult& WithSlotPriorities(Aws::Vector&& value) { SetSlotPriorities(std::move(value)); return *this;} /** *

The list that determines the priority that slots should be elicited from the * user.

*/ inline DescribeIntentResult& AddSlotPriorities(const SlotPriority& value) { m_slotPriorities.push_back(value); return *this; } /** *

The list that determines the priority that slots should be elicited from the * user.

*/ inline DescribeIntentResult& AddSlotPriorities(SlotPriority&& value) { m_slotPriorities.push_back(std::move(value)); return *this; } /** *

Prompts that Amazon Lex sends to the user to confirm completion of an * intent.

*/ inline const IntentConfirmationSetting& GetIntentConfirmationSetting() const{ return m_intentConfirmationSetting; } /** *

Prompts that Amazon Lex sends to the user to confirm completion of an * intent.

*/ inline void SetIntentConfirmationSetting(const IntentConfirmationSetting& value) { m_intentConfirmationSetting = value; } /** *

Prompts that Amazon Lex sends to the user to confirm completion of an * intent.

*/ inline void SetIntentConfirmationSetting(IntentConfirmationSetting&& value) { m_intentConfirmationSetting = std::move(value); } /** *

Prompts that Amazon Lex sends to the user to confirm completion of an * intent.

*/ inline DescribeIntentResult& WithIntentConfirmationSetting(const IntentConfirmationSetting& value) { SetIntentConfirmationSetting(value); return *this;} /** *

Prompts that Amazon Lex sends to the user to confirm completion of an * intent.

*/ inline DescribeIntentResult& WithIntentConfirmationSetting(IntentConfirmationSetting&& value) { SetIntentConfirmationSetting(std::move(value)); return *this;} /** *

The response that Amazon Lex sends to when the intent is closed.

*/ inline const IntentClosingSetting& GetIntentClosingSetting() const{ return m_intentClosingSetting; } /** *

The response that Amazon Lex sends to when the intent is closed.

*/ inline void SetIntentClosingSetting(const IntentClosingSetting& value) { m_intentClosingSetting = value; } /** *

The response that Amazon Lex sends to when the intent is closed.

*/ inline void SetIntentClosingSetting(IntentClosingSetting&& value) { m_intentClosingSetting = std::move(value); } /** *

The response that Amazon Lex sends to when the intent is closed.

*/ inline DescribeIntentResult& WithIntentClosingSetting(const IntentClosingSetting& value) { SetIntentClosingSetting(value); return *this;} /** *

The response that Amazon Lex sends to when the intent is closed.

*/ inline DescribeIntentResult& WithIntentClosingSetting(IntentClosingSetting&& value) { SetIntentClosingSetting(std::move(value)); return *this;} /** *

A list of contexts that must be active for the intent to be considered for * sending to the user.

*/ inline const Aws::Vector& GetInputContexts() const{ return m_inputContexts; } /** *

A list of contexts that must be active for the intent to be considered for * sending to the user.

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

A list of contexts that must be active for the intent to be considered for * sending to the user.

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

A list of contexts that must be active for the intent to be considered for * sending to the user.

*/ inline DescribeIntentResult& WithInputContexts(const Aws::Vector& value) { SetInputContexts(value); return *this;} /** *

A list of contexts that must be active for the intent to be considered for * sending to the user.

*/ inline DescribeIntentResult& WithInputContexts(Aws::Vector&& value) { SetInputContexts(std::move(value)); return *this;} /** *

A list of contexts that must be active for the intent to be considered for * sending to the user.

*/ inline DescribeIntentResult& AddInputContexts(const InputContext& value) { m_inputContexts.push_back(value); return *this; } /** *

A list of contexts that must be active for the intent to be considered for * sending to the user.

*/ inline DescribeIntentResult& AddInputContexts(InputContext&& value) { m_inputContexts.push_back(std::move(value)); return *this; } /** *

A list of contexts that are activated when the intent is fulfilled.

*/ inline const Aws::Vector& GetOutputContexts() const{ return m_outputContexts; } /** *

A list of contexts that are activated when the intent is fulfilled.

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

A list of contexts that are activated when the intent is fulfilled.

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

A list of contexts that are activated when the intent is fulfilled.

*/ inline DescribeIntentResult& WithOutputContexts(const Aws::Vector& value) { SetOutputContexts(value); return *this;} /** *

A list of contexts that are activated when the intent is fulfilled.

*/ inline DescribeIntentResult& WithOutputContexts(Aws::Vector&& value) { SetOutputContexts(std::move(value)); return *this;} /** *

A list of contexts that are activated when the intent is fulfilled.

*/ inline DescribeIntentResult& AddOutputContexts(const OutputContext& value) { m_outputContexts.push_back(value); return *this; } /** *

A list of contexts that are activated when the intent is fulfilled.

*/ inline DescribeIntentResult& AddOutputContexts(OutputContext&& value) { m_outputContexts.push_back(std::move(value)); return *this; } /** *

Configuration information required to use the * AMAZON.KendraSearchIntent intent.

*/ inline const KendraConfiguration& GetKendraConfiguration() const{ return m_kendraConfiguration; } /** *

Configuration information required to use the * AMAZON.KendraSearchIntent intent.

*/ inline void SetKendraConfiguration(const KendraConfiguration& value) { m_kendraConfiguration = value; } /** *

Configuration information required to use the * AMAZON.KendraSearchIntent intent.

*/ inline void SetKendraConfiguration(KendraConfiguration&& value) { m_kendraConfiguration = std::move(value); } /** *

Configuration information required to use the * AMAZON.KendraSearchIntent intent.

*/ inline DescribeIntentResult& WithKendraConfiguration(const KendraConfiguration& value) { SetKendraConfiguration(value); return *this;} /** *

Configuration information required to use the * AMAZON.KendraSearchIntent intent.

*/ inline DescribeIntentResult& WithKendraConfiguration(KendraConfiguration&& value) { SetKendraConfiguration(std::move(value)); return *this;} /** *

The identifier of the bot associated with the intent.

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

The identifier of the bot associated with the intent.

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

The identifier of the bot associated with the intent.

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

The identifier of the bot associated with the intent.

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

The identifier of the bot associated with the intent.

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

The identifier of the bot associated with the intent.

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

The identifier of the bot associated with the intent.

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

The version of the bot associated with the intent.

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

The version of the bot associated with the intent.

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

The version of the bot associated with the intent.

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

The version of the bot associated with the intent.

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

The version of the bot associated with the intent.

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

The version of the bot associated with the intent.

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

The version of the bot associated with the intent.

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

The language and locale specified for the intent.

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

The language and locale specified for the intent.

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

The language and locale specified for the intent.

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

The language and locale specified for the intent.

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

The language and locale specified for the intent.

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

The language and locale specified for the intent.

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

The language and locale specified for the intent.

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

A timestamp of the date and time that the intent was created.

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

A timestamp of the date and time that the intent was created.

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

A timestamp of the date and time that the intent was created.

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

A timestamp of the date and time that the intent was created.

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

A timestamp of the date and time that the intent was created.

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

A timestamp of the date and time that the intent was last updated.

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

A timestamp of the date and time that the intent was last updated.

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

A timestamp of the date and time that the intent was last updated.

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

A timestamp of the date and time that the intent was last updated.

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

A timestamp of the date and time that the intent was last updated.

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

Configuration setting for a response sent to the user before Amazon Lex * starts eliciting slots.

*/ inline const InitialResponseSetting& GetInitialResponseSetting() const{ return m_initialResponseSetting; } /** *

Configuration setting for a response sent to the user before Amazon Lex * starts eliciting slots.

*/ inline void SetInitialResponseSetting(const InitialResponseSetting& value) { m_initialResponseSetting = value; } /** *

Configuration setting for a response sent to the user before Amazon Lex * starts eliciting slots.

*/ inline void SetInitialResponseSetting(InitialResponseSetting&& value) { m_initialResponseSetting = std::move(value); } /** *

Configuration setting for a response sent to the user before Amazon Lex * starts eliciting slots.

*/ inline DescribeIntentResult& WithInitialResponseSetting(const InitialResponseSetting& value) { SetInitialResponseSetting(value); return *this;} /** *

Configuration setting for a response sent to the user before Amazon Lex * starts eliciting slots.

*/ inline DescribeIntentResult& WithInitialResponseSetting(InitialResponseSetting&& value) { SetInitialResponseSetting(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 DescribeIntentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeIntentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeIntentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_intentId; Aws::String m_intentName; Aws::String m_description; Aws::String m_parentIntentSignature; Aws::Vector m_sampleUtterances; DialogCodeHookSettings m_dialogCodeHook; FulfillmentCodeHookSettings m_fulfillmentCodeHook; Aws::Vector m_slotPriorities; IntentConfirmationSetting m_intentConfirmationSetting; IntentClosingSetting m_intentClosingSetting; Aws::Vector m_inputContexts; Aws::Vector m_outputContexts; KendraConfiguration m_kendraConfiguration; Aws::String m_botId; Aws::String m_botVersion; Aws::String m_localeId; Aws::Utils::DateTime m_creationDateTime; Aws::Utils::DateTime m_lastUpdatedDateTime; InitialResponseSetting m_initialResponseSetting; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws