AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PostFulfillmentStatusSpecification.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
37 {
38 public:
42 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
47 inline const ResponseSpecification& GetSuccessResponse() const{ return m_successResponse; }
48 inline bool SuccessResponseHasBeenSet() const { return m_successResponseHasBeenSet; }
49 inline void SetSuccessResponse(const ResponseSpecification& value) { m_successResponseHasBeenSet = true; m_successResponse = value; }
50 inline void SetSuccessResponse(ResponseSpecification&& value) { m_successResponseHasBeenSet = true; m_successResponse = std::move(value); }
54
56
57 inline const ResponseSpecification& GetFailureResponse() const{ return m_failureResponse; }
58 inline bool FailureResponseHasBeenSet() const { return m_failureResponseHasBeenSet; }
59 inline void SetFailureResponse(const ResponseSpecification& value) { m_failureResponseHasBeenSet = true; m_failureResponse = value; }
60 inline void SetFailureResponse(ResponseSpecification&& value) { m_failureResponseHasBeenSet = true; m_failureResponse = std::move(value); }
64
66
67 inline const ResponseSpecification& GetTimeoutResponse() const{ return m_timeoutResponse; }
68 inline bool TimeoutResponseHasBeenSet() const { return m_timeoutResponseHasBeenSet; }
69 inline void SetTimeoutResponse(const ResponseSpecification& value) { m_timeoutResponseHasBeenSet = true; m_timeoutResponse = value; }
70 inline void SetTimeoutResponse(ResponseSpecification&& value) { m_timeoutResponseHasBeenSet = true; m_timeoutResponse = std::move(value); }
74
76
80 inline const DialogState& GetSuccessNextStep() const{ return m_successNextStep; }
81 inline bool SuccessNextStepHasBeenSet() const { return m_successNextStepHasBeenSet; }
82 inline void SetSuccessNextStep(const DialogState& value) { m_successNextStepHasBeenSet = true; m_successNextStep = value; }
83 inline void SetSuccessNextStep(DialogState&& value) { m_successNextStepHasBeenSet = true; m_successNextStep = std::move(value); }
85 inline PostFulfillmentStatusSpecification& WithSuccessNextStep(DialogState&& value) { SetSuccessNextStep(std::move(value)); return *this;}
87
89
93 inline const ConditionalSpecification& GetSuccessConditional() const{ return m_successConditional; }
94 inline bool SuccessConditionalHasBeenSet() const { return m_successConditionalHasBeenSet; }
95 inline void SetSuccessConditional(const ConditionalSpecification& value) { m_successConditionalHasBeenSet = true; m_successConditional = value; }
96 inline void SetSuccessConditional(ConditionalSpecification&& value) { m_successConditionalHasBeenSet = true; m_successConditional = std::move(value); }
100
102
107 inline const DialogState& GetFailureNextStep() const{ return m_failureNextStep; }
108 inline bool FailureNextStepHasBeenSet() const { return m_failureNextStepHasBeenSet; }
109 inline void SetFailureNextStep(const DialogState& value) { m_failureNextStepHasBeenSet = true; m_failureNextStep = value; }
110 inline void SetFailureNextStep(DialogState&& value) { m_failureNextStepHasBeenSet = true; m_failureNextStep = std::move(value); }
114
116
121 inline const ConditionalSpecification& GetFailureConditional() const{ return m_failureConditional; }
122 inline bool FailureConditionalHasBeenSet() const { return m_failureConditionalHasBeenSet; }
123 inline void SetFailureConditional(const ConditionalSpecification& value) { m_failureConditionalHasBeenSet = true; m_failureConditional = value; }
124 inline void SetFailureConditional(ConditionalSpecification&& value) { m_failureConditionalHasBeenSet = true; m_failureConditional = std::move(value); }
128
130
134 inline const DialogState& GetTimeoutNextStep() const{ return m_timeoutNextStep; }
135 inline bool TimeoutNextStepHasBeenSet() const { return m_timeoutNextStepHasBeenSet; }
136 inline void SetTimeoutNextStep(const DialogState& value) { m_timeoutNextStepHasBeenSet = true; m_timeoutNextStep = value; }
137 inline void SetTimeoutNextStep(DialogState&& value) { m_timeoutNextStepHasBeenSet = true; m_timeoutNextStep = std::move(value); }
141
143
147 inline const ConditionalSpecification& GetTimeoutConditional() const{ return m_timeoutConditional; }
148 inline bool TimeoutConditionalHasBeenSet() const { return m_timeoutConditionalHasBeenSet; }
149 inline void SetTimeoutConditional(const ConditionalSpecification& value) { m_timeoutConditionalHasBeenSet = true; m_timeoutConditional = value; }
150 inline void SetTimeoutConditional(ConditionalSpecification&& value) { m_timeoutConditionalHasBeenSet = true; m_timeoutConditional = std::move(value); }
154 private:
155
156 ResponseSpecification m_successResponse;
157 bool m_successResponseHasBeenSet = false;
158
159 ResponseSpecification m_failureResponse;
160 bool m_failureResponseHasBeenSet = false;
161
162 ResponseSpecification m_timeoutResponse;
163 bool m_timeoutResponseHasBeenSet = false;
164
165 DialogState m_successNextStep;
166 bool m_successNextStepHasBeenSet = false;
167
168 ConditionalSpecification m_successConditional;
169 bool m_successConditionalHasBeenSet = false;
170
171 DialogState m_failureNextStep;
172 bool m_failureNextStepHasBeenSet = false;
173
174 ConditionalSpecification m_failureConditional;
175 bool m_failureConditionalHasBeenSet = false;
176
177 DialogState m_timeoutNextStep;
178 bool m_timeoutNextStepHasBeenSet = false;
179
180 ConditionalSpecification m_timeoutConditional;
181 bool m_timeoutConditionalHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace LexModelsV2
186} // namespace Aws
void SetTimeoutConditional(ConditionalSpecification &&value)
PostFulfillmentStatusSpecification & WithFailureConditional(const ConditionalSpecification &value)
PostFulfillmentStatusSpecification & WithSuccessResponse(ResponseSpecification &&value)
void SetTimeoutConditional(const ConditionalSpecification &value)
const DialogState & GetTimeoutNextStep() const
PostFulfillmentStatusSpecification & WithFailureResponse(const ResponseSpecification &value)
void SetSuccessNextStep(const DialogState &value)
bool SuccessConditionalHasBeenSet() const
void SetTimeoutResponse(const ResponseSpecification &value)
void SetFailureConditional(ConditionalSpecification &&value)
void SetTimeoutResponse(ResponseSpecification &&value)
void SetFailureConditional(const ConditionalSpecification &value)
PostFulfillmentStatusSpecification & WithSuccessNextStep(DialogState &&value)
void SetFailureResponse(ResponseSpecification &&value)
void SetFailureNextStep(DialogState &&value)
PostFulfillmentStatusSpecification & WithTimeoutResponse(ResponseSpecification &&value)
PostFulfillmentStatusSpecification & WithTimeoutNextStep(DialogState &&value)
void SetSuccessResponse(ResponseSpecification &&value)
AWS_LEXMODELSV2_API PostFulfillmentStatusSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
PostFulfillmentStatusSpecification & WithSuccessConditional(ConditionalSpecification &&value)
PostFulfillmentStatusSpecification & WithSuccessConditional(const ConditionalSpecification &value)
const ConditionalSpecification & GetSuccessConditional() const
bool TimeoutResponseHasBeenSet() const
AWS_LEXMODELSV2_API PostFulfillmentStatusSpecification()
PostFulfillmentStatusSpecification & WithFailureNextStep(DialogState &&value)
const ConditionalSpecification & GetFailureConditional() const
bool SuccessResponseHasBeenSet() const
const ResponseSpecification & GetFailureResponse() const
PostFulfillmentStatusSpecification & WithSuccessNextStep(const DialogState &value)
const ConditionalSpecification & GetTimeoutConditional() const
const ResponseSpecification & GetSuccessResponse() const
bool TimeoutConditionalHasBeenSet() const
bool FailureConditionalHasBeenSet() const
void SetFailureNextStep(const DialogState &value)
PostFulfillmentStatusSpecification & WithTimeoutConditional(ConditionalSpecification &&value)
AWS_LEXMODELSV2_API PostFulfillmentStatusSpecification(Aws::Utils::Json::JsonView jsonValue)
void SetFailureResponse(const ResponseSpecification &value)
void SetTimeoutNextStep(DialogState &&value)
void SetSuccessResponse(const ResponseSpecification &value)
PostFulfillmentStatusSpecification & WithFailureResponse(ResponseSpecification &&value)
PostFulfillmentStatusSpecification & WithTimeoutNextStep(const DialogState &value)
bool TimeoutNextStepHasBeenSet() const
const DialogState & GetSuccessNextStep() const
const ResponseSpecification & GetTimeoutResponse() const
void SetSuccessConditional(ConditionalSpecification &&value)
void SetSuccessNextStep(DialogState &&value)
void SetSuccessConditional(const ConditionalSpecification &value)
bool SuccessNextStepHasBeenSet() const
PostFulfillmentStatusSpecification & WithTimeoutConditional(const ConditionalSpecification &value)
PostFulfillmentStatusSpecification & WithTimeoutResponse(const ResponseSpecification &value)
const DialogState & GetFailureNextStep() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool FailureNextStepHasBeenSet() const
PostFulfillmentStatusSpecification & WithFailureNextStep(const DialogState &value)
PostFulfillmentStatusSpecification & WithFailureConditional(ConditionalSpecification &&value)
void SetTimeoutNextStep(const DialogState &value)
PostFulfillmentStatusSpecification & WithSuccessResponse(const ResponseSpecification &value)
bool FailureResponseHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue