AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IntentClosingSetting.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/ResponseSpecification.h>
9#include <aws/lexv2-models/model/DialogState.h>
10#include <aws/lexv2-models/model/ConditionalSpecification.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LexModelsV2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_LEXMODELSV2_API IntentClosingSetting();
38 AWS_LEXMODELSV2_API IntentClosingSetting(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const ResponseSpecification& GetClosingResponse() const{ return m_closingResponse; }
49 inline bool ClosingResponseHasBeenSet() const { return m_closingResponseHasBeenSet; }
50 inline void SetClosingResponse(const ResponseSpecification& value) { m_closingResponseHasBeenSet = true; m_closingResponse = value; }
51 inline void SetClosingResponse(ResponseSpecification&& value) { m_closingResponseHasBeenSet = true; m_closingResponse = std::move(value); }
53 inline IntentClosingSetting& WithClosingResponse(ResponseSpecification&& value) { SetClosingResponse(std::move(value)); return *this;}
55
57
62 inline bool GetActive() const{ return m_active; }
63 inline bool ActiveHasBeenSet() const { return m_activeHasBeenSet; }
64 inline void SetActive(bool value) { m_activeHasBeenSet = true; m_active = value; }
65 inline IntentClosingSetting& WithActive(bool value) { SetActive(value); return *this;}
67
69
73 inline const DialogState& GetNextStep() const{ return m_nextStep; }
74 inline bool NextStepHasBeenSet() const { return m_nextStepHasBeenSet; }
75 inline void SetNextStep(const DialogState& value) { m_nextStepHasBeenSet = true; m_nextStep = value; }
76 inline void SetNextStep(DialogState&& value) { m_nextStepHasBeenSet = true; m_nextStep = std::move(value); }
77 inline IntentClosingSetting& WithNextStep(const DialogState& value) { SetNextStep(value); return *this;}
78 inline IntentClosingSetting& WithNextStep(DialogState&& value) { SetNextStep(std::move(value)); return *this;}
80
82
87 inline const ConditionalSpecification& GetConditional() const{ return m_conditional; }
88 inline bool ConditionalHasBeenSet() const { return m_conditionalHasBeenSet; }
89 inline void SetConditional(const ConditionalSpecification& value) { m_conditionalHasBeenSet = true; m_conditional = value; }
90 inline void SetConditional(ConditionalSpecification&& value) { m_conditionalHasBeenSet = true; m_conditional = std::move(value); }
91 inline IntentClosingSetting& WithConditional(const ConditionalSpecification& value) { SetConditional(value); return *this;}
92 inline IntentClosingSetting& WithConditional(ConditionalSpecification&& value) { SetConditional(std::move(value)); return *this;}
94 private:
95
96 ResponseSpecification m_closingResponse;
97 bool m_closingResponseHasBeenSet = false;
98
99 bool m_active;
100 bool m_activeHasBeenSet = false;
101
102 DialogState m_nextStep;
103 bool m_nextStepHasBeenSet = false;
104
105 ConditionalSpecification m_conditional;
106 bool m_conditionalHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace LexModelsV2
111} // namespace Aws
IntentClosingSetting & WithClosingResponse(const ResponseSpecification &value)
IntentClosingSetting & WithConditional(const ConditionalSpecification &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConditional(const ConditionalSpecification &value)
IntentClosingSetting & WithConditional(ConditionalSpecification &&value)
IntentClosingSetting & WithClosingResponse(ResponseSpecification &&value)
IntentClosingSetting & WithActive(bool value)
const ConditionalSpecification & GetConditional() const
AWS_LEXMODELSV2_API IntentClosingSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetClosingResponse(ResponseSpecification &&value)
void SetClosingResponse(const ResponseSpecification &value)
void SetConditional(ConditionalSpecification &&value)
IntentClosingSetting & WithNextStep(const DialogState &value)
AWS_LEXMODELSV2_API IntentClosingSetting(Aws::Utils::Json::JsonView jsonValue)
IntentClosingSetting & WithNextStep(DialogState &&value)
const ResponseSpecification & GetClosingResponse() const
Aws::Utils::Json::JsonValue JsonValue