/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides a statement the Amazon Lex conveys to the user when the intent is
* successfully fulfilled.See Also:
AWS
* API Reference
The response that Amazon Lex sends to the user when the intent is * complete.
*/ inline const ResponseSpecification& GetClosingResponse() const{ return m_closingResponse; } /** *The response that Amazon Lex sends to the user when the intent is * complete.
*/ inline bool ClosingResponseHasBeenSet() const { return m_closingResponseHasBeenSet; } /** *The response that Amazon Lex sends to the user when the intent is * complete.
*/ inline void SetClosingResponse(const ResponseSpecification& value) { m_closingResponseHasBeenSet = true; m_closingResponse = value; } /** *The response that Amazon Lex sends to the user when the intent is * complete.
*/ inline void SetClosingResponse(ResponseSpecification&& value) { m_closingResponseHasBeenSet = true; m_closingResponse = std::move(value); } /** *The response that Amazon Lex sends to the user when the intent is * complete.
*/ inline IntentClosingSetting& WithClosingResponse(const ResponseSpecification& value) { SetClosingResponse(value); return *this;} /** *The response that Amazon Lex sends to the user when the intent is * complete.
*/ inline IntentClosingSetting& WithClosingResponse(ResponseSpecification&& value) { SetClosingResponse(std::move(value)); return *this;} /** *Specifies whether an intent's closing response is used. When this field is
* false, the closing response isn't sent to the user. If the active
* field isn't specified, the default is true.
Specifies whether an intent's closing response is used. When this field is
* false, the closing response isn't sent to the user. If the active
* field isn't specified, the default is true.
Specifies whether an intent's closing response is used. When this field is
* false, the closing response isn't sent to the user. If the active
* field isn't specified, the default is true.
Specifies whether an intent's closing response is used. When this field is
* false, the closing response isn't sent to the user. If the active
* field isn't specified, the default is true.
Specifies the next step that the bot executes after playing the intent's * closing response.
*/ inline const DialogState& GetNextStep() const{ return m_nextStep; } /** *Specifies the next step that the bot executes after playing the intent's * closing response.
*/ inline bool NextStepHasBeenSet() const { return m_nextStepHasBeenSet; } /** *Specifies the next step that the bot executes after playing the intent's * closing response.
*/ inline void SetNextStep(const DialogState& value) { m_nextStepHasBeenSet = true; m_nextStep = value; } /** *Specifies the next step that the bot executes after playing the intent's * closing response.
*/ inline void SetNextStep(DialogState&& value) { m_nextStepHasBeenSet = true; m_nextStep = std::move(value); } /** *Specifies the next step that the bot executes after playing the intent's * closing response.
*/ inline IntentClosingSetting& WithNextStep(const DialogState& value) { SetNextStep(value); return *this;} /** *Specifies the next step that the bot executes after playing the intent's * closing response.
*/ inline IntentClosingSetting& WithNextStep(DialogState&& value) { SetNextStep(std::move(value)); return *this;} /** *A list of conditional branches associated with the intent's closing response.
* These branches are executed when the nextStep
attribute is set to
* EvalutateConditional
.
A list of conditional branches associated with the intent's closing response.
* These branches are executed when the nextStep
attribute is set to
* EvalutateConditional
.
A list of conditional branches associated with the intent's closing response.
* These branches are executed when the nextStep
attribute is set to
* EvalutateConditional
.
A list of conditional branches associated with the intent's closing response.
* These branches are executed when the nextStep
attribute is set to
* EvalutateConditional
.
A list of conditional branches associated with the intent's closing response.
* These branches are executed when the nextStep
attribute is set to
* EvalutateConditional
.
A list of conditional branches associated with the intent's closing response.
* These branches are executed when the nextStep
attribute is set to
* EvalutateConditional
.