AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IntentConfirmationSetting.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/PromptSpecification.h>
9#include <aws/lexv2-models/model/ResponseSpecification.h>
10#include <aws/lexv2-models/model/DialogState.h>
11#include <aws/lexv2-models/model/ConditionalSpecification.h>
12#include <aws/lexv2-models/model/DialogCodeHookInvocationSetting.h>
13#include <aws/lexv2-models/model/ElicitationCodeHookInvocationSetting.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace LexModelsV2
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_LEXMODELSV2_API IntentConfirmationSetting();
43 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
56 inline const PromptSpecification& GetPromptSpecification() const{ return m_promptSpecification; }
57 inline bool PromptSpecificationHasBeenSet() const { return m_promptSpecificationHasBeenSet; }
58 inline void SetPromptSpecification(const PromptSpecification& value) { m_promptSpecificationHasBeenSet = true; m_promptSpecification = value; }
59 inline void SetPromptSpecification(PromptSpecification&& value) { m_promptSpecificationHasBeenSet = true; m_promptSpecification = std::move(value); }
63
65
70 inline const ResponseSpecification& GetDeclinationResponse() const{ return m_declinationResponse; }
71 inline bool DeclinationResponseHasBeenSet() const { return m_declinationResponseHasBeenSet; }
72 inline void SetDeclinationResponse(const ResponseSpecification& value) { m_declinationResponseHasBeenSet = true; m_declinationResponse = value; }
73 inline void SetDeclinationResponse(ResponseSpecification&& value) { m_declinationResponseHasBeenSet = true; m_declinationResponse = std::move(value); }
77
79
84 inline bool GetActive() const{ return m_active; }
85 inline bool ActiveHasBeenSet() const { return m_activeHasBeenSet; }
86 inline void SetActive(bool value) { m_activeHasBeenSet = true; m_active = value; }
87 inline IntentConfirmationSetting& WithActive(bool value) { SetActive(value); return *this;}
89
91
92 inline const ResponseSpecification& GetConfirmationResponse() const{ return m_confirmationResponse; }
93 inline bool ConfirmationResponseHasBeenSet() const { return m_confirmationResponseHasBeenSet; }
94 inline void SetConfirmationResponse(const ResponseSpecification& value) { m_confirmationResponseHasBeenSet = true; m_confirmationResponse = value; }
95 inline void SetConfirmationResponse(ResponseSpecification&& value) { m_confirmationResponseHasBeenSet = true; m_confirmationResponse = std::move(value); }
99
101
105 inline const DialogState& GetConfirmationNextStep() const{ return m_confirmationNextStep; }
106 inline bool ConfirmationNextStepHasBeenSet() const { return m_confirmationNextStepHasBeenSet; }
107 inline void SetConfirmationNextStep(const DialogState& value) { m_confirmationNextStepHasBeenSet = true; m_confirmationNextStep = value; }
108 inline void SetConfirmationNextStep(DialogState&& value) { m_confirmationNextStepHasBeenSet = true; m_confirmationNextStep = std::move(value); }
112
114
117 inline const ConditionalSpecification& GetConfirmationConditional() const{ return m_confirmationConditional; }
118 inline bool ConfirmationConditionalHasBeenSet() const { return m_confirmationConditionalHasBeenSet; }
119 inline void SetConfirmationConditional(const ConditionalSpecification& value) { m_confirmationConditionalHasBeenSet = true; m_confirmationConditional = value; }
120 inline void SetConfirmationConditional(ConditionalSpecification&& value) { m_confirmationConditionalHasBeenSet = true; m_confirmationConditional = std::move(value); }
124
126
130 inline const DialogState& GetDeclinationNextStep() const{ return m_declinationNextStep; }
131 inline bool DeclinationNextStepHasBeenSet() const { return m_declinationNextStepHasBeenSet; }
132 inline void SetDeclinationNextStep(const DialogState& value) { m_declinationNextStepHasBeenSet = true; m_declinationNextStep = value; }
133 inline void SetDeclinationNextStep(DialogState&& value) { m_declinationNextStepHasBeenSet = true; m_declinationNextStep = std::move(value); }
135 inline IntentConfirmationSetting& WithDeclinationNextStep(DialogState&& value) { SetDeclinationNextStep(std::move(value)); return *this;}
137
139
142 inline const ConditionalSpecification& GetDeclinationConditional() const{ return m_declinationConditional; }
143 inline bool DeclinationConditionalHasBeenSet() const { return m_declinationConditionalHasBeenSet; }
144 inline void SetDeclinationConditional(const ConditionalSpecification& value) { m_declinationConditionalHasBeenSet = true; m_declinationConditional = value; }
145 inline void SetDeclinationConditional(ConditionalSpecification&& value) { m_declinationConditionalHasBeenSet = true; m_declinationConditional = std::move(value); }
149
151
152 inline const ResponseSpecification& GetFailureResponse() const{ return m_failureResponse; }
153 inline bool FailureResponseHasBeenSet() const { return m_failureResponseHasBeenSet; }
154 inline void SetFailureResponse(const ResponseSpecification& value) { m_failureResponseHasBeenSet = true; m_failureResponse = value; }
155 inline void SetFailureResponse(ResponseSpecification&& value) { m_failureResponseHasBeenSet = true; m_failureResponse = std::move(value); }
159
161
164 inline const DialogState& GetFailureNextStep() const{ return m_failureNextStep; }
165 inline bool FailureNextStepHasBeenSet() const { return m_failureNextStepHasBeenSet; }
166 inline void SetFailureNextStep(const DialogState& value) { m_failureNextStepHasBeenSet = true; m_failureNextStep = value; }
167 inline void SetFailureNextStep(DialogState&& value) { m_failureNextStepHasBeenSet = true; m_failureNextStep = std::move(value); }
169 inline IntentConfirmationSetting& WithFailureNextStep(DialogState&& value) { SetFailureNextStep(std::move(value)); return *this;}
171
173
174 inline const ConditionalSpecification& GetFailureConditional() const{ return m_failureConditional; }
175 inline bool FailureConditionalHasBeenSet() const { return m_failureConditionalHasBeenSet; }
176 inline void SetFailureConditional(const ConditionalSpecification& value) { m_failureConditionalHasBeenSet = true; m_failureConditional = value; }
177 inline void SetFailureConditional(ConditionalSpecification&& value) { m_failureConditionalHasBeenSet = true; m_failureConditional = std::move(value); }
181
183
189 inline const DialogCodeHookInvocationSetting& GetCodeHook() const{ return m_codeHook; }
190 inline bool CodeHookHasBeenSet() const { return m_codeHookHasBeenSet; }
191 inline void SetCodeHook(const DialogCodeHookInvocationSetting& value) { m_codeHookHasBeenSet = true; m_codeHook = value; }
192 inline void SetCodeHook(DialogCodeHookInvocationSetting&& value) { m_codeHookHasBeenSet = true; m_codeHook = std::move(value); }
194 inline IntentConfirmationSetting& WithCodeHook(DialogCodeHookInvocationSetting&& value) { SetCodeHook(std::move(value)); return *this;}
196
198
202 inline const ElicitationCodeHookInvocationSetting& GetElicitationCodeHook() const{ return m_elicitationCodeHook; }
203 inline bool ElicitationCodeHookHasBeenSet() const { return m_elicitationCodeHookHasBeenSet; }
204 inline void SetElicitationCodeHook(const ElicitationCodeHookInvocationSetting& value) { m_elicitationCodeHookHasBeenSet = true; m_elicitationCodeHook = value; }
205 inline void SetElicitationCodeHook(ElicitationCodeHookInvocationSetting&& value) { m_elicitationCodeHookHasBeenSet = true; m_elicitationCodeHook = std::move(value); }
209 private:
210
211 PromptSpecification m_promptSpecification;
212 bool m_promptSpecificationHasBeenSet = false;
213
214 ResponseSpecification m_declinationResponse;
215 bool m_declinationResponseHasBeenSet = false;
216
217 bool m_active;
218 bool m_activeHasBeenSet = false;
219
220 ResponseSpecification m_confirmationResponse;
221 bool m_confirmationResponseHasBeenSet = false;
222
223 DialogState m_confirmationNextStep;
224 bool m_confirmationNextStepHasBeenSet = false;
225
226 ConditionalSpecification m_confirmationConditional;
227 bool m_confirmationConditionalHasBeenSet = false;
228
229 DialogState m_declinationNextStep;
230 bool m_declinationNextStepHasBeenSet = false;
231
232 ConditionalSpecification m_declinationConditional;
233 bool m_declinationConditionalHasBeenSet = false;
234
235 ResponseSpecification m_failureResponse;
236 bool m_failureResponseHasBeenSet = false;
237
238 DialogState m_failureNextStep;
239 bool m_failureNextStepHasBeenSet = false;
240
241 ConditionalSpecification m_failureConditional;
242 bool m_failureConditionalHasBeenSet = false;
243
245 bool m_codeHookHasBeenSet = false;
246
247 ElicitationCodeHookInvocationSetting m_elicitationCodeHook;
248 bool m_elicitationCodeHookHasBeenSet = false;
249 };
250
251} // namespace Model
252} // namespace LexModelsV2
253} // namespace Aws
void SetDeclinationResponse(const ResponseSpecification &value)
const ConditionalSpecification & GetFailureConditional() const
IntentConfirmationSetting & WithConfirmationNextStep(DialogState &&value)
const ElicitationCodeHookInvocationSetting & GetElicitationCodeHook() const
void SetFailureResponse(const ResponseSpecification &value)
IntentConfirmationSetting & WithConfirmationResponse(ResponseSpecification &&value)
IntentConfirmationSetting & WithConfirmationConditional(const ConditionalSpecification &value)
IntentConfirmationSetting & WithPromptSpecification(const PromptSpecification &value)
const ResponseSpecification & GetDeclinationResponse() const
IntentConfirmationSetting & WithPromptSpecification(PromptSpecification &&value)
IntentConfirmationSetting & WithDeclinationNextStep(DialogState &&value)
void SetCodeHook(DialogCodeHookInvocationSetting &&value)
IntentConfirmationSetting & WithElicitationCodeHook(ElicitationCodeHookInvocationSetting &&value)
IntentConfirmationSetting & WithCodeHook(const DialogCodeHookInvocationSetting &value)
IntentConfirmationSetting & WithFailureConditional(const ConditionalSpecification &value)
void SetElicitationCodeHook(const ElicitationCodeHookInvocationSetting &value)
void SetConfirmationConditional(const ConditionalSpecification &value)
AWS_LEXMODELSV2_API IntentConfirmationSetting(Aws::Utils::Json::JsonView jsonValue)
IntentConfirmationSetting & WithConfirmationNextStep(const DialogState &value)
IntentConfirmationSetting & WithFailureResponse(ResponseSpecification &&value)
IntentConfirmationSetting & WithFailureNextStep(DialogState &&value)
IntentConfirmationSetting & WithFailureResponse(const ResponseSpecification &value)
void SetPromptSpecification(const PromptSpecification &value)
IntentConfirmationSetting & WithConfirmationConditional(ConditionalSpecification &&value)
AWS_LEXMODELSV2_API IntentConfirmationSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConfirmationResponse(ResponseSpecification &&value)
void SetConfirmationConditional(ConditionalSpecification &&value)
void SetDeclinationConditional(const ConditionalSpecification &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
IntentConfirmationSetting & WithFailureConditional(ConditionalSpecification &&value)
IntentConfirmationSetting & WithDeclinationResponse(const ResponseSpecification &value)
void SetFailureConditional(ConditionalSpecification &&value)
const ConditionalSpecification & GetConfirmationConditional() const
IntentConfirmationSetting & WithDeclinationConditional(ConditionalSpecification &&value)
IntentConfirmationSetting & WithConfirmationResponse(const ResponseSpecification &value)
IntentConfirmationSetting & WithDeclinationConditional(const ConditionalSpecification &value)
const DialogCodeHookInvocationSetting & GetCodeHook() const
void SetElicitationCodeHook(ElicitationCodeHookInvocationSetting &&value)
void SetDeclinationConditional(ConditionalSpecification &&value)
void SetConfirmationResponse(const ResponseSpecification &value)
const ConditionalSpecification & GetDeclinationConditional() const
void SetFailureConditional(const ConditionalSpecification &value)
IntentConfirmationSetting & WithCodeHook(DialogCodeHookInvocationSetting &&value)
IntentConfirmationSetting & WithDeclinationResponse(ResponseSpecification &&value)
void SetCodeHook(const DialogCodeHookInvocationSetting &value)
IntentConfirmationSetting & WithElicitationCodeHook(const ElicitationCodeHookInvocationSetting &value)
IntentConfirmationSetting & WithDeclinationNextStep(const DialogState &value)
IntentConfirmationSetting & WithFailureNextStep(const DialogState &value)
const ResponseSpecification & GetConfirmationResponse() const
Aws::Utils::Json::JsonValue JsonValue