7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/ConditionalSpecification.h>
9#include <aws/lexv2-models/model/DialogState.h>
10#include <aws/lexv2-models/model/ResponseSpecification.h>
21namespace LexModelsV2 {
44 template <
typename ClosingResponseT = ResponseSpecification>
46 m_closingResponseHasBeenSet =
true;
47 m_closingResponse = std::forward<ClosingResponseT>(value);
49 template <
typename ClosingResponseT = ResponseSpecification>
65 m_activeHasBeenSet =
true;
81 template <
typename NextStepT = DialogState>
83 m_nextStepHasBeenSet =
true;
84 m_nextStep = std::forward<NextStepT>(value);
86 template <
typename NextStepT = DialogState>
101 template <
typename ConditionalT = ConditionalSpecification>
103 m_conditionalHasBeenSet =
true;
104 m_conditional = std::forward<ConditionalT>(value);
106 template <
typename ConditionalT = ConditionalSpecification>
115 bool m_active{
false};
117 DialogState m_nextStep;
119 ConditionalSpecification m_conditional;
120 bool m_closingResponseHasBeenSet =
false;
121 bool m_activeHasBeenSet =
false;
122 bool m_nextStepHasBeenSet =
false;
123 bool m_conditionalHasBeenSet =
false;
AWS_LEXMODELSV2_API IntentClosingSetting()=default
bool ConditionalHasBeenSet() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
IntentClosingSetting & WithNextStep(NextStepT &&value)
bool ActiveHasBeenSet() const
IntentClosingSetting & WithActive(bool value)
void SetClosingResponse(ClosingResponseT &&value)
const ConditionalSpecification & GetConditional() const
AWS_LEXMODELSV2_API IntentClosingSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetActive(bool value)
bool ClosingResponseHasBeenSet() const
IntentClosingSetting & WithClosingResponse(ClosingResponseT &&value)
void SetNextStep(NextStepT &&value)
bool NextStepHasBeenSet() const
AWS_LEXMODELSV2_API IntentClosingSetting(Aws::Utils::Json::JsonView jsonValue)
IntentClosingSetting & WithConditional(ConditionalT &&value)
const DialogState & GetNextStep() const
const ResponseSpecification & GetClosingResponse() const
void SetConditional(ConditionalT &&value)
Aws::Utils::Json::JsonValue JsonValue