AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PostDialogCodeHookInvocationSpecification.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:
40 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const ResponseSpecification& GetSuccessResponse() const{ return m_successResponse; }
46 inline bool SuccessResponseHasBeenSet() const { return m_successResponseHasBeenSet; }
47 inline void SetSuccessResponse(const ResponseSpecification& value) { m_successResponseHasBeenSet = true; m_successResponse = value; }
48 inline void SetSuccessResponse(ResponseSpecification&& value) { m_successResponseHasBeenSet = true; m_successResponse = std::move(value); }
52
54
58 inline const DialogState& GetSuccessNextStep() const{ return m_successNextStep; }
59 inline bool SuccessNextStepHasBeenSet() const { return m_successNextStepHasBeenSet; }
60 inline void SetSuccessNextStep(const DialogState& value) { m_successNextStepHasBeenSet = true; m_successNextStep = value; }
61 inline void SetSuccessNextStep(DialogState&& value) { m_successNextStepHasBeenSet = true; m_successNextStep = std::move(value); }
65
67
71 inline const ConditionalSpecification& GetSuccessConditional() const{ return m_successConditional; }
72 inline bool SuccessConditionalHasBeenSet() const { return m_successConditionalHasBeenSet; }
73 inline void SetSuccessConditional(const ConditionalSpecification& value) { m_successConditionalHasBeenSet = true; m_successConditional = value; }
74 inline void SetSuccessConditional(ConditionalSpecification&& value) { m_successConditionalHasBeenSet = true; m_successConditional = std::move(value); }
78
80
81 inline const ResponseSpecification& GetFailureResponse() const{ return m_failureResponse; }
82 inline bool FailureResponseHasBeenSet() const { return m_failureResponseHasBeenSet; }
83 inline void SetFailureResponse(const ResponseSpecification& value) { m_failureResponseHasBeenSet = true; m_failureResponse = value; }
84 inline void SetFailureResponse(ResponseSpecification&& value) { m_failureResponseHasBeenSet = true; m_failureResponse = std::move(value); }
88
90
95 inline const DialogState& GetFailureNextStep() const{ return m_failureNextStep; }
96 inline bool FailureNextStepHasBeenSet() const { return m_failureNextStepHasBeenSet; }
97 inline void SetFailureNextStep(const DialogState& value) { m_failureNextStepHasBeenSet = true; m_failureNextStep = value; }
98 inline void SetFailureNextStep(DialogState&& value) { m_failureNextStepHasBeenSet = true; m_failureNextStep = std::move(value); }
102
104
109 inline const ConditionalSpecification& GetFailureConditional() const{ return m_failureConditional; }
110 inline bool FailureConditionalHasBeenSet() const { return m_failureConditionalHasBeenSet; }
111 inline void SetFailureConditional(const ConditionalSpecification& value) { m_failureConditionalHasBeenSet = true; m_failureConditional = value; }
112 inline void SetFailureConditional(ConditionalSpecification&& value) { m_failureConditionalHasBeenSet = true; m_failureConditional = std::move(value); }
116
118
119 inline const ResponseSpecification& GetTimeoutResponse() const{ return m_timeoutResponse; }
120 inline bool TimeoutResponseHasBeenSet() const { return m_timeoutResponseHasBeenSet; }
121 inline void SetTimeoutResponse(const ResponseSpecification& value) { m_timeoutResponseHasBeenSet = true; m_timeoutResponse = value; }
122 inline void SetTimeoutResponse(ResponseSpecification&& value) { m_timeoutResponseHasBeenSet = true; m_timeoutResponse = std::move(value); }
126
128
131 inline const DialogState& GetTimeoutNextStep() const{ return m_timeoutNextStep; }
132 inline bool TimeoutNextStepHasBeenSet() const { return m_timeoutNextStepHasBeenSet; }
133 inline void SetTimeoutNextStep(const DialogState& value) { m_timeoutNextStepHasBeenSet = true; m_timeoutNextStep = value; }
134 inline void SetTimeoutNextStep(DialogState&& value) { m_timeoutNextStepHasBeenSet = true; m_timeoutNextStep = std::move(value); }
138
140
143 inline const ConditionalSpecification& GetTimeoutConditional() const{ return m_timeoutConditional; }
144 inline bool TimeoutConditionalHasBeenSet() const { return m_timeoutConditionalHasBeenSet; }
145 inline void SetTimeoutConditional(const ConditionalSpecification& value) { m_timeoutConditionalHasBeenSet = true; m_timeoutConditional = value; }
146 inline void SetTimeoutConditional(ConditionalSpecification&& value) { m_timeoutConditionalHasBeenSet = true; m_timeoutConditional = std::move(value); }
150 private:
151
152 ResponseSpecification m_successResponse;
153 bool m_successResponseHasBeenSet = false;
154
155 DialogState m_successNextStep;
156 bool m_successNextStepHasBeenSet = false;
157
158 ConditionalSpecification m_successConditional;
159 bool m_successConditionalHasBeenSet = false;
160
161 ResponseSpecification m_failureResponse;
162 bool m_failureResponseHasBeenSet = false;
163
164 DialogState m_failureNextStep;
165 bool m_failureNextStepHasBeenSet = false;
166
167 ConditionalSpecification m_failureConditional;
168 bool m_failureConditionalHasBeenSet = false;
169
170 ResponseSpecification m_timeoutResponse;
171 bool m_timeoutResponseHasBeenSet = false;
172
173 DialogState m_timeoutNextStep;
174 bool m_timeoutNextStepHasBeenSet = false;
175
176 ConditionalSpecification m_timeoutConditional;
177 bool m_timeoutConditionalHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace LexModelsV2
182} // namespace Aws
const ResponseSpecification & GetSuccessResponse() const
AWS_LEXMODELSV2_API PostDialogCodeHookInvocationSpecification()
void SetSuccessConditional(ConditionalSpecification &&value)
void SetFailureConditional(ConditionalSpecification &&value)
bool FailureResponseHasBeenSet() const
void SetFailureResponse(ResponseSpecification &&value)
PostDialogCodeHookInvocationSpecification & WithFailureResponse(ResponseSpecification &&value)
PostDialogCodeHookInvocationSpecification & WithTimeoutConditional(const ConditionalSpecification &value)
void SetTimeoutNextStep(DialogState &&value)
PostDialogCodeHookInvocationSpecification & WithFailureConditional(ConditionalSpecification &&value)
PostDialogCodeHookInvocationSpecification & WithFailureConditional(const ConditionalSpecification &value)
PostDialogCodeHookInvocationSpecification & WithTimeoutResponse(const ResponseSpecification &value)
PostDialogCodeHookInvocationSpecification & WithTimeoutConditional(ConditionalSpecification &&value)
PostDialogCodeHookInvocationSpecification & WithSuccessResponse(ResponseSpecification &&value)
void SetTimeoutResponse(const ResponseSpecification &value)
void SetFailureNextStep(DialogState &&value)
void SetTimeoutNextStep(const DialogState &value)
bool FailureNextStepHasBeenSet() const
bool FailureConditionalHasBeenSet() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const DialogState & GetSuccessNextStep() const
const DialogState & GetFailureNextStep() const
PostDialogCodeHookInvocationSpecification & WithTimeoutNextStep(const DialogState &value)
PostDialogCodeHookInvocationSpecification & WithSuccessNextStep(DialogState &&value)
void SetSuccessResponse(const ResponseSpecification &value)
AWS_LEXMODELSV2_API PostDialogCodeHookInvocationSpecification(Aws::Utils::Json::JsonView jsonValue)
void SetSuccessConditional(const ConditionalSpecification &value)
void SetFailureResponse(const ResponseSpecification &value)
PostDialogCodeHookInvocationSpecification & WithSuccessConditional(ConditionalSpecification &&value)
bool SuccessNextStepHasBeenSet() const
void SetFailureNextStep(const DialogState &value)
PostDialogCodeHookInvocationSpecification & WithFailureResponse(const ResponseSpecification &value)
bool SuccessConditionalHasBeenSet() const
const ResponseSpecification & GetTimeoutResponse() const
void SetTimeoutResponse(ResponseSpecification &&value)
void SetTimeoutConditional(ConditionalSpecification &&value)
const ResponseSpecification & GetFailureResponse() const
PostDialogCodeHookInvocationSpecification & WithSuccessConditional(const ConditionalSpecification &value)
void SetSuccessNextStep(const DialogState &value)
bool TimeoutConditionalHasBeenSet() const
const DialogState & GetTimeoutNextStep() const
PostDialogCodeHookInvocationSpecification & WithFailureNextStep(const DialogState &value)
bool TimeoutResponseHasBeenSet() const
const ConditionalSpecification & GetSuccessConditional() const
PostDialogCodeHookInvocationSpecification & WithTimeoutNextStep(DialogState &&value)
const ConditionalSpecification & GetTimeoutConditional() const
bool TimeoutNextStepHasBeenSet() const
PostDialogCodeHookInvocationSpecification & WithSuccessResponse(const ResponseSpecification &value)
void SetFailureConditional(const ConditionalSpecification &value)
const ConditionalSpecification & GetFailureConditional() const
void SetTimeoutConditional(const ConditionalSpecification &value)
PostDialogCodeHookInvocationSpecification & WithTimeoutResponse(ResponseSpecification &&value)
bool SuccessResponseHasBeenSet() const
void SetSuccessNextStep(DialogState &&value)
PostDialogCodeHookInvocationSpecification & WithFailureNextStep(DialogState &&value)
PostDialogCodeHookInvocationSpecification & WithSuccessNextStep(const DialogState &value)
void SetSuccessResponse(ResponseSpecification &&value)
AWS_LEXMODELSV2_API PostDialogCodeHookInvocationSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue