AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
InspectionData.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/states/SFN_EXPORTS.h>
9#include <aws/states/model/InspectionDataRequest.h>
10#include <aws/states/model/InspectionDataResponse.h>
11#include <aws/states/model/InspectionErrorDetails.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SFN {
23namespace Model {
24
33 public:
34 AWS_SFN_API InspectionData() = default;
38
40
43 inline const Aws::String& GetInput() const { return m_input; }
44 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
45 template <typename InputT = Aws::String>
46 void SetInput(InputT&& value) {
47 m_inputHasBeenSet = true;
48 m_input = std::forward<InputT>(value);
49 }
50 template <typename InputT = Aws::String>
51 InspectionData& WithInput(InputT&& value) {
52 SetInput(std::forward<InputT>(value));
53 return *this;
54 }
56
58
65 inline const Aws::String& GetAfterArguments() const { return m_afterArguments; }
66 inline bool AfterArgumentsHasBeenSet() const { return m_afterArgumentsHasBeenSet; }
67 template <typename AfterArgumentsT = Aws::String>
68 void SetAfterArguments(AfterArgumentsT&& value) {
69 m_afterArgumentsHasBeenSet = true;
70 m_afterArguments = std::forward<AfterArgumentsT>(value);
71 }
72 template <typename AfterArgumentsT = Aws::String>
73 InspectionData& WithAfterArguments(AfterArgumentsT&& value) {
74 SetAfterArguments(std::forward<AfterArgumentsT>(value));
75 return *this;
76 }
78
80
85 inline const Aws::String& GetAfterInputPath() const { return m_afterInputPath; }
86 inline bool AfterInputPathHasBeenSet() const { return m_afterInputPathHasBeenSet; }
87 template <typename AfterInputPathT = Aws::String>
88 void SetAfterInputPath(AfterInputPathT&& value) {
89 m_afterInputPathHasBeenSet = true;
90 m_afterInputPath = std::forward<AfterInputPathT>(value);
91 }
92 template <typename AfterInputPathT = Aws::String>
93 InspectionData& WithAfterInputPath(AfterInputPathT&& value) {
94 SetAfterInputPath(std::forward<AfterInputPathT>(value));
95 return *this;
96 }
98
100
105 inline const Aws::String& GetAfterParameters() const { return m_afterParameters; }
106 inline bool AfterParametersHasBeenSet() const { return m_afterParametersHasBeenSet; }
107 template <typename AfterParametersT = Aws::String>
108 void SetAfterParameters(AfterParametersT&& value) {
109 m_afterParametersHasBeenSet = true;
110 m_afterParameters = std::forward<AfterParametersT>(value);
111 }
112 template <typename AfterParametersT = Aws::String>
113 InspectionData& WithAfterParameters(AfterParametersT&& value) {
114 SetAfterParameters(std::forward<AfterParametersT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::String& GetResult() const { return m_result; }
124 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
125 template <typename ResultT = Aws::String>
126 void SetResult(ResultT&& value) {
127 m_resultHasBeenSet = true;
128 m_result = std::forward<ResultT>(value);
129 }
130 template <typename ResultT = Aws::String>
131 InspectionData& WithResult(ResultT&& value) {
132 SetResult(std::forward<ResultT>(value));
133 return *this;
134 }
136
138
143 inline const Aws::String& GetAfterResultSelector() const { return m_afterResultSelector; }
144 inline bool AfterResultSelectorHasBeenSet() const { return m_afterResultSelectorHasBeenSet; }
145 template <typename AfterResultSelectorT = Aws::String>
146 void SetAfterResultSelector(AfterResultSelectorT&& value) {
147 m_afterResultSelectorHasBeenSet = true;
148 m_afterResultSelector = std::forward<AfterResultSelectorT>(value);
149 }
150 template <typename AfterResultSelectorT = Aws::String>
151 InspectionData& WithAfterResultSelector(AfterResultSelectorT&& value) {
152 SetAfterResultSelector(std::forward<AfterResultSelectorT>(value));
153 return *this;
154 }
156
158
164 inline const Aws::String& GetAfterResultPath() const { return m_afterResultPath; }
165 inline bool AfterResultPathHasBeenSet() const { return m_afterResultPathHasBeenSet; }
166 template <typename AfterResultPathT = Aws::String>
167 void SetAfterResultPath(AfterResultPathT&& value) {
168 m_afterResultPathHasBeenSet = true;
169 m_afterResultPath = std::forward<AfterResultPathT>(value);
170 }
171 template <typename AfterResultPathT = Aws::String>
172 InspectionData& WithAfterResultPath(AfterResultPathT&& value) {
173 SetAfterResultPath(std::forward<AfterResultPathT>(value));
174 return *this;
175 }
177
179
182 inline const InspectionDataRequest& GetRequest() const { return m_request; }
183 inline bool RequestHasBeenSet() const { return m_requestHasBeenSet; }
184 template <typename RequestT = InspectionDataRequest>
185 void SetRequest(RequestT&& value) {
186 m_requestHasBeenSet = true;
187 m_request = std::forward<RequestT>(value);
188 }
189 template <typename RequestT = InspectionDataRequest>
190 InspectionData& WithRequest(RequestT&& value) {
191 SetRequest(std::forward<RequestT>(value));
192 return *this;
193 }
195
197
200 inline const InspectionDataResponse& GetResponse() const { return m_response; }
201 inline bool ResponseHasBeenSet() const { return m_responseHasBeenSet; }
202 template <typename ResponseT = InspectionDataResponse>
203 void SetResponse(ResponseT&& value) {
204 m_responseHasBeenSet = true;
205 m_response = std::forward<ResponseT>(value);
206 }
207 template <typename ResponseT = InspectionDataResponse>
208 InspectionData& WithResponse(ResponseT&& value) {
209 SetResponse(std::forward<ResponseT>(value));
210 return *this;
211 }
213
215
220 inline const Aws::String& GetVariables() const { return m_variables; }
221 inline bool VariablesHasBeenSet() const { return m_variablesHasBeenSet; }
222 template <typename VariablesT = Aws::String>
223 void SetVariables(VariablesT&& value) {
224 m_variablesHasBeenSet = true;
225 m_variables = std::forward<VariablesT>(value);
226 }
227 template <typename VariablesT = Aws::String>
228 InspectionData& WithVariables(VariablesT&& value) {
229 SetVariables(std::forward<VariablesT>(value));
230 return *this;
231 }
233
235
238 inline const InspectionErrorDetails& GetErrorDetails() const { return m_errorDetails; }
239 inline bool ErrorDetailsHasBeenSet() const { return m_errorDetailsHasBeenSet; }
240 template <typename ErrorDetailsT = InspectionErrorDetails>
241 void SetErrorDetails(ErrorDetailsT&& value) {
242 m_errorDetailsHasBeenSet = true;
243 m_errorDetails = std::forward<ErrorDetailsT>(value);
244 }
245 template <typename ErrorDetailsT = InspectionErrorDetails>
246 InspectionData& WithErrorDetails(ErrorDetailsT&& value) {
247 SetErrorDetails(std::forward<ErrorDetailsT>(value));
248 return *this;
249 }
251
253
257 inline const Aws::String& GetAfterItemsPath() const { return m_afterItemsPath; }
258 inline bool AfterItemsPathHasBeenSet() const { return m_afterItemsPathHasBeenSet; }
259 template <typename AfterItemsPathT = Aws::String>
260 void SetAfterItemsPath(AfterItemsPathT&& value) {
261 m_afterItemsPathHasBeenSet = true;
262 m_afterItemsPath = std::forward<AfterItemsPathT>(value);
263 }
264 template <typename AfterItemsPathT = Aws::String>
265 InspectionData& WithAfterItemsPath(AfterItemsPathT&& value) {
266 SetAfterItemsPath(std::forward<AfterItemsPathT>(value));
267 return *this;
268 }
270
272
276 inline const Aws::String& GetAfterItemSelector() const { return m_afterItemSelector; }
277 inline bool AfterItemSelectorHasBeenSet() const { return m_afterItemSelectorHasBeenSet; }
278 template <typename AfterItemSelectorT = Aws::String>
279 void SetAfterItemSelector(AfterItemSelectorT&& value) {
280 m_afterItemSelectorHasBeenSet = true;
281 m_afterItemSelector = std::forward<AfterItemSelectorT>(value);
282 }
283 template <typename AfterItemSelectorT = Aws::String>
284 InspectionData& WithAfterItemSelector(AfterItemSelectorT&& value) {
285 SetAfterItemSelector(std::forward<AfterItemSelectorT>(value));
286 return *this;
287 }
289
291
295 inline const Aws::String& GetAfterItemBatcher() const { return m_afterItemBatcher; }
296 inline bool AfterItemBatcherHasBeenSet() const { return m_afterItemBatcherHasBeenSet; }
297 template <typename AfterItemBatcherT = Aws::String>
298 void SetAfterItemBatcher(AfterItemBatcherT&& value) {
299 m_afterItemBatcherHasBeenSet = true;
300 m_afterItemBatcher = std::forward<AfterItemBatcherT>(value);
301 }
302 template <typename AfterItemBatcherT = Aws::String>
303 InspectionData& WithAfterItemBatcher(AfterItemBatcherT&& value) {
304 SetAfterItemBatcher(std::forward<AfterItemBatcherT>(value));
305 return *this;
306 }
308
310
314 inline const Aws::String& GetAfterItemsPointer() const { return m_afterItemsPointer; }
315 inline bool AfterItemsPointerHasBeenSet() const { return m_afterItemsPointerHasBeenSet; }
316 template <typename AfterItemsPointerT = Aws::String>
317 void SetAfterItemsPointer(AfterItemsPointerT&& value) {
318 m_afterItemsPointerHasBeenSet = true;
319 m_afterItemsPointer = std::forward<AfterItemsPointerT>(value);
320 }
321 template <typename AfterItemsPointerT = Aws::String>
322 InspectionData& WithAfterItemsPointer(AfterItemsPointerT&& value) {
323 SetAfterItemsPointer(std::forward<AfterItemsPointerT>(value));
324 return *this;
325 }
327
329
333 inline int GetToleratedFailureCount() const { return m_toleratedFailureCount; }
334 inline bool ToleratedFailureCountHasBeenSet() const { return m_toleratedFailureCountHasBeenSet; }
335 inline void SetToleratedFailureCount(int value) {
336 m_toleratedFailureCountHasBeenSet = true;
337 m_toleratedFailureCount = value;
338 }
341 return *this;
342 }
344
346
350 inline double GetToleratedFailurePercentage() const { return m_toleratedFailurePercentage; }
351 inline bool ToleratedFailurePercentageHasBeenSet() const { return m_toleratedFailurePercentageHasBeenSet; }
352 inline void SetToleratedFailurePercentage(double value) {
353 m_toleratedFailurePercentageHasBeenSet = true;
354 m_toleratedFailurePercentage = value;
355 }
358 return *this;
359 }
361
363
366 inline int GetMaxConcurrency() const { return m_maxConcurrency; }
367 inline bool MaxConcurrencyHasBeenSet() const { return m_maxConcurrencyHasBeenSet; }
368 inline void SetMaxConcurrency(int value) {
369 m_maxConcurrencyHasBeenSet = true;
370 m_maxConcurrency = value;
371 }
373 SetMaxConcurrency(value);
374 return *this;
375 }
377 private:
378 Aws::String m_input;
379
380 Aws::String m_afterArguments;
381
382 Aws::String m_afterInputPath;
383
384 Aws::String m_afterParameters;
385
386 Aws::String m_result;
387
388 Aws::String m_afterResultSelector;
389
390 Aws::String m_afterResultPath;
391
392 InspectionDataRequest m_request;
393
394 InspectionDataResponse m_response;
395
396 Aws::String m_variables;
397
398 InspectionErrorDetails m_errorDetails;
399
400 Aws::String m_afterItemsPath;
401
402 Aws::String m_afterItemSelector;
403
404 Aws::String m_afterItemBatcher;
405
406 Aws::String m_afterItemsPointer;
407
408 int m_toleratedFailureCount{0};
409
410 double m_toleratedFailurePercentage{0.0};
411
412 int m_maxConcurrency{0};
413 bool m_inputHasBeenSet = false;
414 bool m_afterArgumentsHasBeenSet = false;
415 bool m_afterInputPathHasBeenSet = false;
416 bool m_afterParametersHasBeenSet = false;
417 bool m_resultHasBeenSet = false;
418 bool m_afterResultSelectorHasBeenSet = false;
419 bool m_afterResultPathHasBeenSet = false;
420 bool m_requestHasBeenSet = false;
421 bool m_responseHasBeenSet = false;
422 bool m_variablesHasBeenSet = false;
423 bool m_errorDetailsHasBeenSet = false;
424 bool m_afterItemsPathHasBeenSet = false;
425 bool m_afterItemSelectorHasBeenSet = false;
426 bool m_afterItemBatcherHasBeenSet = false;
427 bool m_afterItemsPointerHasBeenSet = false;
428 bool m_toleratedFailureCountHasBeenSet = false;
429 bool m_toleratedFailurePercentageHasBeenSet = false;
430 bool m_maxConcurrencyHasBeenSet = false;
431};
432
433} // namespace Model
434} // namespace SFN
435} // namespace Aws
void SetAfterItemBatcher(AfterItemBatcherT &&value)
InspectionData & WithToleratedFailureCount(int value)
void SetAfterArguments(AfterArgumentsT &&value)
const Aws::String & GetAfterParameters() const
const Aws::String & GetAfterArguments() const
InspectionData & WithMaxConcurrency(int value)
const InspectionDataRequest & GetRequest() const
void SetRequest(RequestT &&value)
InspectionData & WithAfterArguments(AfterArgumentsT &&value)
AWS_SFN_API InspectionData()=default
const Aws::String & GetAfterItemBatcher() const
void SetAfterItemsPath(AfterItemsPathT &&value)
InspectionData & WithResponse(ResponseT &&value)
const Aws::String & GetAfterItemSelector() const
const Aws::String & GetAfterItemsPath() const
const Aws::String & GetAfterInputPath() const
InspectionData & WithAfterItemsPointer(AfterItemsPointerT &&value)
double GetToleratedFailurePercentage() const
InspectionData & WithInput(InputT &&value)
const Aws::String & GetResult() const
InspectionData & WithAfterItemsPath(AfterItemsPathT &&value)
const InspectionDataResponse & GetResponse() const
const Aws::String & GetAfterResultPath() const
const Aws::String & GetAfterResultSelector() const
InspectionData & WithVariables(VariablesT &&value)
InspectionData & WithAfterItemSelector(AfterItemSelectorT &&value)
void SetInput(InputT &&value)
InspectionData & WithResult(ResultT &&value)
AWS_SFN_API InspectionData(Aws::Utils::Json::JsonView jsonValue)
InspectionData & WithAfterResultSelector(AfterResultSelectorT &&value)
const Aws::String & GetInput() const
AWS_SFN_API InspectionData & operator=(Aws::Utils::Json::JsonView jsonValue)
const InspectionErrorDetails & GetErrorDetails() const
InspectionData & WithToleratedFailurePercentage(double value)
const Aws::String & GetVariables() const
InspectionData & WithRequest(RequestT &&value)
void SetResult(ResultT &&value)
void SetAfterParameters(AfterParametersT &&value)
InspectionData & WithAfterResultPath(AfterResultPathT &&value)
void SetToleratedFailurePercentage(double value)
void SetAfterItemSelector(AfterItemSelectorT &&value)
InspectionData & WithAfterItemBatcher(AfterItemBatcherT &&value)
bool ToleratedFailurePercentageHasBeenSet() const
const Aws::String & GetAfterItemsPointer() const
InspectionData & WithAfterParameters(AfterParametersT &&value)
void SetErrorDetails(ErrorDetailsT &&value)
void SetVariables(VariablesT &&value)
InspectionData & WithErrorDetails(ErrorDetailsT &&value)
InspectionData & WithAfterInputPath(AfterInputPathT &&value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResponse(ResponseT &&value)
void SetAfterResultPath(AfterResultPathT &&value)
void SetAfterInputPath(AfterInputPathT &&value)
void SetAfterResultSelector(AfterResultSelectorT &&value)
void SetAfterItemsPointer(AfterItemsPointerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue