AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
HistoryEvent.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/states/SFN_EXPORTS.h>
9#include <aws/states/model/ActivityFailedEventDetails.h>
10#include <aws/states/model/ActivityScheduleFailedEventDetails.h>
11#include <aws/states/model/ActivityScheduledEventDetails.h>
12#include <aws/states/model/ActivityStartedEventDetails.h>
13#include <aws/states/model/ActivitySucceededEventDetails.h>
14#include <aws/states/model/ActivityTimedOutEventDetails.h>
15#include <aws/states/model/EvaluationFailedEventDetails.h>
16#include <aws/states/model/ExecutionAbortedEventDetails.h>
17#include <aws/states/model/ExecutionFailedEventDetails.h>
18#include <aws/states/model/ExecutionRedrivenEventDetails.h>
19#include <aws/states/model/ExecutionStartedEventDetails.h>
20#include <aws/states/model/ExecutionSucceededEventDetails.h>
21#include <aws/states/model/ExecutionTimedOutEventDetails.h>
22#include <aws/states/model/HistoryEventType.h>
23#include <aws/states/model/LambdaFunctionFailedEventDetails.h>
24#include <aws/states/model/LambdaFunctionScheduleFailedEventDetails.h>
25#include <aws/states/model/LambdaFunctionScheduledEventDetails.h>
26#include <aws/states/model/LambdaFunctionStartFailedEventDetails.h>
27#include <aws/states/model/LambdaFunctionSucceededEventDetails.h>
28#include <aws/states/model/LambdaFunctionTimedOutEventDetails.h>
29#include <aws/states/model/MapIterationEventDetails.h>
30#include <aws/states/model/MapRunFailedEventDetails.h>
31#include <aws/states/model/MapRunRedrivenEventDetails.h>
32#include <aws/states/model/MapRunStartedEventDetails.h>
33#include <aws/states/model/MapStateStartedEventDetails.h>
34#include <aws/states/model/StateEnteredEventDetails.h>
35#include <aws/states/model/StateExitedEventDetails.h>
36#include <aws/states/model/TaskFailedEventDetails.h>
37#include <aws/states/model/TaskScheduledEventDetails.h>
38#include <aws/states/model/TaskStartFailedEventDetails.h>
39#include <aws/states/model/TaskStartedEventDetails.h>
40#include <aws/states/model/TaskSubmitFailedEventDetails.h>
41#include <aws/states/model/TaskSubmittedEventDetails.h>
42#include <aws/states/model/TaskSucceededEventDetails.h>
43#include <aws/states/model/TaskTimedOutEventDetails.h>
44
45#include <utility>
46
47namespace Aws {
48namespace Utils {
49namespace Json {
50class JsonValue;
51class JsonView;
52} // namespace Json
53} // namespace Utils
54namespace SFN {
55namespace Model {
56
64 public:
65 AWS_SFN_API HistoryEvent() = default;
69
71
76 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
77 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
78 template <typename TimestampT = Aws::Utils::DateTime>
79 void SetTimestamp(TimestampT&& value) {
80 m_timestampHasBeenSet = true;
81 m_timestamp = std::forward<TimestampT>(value);
82 }
83 template <typename TimestampT = Aws::Utils::DateTime>
84 HistoryEvent& WithTimestamp(TimestampT&& value) {
85 SetTimestamp(std::forward<TimestampT>(value));
86 return *this;
87 }
89
91
94 inline HistoryEventType GetType() const { return m_type; }
95 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
96 inline void SetType(HistoryEventType value) {
97 m_typeHasBeenSet = true;
98 m_type = value;
99 }
101 SetType(value);
102 return *this;
103 }
105
107
110 inline long long GetId() const { return m_id; }
111 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
112 inline void SetId(long long value) {
113 m_idHasBeenSet = true;
114 m_id = value;
115 }
116 inline HistoryEvent& WithId(long long value) {
117 SetId(value);
118 return *this;
119 }
121
123
126 inline long long GetPreviousEventId() const { return m_previousEventId; }
127 inline bool PreviousEventIdHasBeenSet() const { return m_previousEventIdHasBeenSet; }
128 inline void SetPreviousEventId(long long value) {
129 m_previousEventIdHasBeenSet = true;
130 m_previousEventId = value;
131 }
132 inline HistoryEvent& WithPreviousEventId(long long value) {
133 SetPreviousEventId(value);
134 return *this;
135 }
137
139
140 inline const ActivityFailedEventDetails& GetActivityFailedEventDetails() const { return m_activityFailedEventDetails; }
141 inline bool ActivityFailedEventDetailsHasBeenSet() const { return m_activityFailedEventDetailsHasBeenSet; }
142 template <typename ActivityFailedEventDetailsT = ActivityFailedEventDetails>
143 void SetActivityFailedEventDetails(ActivityFailedEventDetailsT&& value) {
144 m_activityFailedEventDetailsHasBeenSet = true;
145 m_activityFailedEventDetails = std::forward<ActivityFailedEventDetailsT>(value);
146 }
147 template <typename ActivityFailedEventDetailsT = ActivityFailedEventDetails>
148 HistoryEvent& WithActivityFailedEventDetails(ActivityFailedEventDetailsT&& value) {
149 SetActivityFailedEventDetails(std::forward<ActivityFailedEventDetailsT>(value));
150 return *this;
151 }
153
155
160 return m_activityScheduleFailedEventDetails;
161 }
162 inline bool ActivityScheduleFailedEventDetailsHasBeenSet() const { return m_activityScheduleFailedEventDetailsHasBeenSet; }
163 template <typename ActivityScheduleFailedEventDetailsT = ActivityScheduleFailedEventDetails>
164 void SetActivityScheduleFailedEventDetails(ActivityScheduleFailedEventDetailsT&& value) {
165 m_activityScheduleFailedEventDetailsHasBeenSet = true;
166 m_activityScheduleFailedEventDetails = std::forward<ActivityScheduleFailedEventDetailsT>(value);
167 }
168 template <typename ActivityScheduleFailedEventDetailsT = ActivityScheduleFailedEventDetails>
169 HistoryEvent& WithActivityScheduleFailedEventDetails(ActivityScheduleFailedEventDetailsT&& value) {
170 SetActivityScheduleFailedEventDetails(std::forward<ActivityScheduleFailedEventDetailsT>(value));
171 return *this;
172 }
174
176
177 inline const ActivityScheduledEventDetails& GetActivityScheduledEventDetails() const { return m_activityScheduledEventDetails; }
178 inline bool ActivityScheduledEventDetailsHasBeenSet() const { return m_activityScheduledEventDetailsHasBeenSet; }
179 template <typename ActivityScheduledEventDetailsT = ActivityScheduledEventDetails>
180 void SetActivityScheduledEventDetails(ActivityScheduledEventDetailsT&& value) {
181 m_activityScheduledEventDetailsHasBeenSet = true;
182 m_activityScheduledEventDetails = std::forward<ActivityScheduledEventDetailsT>(value);
183 }
184 template <typename ActivityScheduledEventDetailsT = ActivityScheduledEventDetails>
185 HistoryEvent& WithActivityScheduledEventDetails(ActivityScheduledEventDetailsT&& value) {
186 SetActivityScheduledEventDetails(std::forward<ActivityScheduledEventDetailsT>(value));
187 return *this;
188 }
190
192
193 inline const ActivityStartedEventDetails& GetActivityStartedEventDetails() const { return m_activityStartedEventDetails; }
194 inline bool ActivityStartedEventDetailsHasBeenSet() const { return m_activityStartedEventDetailsHasBeenSet; }
195 template <typename ActivityStartedEventDetailsT = ActivityStartedEventDetails>
196 void SetActivityStartedEventDetails(ActivityStartedEventDetailsT&& value) {
197 m_activityStartedEventDetailsHasBeenSet = true;
198 m_activityStartedEventDetails = std::forward<ActivityStartedEventDetailsT>(value);
199 }
200 template <typename ActivityStartedEventDetailsT = ActivityStartedEventDetails>
201 HistoryEvent& WithActivityStartedEventDetails(ActivityStartedEventDetailsT&& value) {
202 SetActivityStartedEventDetails(std::forward<ActivityStartedEventDetailsT>(value));
203 return *this;
204 }
206
208
209 inline const ActivitySucceededEventDetails& GetActivitySucceededEventDetails() const { return m_activitySucceededEventDetails; }
210 inline bool ActivitySucceededEventDetailsHasBeenSet() const { return m_activitySucceededEventDetailsHasBeenSet; }
211 template <typename ActivitySucceededEventDetailsT = ActivitySucceededEventDetails>
212 void SetActivitySucceededEventDetails(ActivitySucceededEventDetailsT&& value) {
213 m_activitySucceededEventDetailsHasBeenSet = true;
214 m_activitySucceededEventDetails = std::forward<ActivitySucceededEventDetailsT>(value);
215 }
216 template <typename ActivitySucceededEventDetailsT = ActivitySucceededEventDetails>
217 HistoryEvent& WithActivitySucceededEventDetails(ActivitySucceededEventDetailsT&& value) {
218 SetActivitySucceededEventDetails(std::forward<ActivitySucceededEventDetailsT>(value));
219 return *this;
220 }
222
224
225 inline const ActivityTimedOutEventDetails& GetActivityTimedOutEventDetails() const { return m_activityTimedOutEventDetails; }
226 inline bool ActivityTimedOutEventDetailsHasBeenSet() const { return m_activityTimedOutEventDetailsHasBeenSet; }
227 template <typename ActivityTimedOutEventDetailsT = ActivityTimedOutEventDetails>
228 void SetActivityTimedOutEventDetails(ActivityTimedOutEventDetailsT&& value) {
229 m_activityTimedOutEventDetailsHasBeenSet = true;
230 m_activityTimedOutEventDetails = std::forward<ActivityTimedOutEventDetailsT>(value);
231 }
232 template <typename ActivityTimedOutEventDetailsT = ActivityTimedOutEventDetails>
233 HistoryEvent& WithActivityTimedOutEventDetails(ActivityTimedOutEventDetailsT&& value) {
234 SetActivityTimedOutEventDetails(std::forward<ActivityTimedOutEventDetailsT>(value));
235 return *this;
236 }
238
240
243 inline const TaskFailedEventDetails& GetTaskFailedEventDetails() const { return m_taskFailedEventDetails; }
244 inline bool TaskFailedEventDetailsHasBeenSet() const { return m_taskFailedEventDetailsHasBeenSet; }
245 template <typename TaskFailedEventDetailsT = TaskFailedEventDetails>
246 void SetTaskFailedEventDetails(TaskFailedEventDetailsT&& value) {
247 m_taskFailedEventDetailsHasBeenSet = true;
248 m_taskFailedEventDetails = std::forward<TaskFailedEventDetailsT>(value);
249 }
250 template <typename TaskFailedEventDetailsT = TaskFailedEventDetails>
251 HistoryEvent& WithTaskFailedEventDetails(TaskFailedEventDetailsT&& value) {
252 SetTaskFailedEventDetails(std::forward<TaskFailedEventDetailsT>(value));
253 return *this;
254 }
256
258
261 inline const TaskScheduledEventDetails& GetTaskScheduledEventDetails() const { return m_taskScheduledEventDetails; }
262 inline bool TaskScheduledEventDetailsHasBeenSet() const { return m_taskScheduledEventDetailsHasBeenSet; }
263 template <typename TaskScheduledEventDetailsT = TaskScheduledEventDetails>
264 void SetTaskScheduledEventDetails(TaskScheduledEventDetailsT&& value) {
265 m_taskScheduledEventDetailsHasBeenSet = true;
266 m_taskScheduledEventDetails = std::forward<TaskScheduledEventDetailsT>(value);
267 }
268 template <typename TaskScheduledEventDetailsT = TaskScheduledEventDetails>
269 HistoryEvent& WithTaskScheduledEventDetails(TaskScheduledEventDetailsT&& value) {
270 SetTaskScheduledEventDetails(std::forward<TaskScheduledEventDetailsT>(value));
271 return *this;
272 }
274
276
279 inline const TaskStartFailedEventDetails& GetTaskStartFailedEventDetails() const { return m_taskStartFailedEventDetails; }
280 inline bool TaskStartFailedEventDetailsHasBeenSet() const { return m_taskStartFailedEventDetailsHasBeenSet; }
281 template <typename TaskStartFailedEventDetailsT = TaskStartFailedEventDetails>
282 void SetTaskStartFailedEventDetails(TaskStartFailedEventDetailsT&& value) {
283 m_taskStartFailedEventDetailsHasBeenSet = true;
284 m_taskStartFailedEventDetails = std::forward<TaskStartFailedEventDetailsT>(value);
285 }
286 template <typename TaskStartFailedEventDetailsT = TaskStartFailedEventDetails>
287 HistoryEvent& WithTaskStartFailedEventDetails(TaskStartFailedEventDetailsT&& value) {
288 SetTaskStartFailedEventDetails(std::forward<TaskStartFailedEventDetailsT>(value));
289 return *this;
290 }
292
294
297 inline const TaskStartedEventDetails& GetTaskStartedEventDetails() const { return m_taskStartedEventDetails; }
298 inline bool TaskStartedEventDetailsHasBeenSet() const { return m_taskStartedEventDetailsHasBeenSet; }
299 template <typename TaskStartedEventDetailsT = TaskStartedEventDetails>
300 void SetTaskStartedEventDetails(TaskStartedEventDetailsT&& value) {
301 m_taskStartedEventDetailsHasBeenSet = true;
302 m_taskStartedEventDetails = std::forward<TaskStartedEventDetailsT>(value);
303 }
304 template <typename TaskStartedEventDetailsT = TaskStartedEventDetails>
305 HistoryEvent& WithTaskStartedEventDetails(TaskStartedEventDetailsT&& value) {
306 SetTaskStartedEventDetails(std::forward<TaskStartedEventDetailsT>(value));
307 return *this;
308 }
310
312
315 inline const TaskSubmitFailedEventDetails& GetTaskSubmitFailedEventDetails() const { return m_taskSubmitFailedEventDetails; }
316 inline bool TaskSubmitFailedEventDetailsHasBeenSet() const { return m_taskSubmitFailedEventDetailsHasBeenSet; }
317 template <typename TaskSubmitFailedEventDetailsT = TaskSubmitFailedEventDetails>
318 void SetTaskSubmitFailedEventDetails(TaskSubmitFailedEventDetailsT&& value) {
319 m_taskSubmitFailedEventDetailsHasBeenSet = true;
320 m_taskSubmitFailedEventDetails = std::forward<TaskSubmitFailedEventDetailsT>(value);
321 }
322 template <typename TaskSubmitFailedEventDetailsT = TaskSubmitFailedEventDetails>
323 HistoryEvent& WithTaskSubmitFailedEventDetails(TaskSubmitFailedEventDetailsT&& value) {
324 SetTaskSubmitFailedEventDetails(std::forward<TaskSubmitFailedEventDetailsT>(value));
325 return *this;
326 }
328
330
333 inline const TaskSubmittedEventDetails& GetTaskSubmittedEventDetails() const { return m_taskSubmittedEventDetails; }
334 inline bool TaskSubmittedEventDetailsHasBeenSet() const { return m_taskSubmittedEventDetailsHasBeenSet; }
335 template <typename TaskSubmittedEventDetailsT = TaskSubmittedEventDetails>
336 void SetTaskSubmittedEventDetails(TaskSubmittedEventDetailsT&& value) {
337 m_taskSubmittedEventDetailsHasBeenSet = true;
338 m_taskSubmittedEventDetails = std::forward<TaskSubmittedEventDetailsT>(value);
339 }
340 template <typename TaskSubmittedEventDetailsT = TaskSubmittedEventDetails>
341 HistoryEvent& WithTaskSubmittedEventDetails(TaskSubmittedEventDetailsT&& value) {
342 SetTaskSubmittedEventDetails(std::forward<TaskSubmittedEventDetailsT>(value));
343 return *this;
344 }
346
348
351 inline const TaskSucceededEventDetails& GetTaskSucceededEventDetails() const { return m_taskSucceededEventDetails; }
352 inline bool TaskSucceededEventDetailsHasBeenSet() const { return m_taskSucceededEventDetailsHasBeenSet; }
353 template <typename TaskSucceededEventDetailsT = TaskSucceededEventDetails>
354 void SetTaskSucceededEventDetails(TaskSucceededEventDetailsT&& value) {
355 m_taskSucceededEventDetailsHasBeenSet = true;
356 m_taskSucceededEventDetails = std::forward<TaskSucceededEventDetailsT>(value);
357 }
358 template <typename TaskSucceededEventDetailsT = TaskSucceededEventDetails>
359 HistoryEvent& WithTaskSucceededEventDetails(TaskSucceededEventDetailsT&& value) {
360 SetTaskSucceededEventDetails(std::forward<TaskSucceededEventDetailsT>(value));
361 return *this;
362 }
364
366
369 inline const TaskTimedOutEventDetails& GetTaskTimedOutEventDetails() const { return m_taskTimedOutEventDetails; }
370 inline bool TaskTimedOutEventDetailsHasBeenSet() const { return m_taskTimedOutEventDetailsHasBeenSet; }
371 template <typename TaskTimedOutEventDetailsT = TaskTimedOutEventDetails>
372 void SetTaskTimedOutEventDetails(TaskTimedOutEventDetailsT&& value) {
373 m_taskTimedOutEventDetailsHasBeenSet = true;
374 m_taskTimedOutEventDetails = std::forward<TaskTimedOutEventDetailsT>(value);
375 }
376 template <typename TaskTimedOutEventDetailsT = TaskTimedOutEventDetails>
377 HistoryEvent& WithTaskTimedOutEventDetails(TaskTimedOutEventDetailsT&& value) {
378 SetTaskTimedOutEventDetails(std::forward<TaskTimedOutEventDetailsT>(value));
379 return *this;
380 }
382
384
385 inline const ExecutionFailedEventDetails& GetExecutionFailedEventDetails() const { return m_executionFailedEventDetails; }
386 inline bool ExecutionFailedEventDetailsHasBeenSet() const { return m_executionFailedEventDetailsHasBeenSet; }
387 template <typename ExecutionFailedEventDetailsT = ExecutionFailedEventDetails>
388 void SetExecutionFailedEventDetails(ExecutionFailedEventDetailsT&& value) {
389 m_executionFailedEventDetailsHasBeenSet = true;
390 m_executionFailedEventDetails = std::forward<ExecutionFailedEventDetailsT>(value);
391 }
392 template <typename ExecutionFailedEventDetailsT = ExecutionFailedEventDetails>
393 HistoryEvent& WithExecutionFailedEventDetails(ExecutionFailedEventDetailsT&& value) {
394 SetExecutionFailedEventDetails(std::forward<ExecutionFailedEventDetailsT>(value));
395 return *this;
396 }
398
400
401 inline const ExecutionStartedEventDetails& GetExecutionStartedEventDetails() const { return m_executionStartedEventDetails; }
402 inline bool ExecutionStartedEventDetailsHasBeenSet() const { return m_executionStartedEventDetailsHasBeenSet; }
403 template <typename ExecutionStartedEventDetailsT = ExecutionStartedEventDetails>
404 void SetExecutionStartedEventDetails(ExecutionStartedEventDetailsT&& value) {
405 m_executionStartedEventDetailsHasBeenSet = true;
406 m_executionStartedEventDetails = std::forward<ExecutionStartedEventDetailsT>(value);
407 }
408 template <typename ExecutionStartedEventDetailsT = ExecutionStartedEventDetails>
409 HistoryEvent& WithExecutionStartedEventDetails(ExecutionStartedEventDetailsT&& value) {
410 SetExecutionStartedEventDetails(std::forward<ExecutionStartedEventDetailsT>(value));
411 return *this;
412 }
414
416
417 inline const ExecutionSucceededEventDetails& GetExecutionSucceededEventDetails() const { return m_executionSucceededEventDetails; }
418 inline bool ExecutionSucceededEventDetailsHasBeenSet() const { return m_executionSucceededEventDetailsHasBeenSet; }
419 template <typename ExecutionSucceededEventDetailsT = ExecutionSucceededEventDetails>
420 void SetExecutionSucceededEventDetails(ExecutionSucceededEventDetailsT&& value) {
421 m_executionSucceededEventDetailsHasBeenSet = true;
422 m_executionSucceededEventDetails = std::forward<ExecutionSucceededEventDetailsT>(value);
423 }
424 template <typename ExecutionSucceededEventDetailsT = ExecutionSucceededEventDetails>
425 HistoryEvent& WithExecutionSucceededEventDetails(ExecutionSucceededEventDetailsT&& value) {
426 SetExecutionSucceededEventDetails(std::forward<ExecutionSucceededEventDetailsT>(value));
427 return *this;
428 }
430
432
433 inline const ExecutionAbortedEventDetails& GetExecutionAbortedEventDetails() const { return m_executionAbortedEventDetails; }
434 inline bool ExecutionAbortedEventDetailsHasBeenSet() const { return m_executionAbortedEventDetailsHasBeenSet; }
435 template <typename ExecutionAbortedEventDetailsT = ExecutionAbortedEventDetails>
436 void SetExecutionAbortedEventDetails(ExecutionAbortedEventDetailsT&& value) {
437 m_executionAbortedEventDetailsHasBeenSet = true;
438 m_executionAbortedEventDetails = std::forward<ExecutionAbortedEventDetailsT>(value);
439 }
440 template <typename ExecutionAbortedEventDetailsT = ExecutionAbortedEventDetails>
441 HistoryEvent& WithExecutionAbortedEventDetails(ExecutionAbortedEventDetailsT&& value) {
442 SetExecutionAbortedEventDetails(std::forward<ExecutionAbortedEventDetailsT>(value));
443 return *this;
444 }
446
448
449 inline const ExecutionTimedOutEventDetails& GetExecutionTimedOutEventDetails() const { return m_executionTimedOutEventDetails; }
450 inline bool ExecutionTimedOutEventDetailsHasBeenSet() const { return m_executionTimedOutEventDetailsHasBeenSet; }
451 template <typename ExecutionTimedOutEventDetailsT = ExecutionTimedOutEventDetails>
452 void SetExecutionTimedOutEventDetails(ExecutionTimedOutEventDetailsT&& value) {
453 m_executionTimedOutEventDetailsHasBeenSet = true;
454 m_executionTimedOutEventDetails = std::forward<ExecutionTimedOutEventDetailsT>(value);
455 }
456 template <typename ExecutionTimedOutEventDetailsT = ExecutionTimedOutEventDetails>
457 HistoryEvent& WithExecutionTimedOutEventDetails(ExecutionTimedOutEventDetailsT&& value) {
458 SetExecutionTimedOutEventDetails(std::forward<ExecutionTimedOutEventDetailsT>(value));
459 return *this;
460 }
462
464
467 inline const ExecutionRedrivenEventDetails& GetExecutionRedrivenEventDetails() const { return m_executionRedrivenEventDetails; }
468 inline bool ExecutionRedrivenEventDetailsHasBeenSet() const { return m_executionRedrivenEventDetailsHasBeenSet; }
469 template <typename ExecutionRedrivenEventDetailsT = ExecutionRedrivenEventDetails>
470 void SetExecutionRedrivenEventDetails(ExecutionRedrivenEventDetailsT&& value) {
471 m_executionRedrivenEventDetailsHasBeenSet = true;
472 m_executionRedrivenEventDetails = std::forward<ExecutionRedrivenEventDetailsT>(value);
473 }
474 template <typename ExecutionRedrivenEventDetailsT = ExecutionRedrivenEventDetails>
475 HistoryEvent& WithExecutionRedrivenEventDetails(ExecutionRedrivenEventDetailsT&& value) {
476 SetExecutionRedrivenEventDetails(std::forward<ExecutionRedrivenEventDetailsT>(value));
477 return *this;
478 }
480
482
485 inline const MapStateStartedEventDetails& GetMapStateStartedEventDetails() const { return m_mapStateStartedEventDetails; }
486 inline bool MapStateStartedEventDetailsHasBeenSet() const { return m_mapStateStartedEventDetailsHasBeenSet; }
487 template <typename MapStateStartedEventDetailsT = MapStateStartedEventDetails>
488 void SetMapStateStartedEventDetails(MapStateStartedEventDetailsT&& value) {
489 m_mapStateStartedEventDetailsHasBeenSet = true;
490 m_mapStateStartedEventDetails = std::forward<MapStateStartedEventDetailsT>(value);
491 }
492 template <typename MapStateStartedEventDetailsT = MapStateStartedEventDetails>
493 HistoryEvent& WithMapStateStartedEventDetails(MapStateStartedEventDetailsT&& value) {
494 SetMapStateStartedEventDetails(std::forward<MapStateStartedEventDetailsT>(value));
495 return *this;
496 }
498
500
503 inline const MapIterationEventDetails& GetMapIterationStartedEventDetails() const { return m_mapIterationStartedEventDetails; }
504 inline bool MapIterationStartedEventDetailsHasBeenSet() const { return m_mapIterationStartedEventDetailsHasBeenSet; }
505 template <typename MapIterationStartedEventDetailsT = MapIterationEventDetails>
506 void SetMapIterationStartedEventDetails(MapIterationStartedEventDetailsT&& value) {
507 m_mapIterationStartedEventDetailsHasBeenSet = true;
508 m_mapIterationStartedEventDetails = std::forward<MapIterationStartedEventDetailsT>(value);
509 }
510 template <typename MapIterationStartedEventDetailsT = MapIterationEventDetails>
511 HistoryEvent& WithMapIterationStartedEventDetails(MapIterationStartedEventDetailsT&& value) {
512 SetMapIterationStartedEventDetails(std::forward<MapIterationStartedEventDetailsT>(value));
513 return *this;
514 }
516
518
521 inline const MapIterationEventDetails& GetMapIterationSucceededEventDetails() const { return m_mapIterationSucceededEventDetails; }
522 inline bool MapIterationSucceededEventDetailsHasBeenSet() const { return m_mapIterationSucceededEventDetailsHasBeenSet; }
523 template <typename MapIterationSucceededEventDetailsT = MapIterationEventDetails>
524 void SetMapIterationSucceededEventDetails(MapIterationSucceededEventDetailsT&& value) {
525 m_mapIterationSucceededEventDetailsHasBeenSet = true;
526 m_mapIterationSucceededEventDetails = std::forward<MapIterationSucceededEventDetailsT>(value);
527 }
528 template <typename MapIterationSucceededEventDetailsT = MapIterationEventDetails>
529 HistoryEvent& WithMapIterationSucceededEventDetails(MapIterationSucceededEventDetailsT&& value) {
530 SetMapIterationSucceededEventDetails(std::forward<MapIterationSucceededEventDetailsT>(value));
531 return *this;
532 }
534
536
539 inline const MapIterationEventDetails& GetMapIterationFailedEventDetails() const { return m_mapIterationFailedEventDetails; }
540 inline bool MapIterationFailedEventDetailsHasBeenSet() const { return m_mapIterationFailedEventDetailsHasBeenSet; }
541 template <typename MapIterationFailedEventDetailsT = MapIterationEventDetails>
542 void SetMapIterationFailedEventDetails(MapIterationFailedEventDetailsT&& value) {
543 m_mapIterationFailedEventDetailsHasBeenSet = true;
544 m_mapIterationFailedEventDetails = std::forward<MapIterationFailedEventDetailsT>(value);
545 }
546 template <typename MapIterationFailedEventDetailsT = MapIterationEventDetails>
547 HistoryEvent& WithMapIterationFailedEventDetails(MapIterationFailedEventDetailsT&& value) {
548 SetMapIterationFailedEventDetails(std::forward<MapIterationFailedEventDetailsT>(value));
549 return *this;
550 }
552
554
557 inline const MapIterationEventDetails& GetMapIterationAbortedEventDetails() const { return m_mapIterationAbortedEventDetails; }
558 inline bool MapIterationAbortedEventDetailsHasBeenSet() const { return m_mapIterationAbortedEventDetailsHasBeenSet; }
559 template <typename MapIterationAbortedEventDetailsT = MapIterationEventDetails>
560 void SetMapIterationAbortedEventDetails(MapIterationAbortedEventDetailsT&& value) {
561 m_mapIterationAbortedEventDetailsHasBeenSet = true;
562 m_mapIterationAbortedEventDetails = std::forward<MapIterationAbortedEventDetailsT>(value);
563 }
564 template <typename MapIterationAbortedEventDetailsT = MapIterationEventDetails>
565 HistoryEvent& WithMapIterationAbortedEventDetails(MapIterationAbortedEventDetailsT&& value) {
566 SetMapIterationAbortedEventDetails(std::forward<MapIterationAbortedEventDetailsT>(value));
567 return *this;
568 }
570
572
573 inline const LambdaFunctionFailedEventDetails& GetLambdaFunctionFailedEventDetails() const { return m_lambdaFunctionFailedEventDetails; }
574 inline bool LambdaFunctionFailedEventDetailsHasBeenSet() const { return m_lambdaFunctionFailedEventDetailsHasBeenSet; }
575 template <typename LambdaFunctionFailedEventDetailsT = LambdaFunctionFailedEventDetails>
576 void SetLambdaFunctionFailedEventDetails(LambdaFunctionFailedEventDetailsT&& value) {
577 m_lambdaFunctionFailedEventDetailsHasBeenSet = true;
578 m_lambdaFunctionFailedEventDetails = std::forward<LambdaFunctionFailedEventDetailsT>(value);
579 }
580 template <typename LambdaFunctionFailedEventDetailsT = LambdaFunctionFailedEventDetails>
581 HistoryEvent& WithLambdaFunctionFailedEventDetails(LambdaFunctionFailedEventDetailsT&& value) {
582 SetLambdaFunctionFailedEventDetails(std::forward<LambdaFunctionFailedEventDetailsT>(value));
583 return *this;
584 }
586
588
590 return m_lambdaFunctionScheduleFailedEventDetails;
591 }
592 inline bool LambdaFunctionScheduleFailedEventDetailsHasBeenSet() const { return m_lambdaFunctionScheduleFailedEventDetailsHasBeenSet; }
593 template <typename LambdaFunctionScheduleFailedEventDetailsT = LambdaFunctionScheduleFailedEventDetails>
594 void SetLambdaFunctionScheduleFailedEventDetails(LambdaFunctionScheduleFailedEventDetailsT&& value) {
595 m_lambdaFunctionScheduleFailedEventDetailsHasBeenSet = true;
596 m_lambdaFunctionScheduleFailedEventDetails = std::forward<LambdaFunctionScheduleFailedEventDetailsT>(value);
597 }
598 template <typename LambdaFunctionScheduleFailedEventDetailsT = LambdaFunctionScheduleFailedEventDetails>
599 HistoryEvent& WithLambdaFunctionScheduleFailedEventDetails(LambdaFunctionScheduleFailedEventDetailsT&& value) {
600 SetLambdaFunctionScheduleFailedEventDetails(std::forward<LambdaFunctionScheduleFailedEventDetailsT>(value));
601 return *this;
602 }
604
606
608 return m_lambdaFunctionScheduledEventDetails;
609 }
610 inline bool LambdaFunctionScheduledEventDetailsHasBeenSet() const { return m_lambdaFunctionScheduledEventDetailsHasBeenSet; }
611 template <typename LambdaFunctionScheduledEventDetailsT = LambdaFunctionScheduledEventDetails>
612 void SetLambdaFunctionScheduledEventDetails(LambdaFunctionScheduledEventDetailsT&& value) {
613 m_lambdaFunctionScheduledEventDetailsHasBeenSet = true;
614 m_lambdaFunctionScheduledEventDetails = std::forward<LambdaFunctionScheduledEventDetailsT>(value);
615 }
616 template <typename LambdaFunctionScheduledEventDetailsT = LambdaFunctionScheduledEventDetails>
617 HistoryEvent& WithLambdaFunctionScheduledEventDetails(LambdaFunctionScheduledEventDetailsT&& value) {
618 SetLambdaFunctionScheduledEventDetails(std::forward<LambdaFunctionScheduledEventDetailsT>(value));
619 return *this;
620 }
622
624
629 return m_lambdaFunctionStartFailedEventDetails;
630 }
631 inline bool LambdaFunctionStartFailedEventDetailsHasBeenSet() const { return m_lambdaFunctionStartFailedEventDetailsHasBeenSet; }
632 template <typename LambdaFunctionStartFailedEventDetailsT = LambdaFunctionStartFailedEventDetails>
633 void SetLambdaFunctionStartFailedEventDetails(LambdaFunctionStartFailedEventDetailsT&& value) {
634 m_lambdaFunctionStartFailedEventDetailsHasBeenSet = true;
635 m_lambdaFunctionStartFailedEventDetails = std::forward<LambdaFunctionStartFailedEventDetailsT>(value);
636 }
637 template <typename LambdaFunctionStartFailedEventDetailsT = LambdaFunctionStartFailedEventDetails>
638 HistoryEvent& WithLambdaFunctionStartFailedEventDetails(LambdaFunctionStartFailedEventDetailsT&& value) {
639 SetLambdaFunctionStartFailedEventDetails(std::forward<LambdaFunctionStartFailedEventDetailsT>(value));
640 return *this;
641 }
643
645
650 return m_lambdaFunctionSucceededEventDetails;
651 }
652 inline bool LambdaFunctionSucceededEventDetailsHasBeenSet() const { return m_lambdaFunctionSucceededEventDetailsHasBeenSet; }
653 template <typename LambdaFunctionSucceededEventDetailsT = LambdaFunctionSucceededEventDetails>
654 void SetLambdaFunctionSucceededEventDetails(LambdaFunctionSucceededEventDetailsT&& value) {
655 m_lambdaFunctionSucceededEventDetailsHasBeenSet = true;
656 m_lambdaFunctionSucceededEventDetails = std::forward<LambdaFunctionSucceededEventDetailsT>(value);
657 }
658 template <typename LambdaFunctionSucceededEventDetailsT = LambdaFunctionSucceededEventDetails>
659 HistoryEvent& WithLambdaFunctionSucceededEventDetails(LambdaFunctionSucceededEventDetailsT&& value) {
660 SetLambdaFunctionSucceededEventDetails(std::forward<LambdaFunctionSucceededEventDetailsT>(value));
661 return *this;
662 }
664
666
668 return m_lambdaFunctionTimedOutEventDetails;
669 }
670 inline bool LambdaFunctionTimedOutEventDetailsHasBeenSet() const { return m_lambdaFunctionTimedOutEventDetailsHasBeenSet; }
671 template <typename LambdaFunctionTimedOutEventDetailsT = LambdaFunctionTimedOutEventDetails>
672 void SetLambdaFunctionTimedOutEventDetails(LambdaFunctionTimedOutEventDetailsT&& value) {
673 m_lambdaFunctionTimedOutEventDetailsHasBeenSet = true;
674 m_lambdaFunctionTimedOutEventDetails = std::forward<LambdaFunctionTimedOutEventDetailsT>(value);
675 }
676 template <typename LambdaFunctionTimedOutEventDetailsT = LambdaFunctionTimedOutEventDetails>
677 HistoryEvent& WithLambdaFunctionTimedOutEventDetails(LambdaFunctionTimedOutEventDetailsT&& value) {
678 SetLambdaFunctionTimedOutEventDetails(std::forward<LambdaFunctionTimedOutEventDetailsT>(value));
679 return *this;
680 }
682
684
685 inline const StateEnteredEventDetails& GetStateEnteredEventDetails() const { return m_stateEnteredEventDetails; }
686 inline bool StateEnteredEventDetailsHasBeenSet() const { return m_stateEnteredEventDetailsHasBeenSet; }
687 template <typename StateEnteredEventDetailsT = StateEnteredEventDetails>
688 void SetStateEnteredEventDetails(StateEnteredEventDetailsT&& value) {
689 m_stateEnteredEventDetailsHasBeenSet = true;
690 m_stateEnteredEventDetails = std::forward<StateEnteredEventDetailsT>(value);
691 }
692 template <typename StateEnteredEventDetailsT = StateEnteredEventDetails>
693 HistoryEvent& WithStateEnteredEventDetails(StateEnteredEventDetailsT&& value) {
694 SetStateEnteredEventDetails(std::forward<StateEnteredEventDetailsT>(value));
695 return *this;
696 }
698
700
701 inline const StateExitedEventDetails& GetStateExitedEventDetails() const { return m_stateExitedEventDetails; }
702 inline bool StateExitedEventDetailsHasBeenSet() const { return m_stateExitedEventDetailsHasBeenSet; }
703 template <typename StateExitedEventDetailsT = StateExitedEventDetails>
704 void SetStateExitedEventDetails(StateExitedEventDetailsT&& value) {
705 m_stateExitedEventDetailsHasBeenSet = true;
706 m_stateExitedEventDetails = std::forward<StateExitedEventDetailsT>(value);
707 }
708 template <typename StateExitedEventDetailsT = StateExitedEventDetails>
709 HistoryEvent& WithStateExitedEventDetails(StateExitedEventDetailsT&& value) {
710 SetStateExitedEventDetails(std::forward<StateExitedEventDetailsT>(value));
711 return *this;
712 }
714
716
721 inline const MapRunStartedEventDetails& GetMapRunStartedEventDetails() const { return m_mapRunStartedEventDetails; }
722 inline bool MapRunStartedEventDetailsHasBeenSet() const { return m_mapRunStartedEventDetailsHasBeenSet; }
723 template <typename MapRunStartedEventDetailsT = MapRunStartedEventDetails>
724 void SetMapRunStartedEventDetails(MapRunStartedEventDetailsT&& value) {
725 m_mapRunStartedEventDetailsHasBeenSet = true;
726 m_mapRunStartedEventDetails = std::forward<MapRunStartedEventDetailsT>(value);
727 }
728 template <typename MapRunStartedEventDetailsT = MapRunStartedEventDetails>
729 HistoryEvent& WithMapRunStartedEventDetails(MapRunStartedEventDetailsT&& value) {
730 SetMapRunStartedEventDetails(std::forward<MapRunStartedEventDetailsT>(value));
731 return *this;
732 }
734
736
739 inline const MapRunFailedEventDetails& GetMapRunFailedEventDetails() const { return m_mapRunFailedEventDetails; }
740 inline bool MapRunFailedEventDetailsHasBeenSet() const { return m_mapRunFailedEventDetailsHasBeenSet; }
741 template <typename MapRunFailedEventDetailsT = MapRunFailedEventDetails>
742 void SetMapRunFailedEventDetails(MapRunFailedEventDetailsT&& value) {
743 m_mapRunFailedEventDetailsHasBeenSet = true;
744 m_mapRunFailedEventDetails = std::forward<MapRunFailedEventDetailsT>(value);
745 }
746 template <typename MapRunFailedEventDetailsT = MapRunFailedEventDetails>
747 HistoryEvent& WithMapRunFailedEventDetails(MapRunFailedEventDetailsT&& value) {
748 SetMapRunFailedEventDetails(std::forward<MapRunFailedEventDetailsT>(value));
749 return *this;
750 }
752
754
757 inline const MapRunRedrivenEventDetails& GetMapRunRedrivenEventDetails() const { return m_mapRunRedrivenEventDetails; }
758 inline bool MapRunRedrivenEventDetailsHasBeenSet() const { return m_mapRunRedrivenEventDetailsHasBeenSet; }
759 template <typename MapRunRedrivenEventDetailsT = MapRunRedrivenEventDetails>
760 void SetMapRunRedrivenEventDetails(MapRunRedrivenEventDetailsT&& value) {
761 m_mapRunRedrivenEventDetailsHasBeenSet = true;
762 m_mapRunRedrivenEventDetails = std::forward<MapRunRedrivenEventDetailsT>(value);
763 }
764 template <typename MapRunRedrivenEventDetailsT = MapRunRedrivenEventDetails>
765 HistoryEvent& WithMapRunRedrivenEventDetails(MapRunRedrivenEventDetailsT&& value) {
766 SetMapRunRedrivenEventDetails(std::forward<MapRunRedrivenEventDetailsT>(value));
767 return *this;
768 }
770
772
776 inline const EvaluationFailedEventDetails& GetEvaluationFailedEventDetails() const { return m_evaluationFailedEventDetails; }
777 inline bool EvaluationFailedEventDetailsHasBeenSet() const { return m_evaluationFailedEventDetailsHasBeenSet; }
778 template <typename EvaluationFailedEventDetailsT = EvaluationFailedEventDetails>
779 void SetEvaluationFailedEventDetails(EvaluationFailedEventDetailsT&& value) {
780 m_evaluationFailedEventDetailsHasBeenSet = true;
781 m_evaluationFailedEventDetails = std::forward<EvaluationFailedEventDetailsT>(value);
782 }
783 template <typename EvaluationFailedEventDetailsT = EvaluationFailedEventDetails>
784 HistoryEvent& WithEvaluationFailedEventDetails(EvaluationFailedEventDetailsT&& value) {
785 SetEvaluationFailedEventDetails(std::forward<EvaluationFailedEventDetailsT>(value));
786 return *this;
787 }
789 private:
790 Aws::Utils::DateTime m_timestamp{};
791
793
794 long long m_id{0};
795
796 long long m_previousEventId{0};
797
798 ActivityFailedEventDetails m_activityFailedEventDetails;
799
800 ActivityScheduleFailedEventDetails m_activityScheduleFailedEventDetails;
801
802 ActivityScheduledEventDetails m_activityScheduledEventDetails;
803
804 ActivityStartedEventDetails m_activityStartedEventDetails;
805
806 ActivitySucceededEventDetails m_activitySucceededEventDetails;
807
808 ActivityTimedOutEventDetails m_activityTimedOutEventDetails;
809
810 TaskFailedEventDetails m_taskFailedEventDetails;
811
812 TaskScheduledEventDetails m_taskScheduledEventDetails;
813
814 TaskStartFailedEventDetails m_taskStartFailedEventDetails;
815
816 TaskStartedEventDetails m_taskStartedEventDetails;
817
818 TaskSubmitFailedEventDetails m_taskSubmitFailedEventDetails;
819
820 TaskSubmittedEventDetails m_taskSubmittedEventDetails;
821
822 TaskSucceededEventDetails m_taskSucceededEventDetails;
823
824 TaskTimedOutEventDetails m_taskTimedOutEventDetails;
825
826 ExecutionFailedEventDetails m_executionFailedEventDetails;
827
828 ExecutionStartedEventDetails m_executionStartedEventDetails;
829
830 ExecutionSucceededEventDetails m_executionSucceededEventDetails;
831
832 ExecutionAbortedEventDetails m_executionAbortedEventDetails;
833
834 ExecutionTimedOutEventDetails m_executionTimedOutEventDetails;
835
836 ExecutionRedrivenEventDetails m_executionRedrivenEventDetails;
837
838 MapStateStartedEventDetails m_mapStateStartedEventDetails;
839
840 MapIterationEventDetails m_mapIterationStartedEventDetails;
841
842 MapIterationEventDetails m_mapIterationSucceededEventDetails;
843
844 MapIterationEventDetails m_mapIterationFailedEventDetails;
845
846 MapIterationEventDetails m_mapIterationAbortedEventDetails;
847
848 LambdaFunctionFailedEventDetails m_lambdaFunctionFailedEventDetails;
849
850 LambdaFunctionScheduleFailedEventDetails m_lambdaFunctionScheduleFailedEventDetails;
851
852 LambdaFunctionScheduledEventDetails m_lambdaFunctionScheduledEventDetails;
853
854 LambdaFunctionStartFailedEventDetails m_lambdaFunctionStartFailedEventDetails;
855
856 LambdaFunctionSucceededEventDetails m_lambdaFunctionSucceededEventDetails;
857
858 LambdaFunctionTimedOutEventDetails m_lambdaFunctionTimedOutEventDetails;
859
860 StateEnteredEventDetails m_stateEnteredEventDetails;
861
862 StateExitedEventDetails m_stateExitedEventDetails;
863
864 MapRunStartedEventDetails m_mapRunStartedEventDetails;
865
866 MapRunFailedEventDetails m_mapRunFailedEventDetails;
867
868 MapRunRedrivenEventDetails m_mapRunRedrivenEventDetails;
869
870 EvaluationFailedEventDetails m_evaluationFailedEventDetails;
871 bool m_timestampHasBeenSet = false;
872 bool m_typeHasBeenSet = false;
873 bool m_idHasBeenSet = false;
874 bool m_previousEventIdHasBeenSet = false;
875 bool m_activityFailedEventDetailsHasBeenSet = false;
876 bool m_activityScheduleFailedEventDetailsHasBeenSet = false;
877 bool m_activityScheduledEventDetailsHasBeenSet = false;
878 bool m_activityStartedEventDetailsHasBeenSet = false;
879 bool m_activitySucceededEventDetailsHasBeenSet = false;
880 bool m_activityTimedOutEventDetailsHasBeenSet = false;
881 bool m_taskFailedEventDetailsHasBeenSet = false;
882 bool m_taskScheduledEventDetailsHasBeenSet = false;
883 bool m_taskStartFailedEventDetailsHasBeenSet = false;
884 bool m_taskStartedEventDetailsHasBeenSet = false;
885 bool m_taskSubmitFailedEventDetailsHasBeenSet = false;
886 bool m_taskSubmittedEventDetailsHasBeenSet = false;
887 bool m_taskSucceededEventDetailsHasBeenSet = false;
888 bool m_taskTimedOutEventDetailsHasBeenSet = false;
889 bool m_executionFailedEventDetailsHasBeenSet = false;
890 bool m_executionStartedEventDetailsHasBeenSet = false;
891 bool m_executionSucceededEventDetailsHasBeenSet = false;
892 bool m_executionAbortedEventDetailsHasBeenSet = false;
893 bool m_executionTimedOutEventDetailsHasBeenSet = false;
894 bool m_executionRedrivenEventDetailsHasBeenSet = false;
895 bool m_mapStateStartedEventDetailsHasBeenSet = false;
896 bool m_mapIterationStartedEventDetailsHasBeenSet = false;
897 bool m_mapIterationSucceededEventDetailsHasBeenSet = false;
898 bool m_mapIterationFailedEventDetailsHasBeenSet = false;
899 bool m_mapIterationAbortedEventDetailsHasBeenSet = false;
900 bool m_lambdaFunctionFailedEventDetailsHasBeenSet = false;
901 bool m_lambdaFunctionScheduleFailedEventDetailsHasBeenSet = false;
902 bool m_lambdaFunctionScheduledEventDetailsHasBeenSet = false;
903 bool m_lambdaFunctionStartFailedEventDetailsHasBeenSet = false;
904 bool m_lambdaFunctionSucceededEventDetailsHasBeenSet = false;
905 bool m_lambdaFunctionTimedOutEventDetailsHasBeenSet = false;
906 bool m_stateEnteredEventDetailsHasBeenSet = false;
907 bool m_stateExitedEventDetailsHasBeenSet = false;
908 bool m_mapRunStartedEventDetailsHasBeenSet = false;
909 bool m_mapRunFailedEventDetailsHasBeenSet = false;
910 bool m_mapRunRedrivenEventDetailsHasBeenSet = false;
911 bool m_evaluationFailedEventDetailsHasBeenSet = false;
912};
913
914} // namespace Model
915} // namespace SFN
916} // namespace Aws
bool ExecutionStartedEventDetailsHasBeenSet() const
HistoryEvent & WithTaskSubmittedEventDetails(TaskSubmittedEventDetailsT &&value)
HistoryEvent & WithTaskStartFailedEventDetails(TaskStartFailedEventDetailsT &&value)
void SetTaskScheduledEventDetails(TaskScheduledEventDetailsT &&value)
const MapIterationEventDetails & GetMapIterationSucceededEventDetails() const
const ExecutionRedrivenEventDetails & GetExecutionRedrivenEventDetails() const
void SetLambdaFunctionScheduledEventDetails(LambdaFunctionScheduledEventDetailsT &&value)
HistoryEvent & WithLambdaFunctionSucceededEventDetails(LambdaFunctionSucceededEventDetailsT &&value)
void SetLambdaFunctionScheduleFailedEventDetails(LambdaFunctionScheduleFailedEventDetailsT &&value)
bool MapIterationFailedEventDetailsHasBeenSet() const
HistoryEvent & WithExecutionTimedOutEventDetails(ExecutionTimedOutEventDetailsT &&value)
const LambdaFunctionScheduledEventDetails & GetLambdaFunctionScheduledEventDetails() const
bool MapRunStartedEventDetailsHasBeenSet() const
bool LambdaFunctionSucceededEventDetailsHasBeenSet() const
bool TaskFailedEventDetailsHasBeenSet() const
bool ExecutionTimedOutEventDetailsHasBeenSet() const
HistoryEvent & WithTaskFailedEventDetails(TaskFailedEventDetailsT &&value)
const MapRunStartedEventDetails & GetMapRunStartedEventDetails() const
bool StateEnteredEventDetailsHasBeenSet() const
void SetTaskSucceededEventDetails(TaskSucceededEventDetailsT &&value)
const EvaluationFailedEventDetails & GetEvaluationFailedEventDetails() const
const MapIterationEventDetails & GetMapIterationAbortedEventDetails() const
HistoryEvent & WithTaskSubmitFailedEventDetails(TaskSubmitFailedEventDetailsT &&value)
HistoryEvent & WithLambdaFunctionStartFailedEventDetails(LambdaFunctionStartFailedEventDetailsT &&value)
HistoryEvent & WithStateEnteredEventDetails(StateEnteredEventDetailsT &&value)
const ExecutionStartedEventDetails & GetExecutionStartedEventDetails() const
void SetActivitySucceededEventDetails(ActivitySucceededEventDetailsT &&value)
void SetTaskFailedEventDetails(TaskFailedEventDetailsT &&value)
bool LambdaFunctionScheduleFailedEventDetailsHasBeenSet() const
HistoryEvent & WithMapIterationStartedEventDetails(MapIterationStartedEventDetailsT &&value)
void SetLambdaFunctionStartFailedEventDetails(LambdaFunctionStartFailedEventDetailsT &&value)
const ActivityStartedEventDetails & GetActivityStartedEventDetails() const
void SetMapRunFailedEventDetails(MapRunFailedEventDetailsT &&value)
const ExecutionFailedEventDetails & GetExecutionFailedEventDetails() const
void SetTaskSubmittedEventDetails(TaskSubmittedEventDetailsT &&value)
void SetMapRunRedrivenEventDetails(MapRunRedrivenEventDetailsT &&value)
const TaskStartFailedEventDetails & GetTaskStartFailedEventDetails() const
HistoryEvent & WithId(long long value)
bool LambdaFunctionTimedOutEventDetailsHasBeenSet() const
bool ExecutionAbortedEventDetailsHasBeenSet() const
bool ActivitySucceededEventDetailsHasBeenSet() const
void SetStateEnteredEventDetails(StateEnteredEventDetailsT &&value)
const ExecutionAbortedEventDetails & GetExecutionAbortedEventDetails() const
void SetLambdaFunctionFailedEventDetails(LambdaFunctionFailedEventDetailsT &&value)
bool LambdaFunctionFailedEventDetailsHasBeenSet() const
bool TaskSubmittedEventDetailsHasBeenSet() const
const TaskStartedEventDetails & GetTaskStartedEventDetails() const
bool TaskStartedEventDetailsHasBeenSet() const
HistoryEvent & WithPreviousEventId(long long value)
AWS_SFN_API HistoryEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
const TaskSubmitFailedEventDetails & GetTaskSubmitFailedEventDetails() const
void SetType(HistoryEventType value)
bool TaskScheduledEventDetailsHasBeenSet() const
const ActivitySucceededEventDetails & GetActivitySucceededEventDetails() const
const MapIterationEventDetails & GetMapIterationFailedEventDetails() const
void SetExecutionAbortedEventDetails(ExecutionAbortedEventDetailsT &&value)
bool MapRunRedrivenEventDetailsHasBeenSet() const
void SetLambdaFunctionTimedOutEventDetails(LambdaFunctionTimedOutEventDetailsT &&value)
HistoryEvent & WithLambdaFunctionFailedEventDetails(LambdaFunctionFailedEventDetailsT &&value)
void SetPreviousEventId(long long value)
const TaskSubmittedEventDetails & GetTaskSubmittedEventDetails() const
HistoryEvent & WithExecutionSucceededEventDetails(ExecutionSucceededEventDetailsT &&value)
void SetExecutionRedrivenEventDetails(ExecutionRedrivenEventDetailsT &&value)
bool ExecutionRedrivenEventDetailsHasBeenSet() const
void SetMapRunStartedEventDetails(MapRunStartedEventDetailsT &&value)
void SetTaskStartFailedEventDetails(TaskStartFailedEventDetailsT &&value)
const LambdaFunctionFailedEventDetails & GetLambdaFunctionFailedEventDetails() const
const StateEnteredEventDetails & GetStateEnteredEventDetails() const
void SetActivityFailedEventDetails(ActivityFailedEventDetailsT &&value)
const TaskSucceededEventDetails & GetTaskSucceededEventDetails() const
const MapStateStartedEventDetails & GetMapStateStartedEventDetails() const
void SetId(long long value)
void SetTimestamp(TimestampT &&value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
bool MapIterationSucceededEventDetailsHasBeenSet() const
HistoryEvent & WithTaskStartedEventDetails(TaskStartedEventDetailsT &&value)
AWS_SFN_API HistoryEvent()=default
bool ActivityFailedEventDetailsHasBeenSet() const
HistoryEvent & WithType(HistoryEventType value)
bool ActivityScheduledEventDetailsHasBeenSet() const
void SetMapIterationAbortedEventDetails(MapIterationAbortedEventDetailsT &&value)
HistoryEvent & WithExecutionAbortedEventDetails(ExecutionAbortedEventDetailsT &&value)
const ActivityFailedEventDetails & GetActivityFailedEventDetails() const
void SetLambdaFunctionSucceededEventDetails(LambdaFunctionSucceededEventDetailsT &&value)
const TaskFailedEventDetails & GetTaskFailedEventDetails() const
HistoryEvent & WithExecutionStartedEventDetails(ExecutionStartedEventDetailsT &&value)
bool MapIterationStartedEventDetailsHasBeenSet() const
HistoryEvent & WithTaskSucceededEventDetails(TaskSucceededEventDetailsT &&value)
bool StateExitedEventDetailsHasBeenSet() const
HistoryEvent & WithTaskScheduledEventDetails(TaskScheduledEventDetailsT &&value)
HistoryEvent & WithMapRunStartedEventDetails(MapRunStartedEventDetailsT &&value)
void SetExecutionFailedEventDetails(ExecutionFailedEventDetailsT &&value)
void SetMapIterationStartedEventDetails(MapIterationStartedEventDetailsT &&value)
const LambdaFunctionScheduleFailedEventDetails & GetLambdaFunctionScheduleFailedEventDetails() const
bool ExecutionFailedEventDetailsHasBeenSet() const
const ActivityScheduledEventDetails & GetActivityScheduledEventDetails() const
const LambdaFunctionStartFailedEventDetails & GetLambdaFunctionStartFailedEventDetails() const
const TaskScheduledEventDetails & GetTaskScheduledEventDetails() const
void SetEvaluationFailedEventDetails(EvaluationFailedEventDetailsT &&value)
bool ActivityTimedOutEventDetailsHasBeenSet() const
bool LambdaFunctionScheduledEventDetailsHasBeenSet() const
const LambdaFunctionSucceededEventDetails & GetLambdaFunctionSucceededEventDetails() const
void SetTaskTimedOutEventDetails(TaskTimedOutEventDetailsT &&value)
long long GetPreviousEventId() const
HistoryEvent & WithStateExitedEventDetails(StateExitedEventDetailsT &&value)
void SetMapIterationFailedEventDetails(MapIterationFailedEventDetailsT &&value)
HistoryEvent & WithActivityScheduledEventDetails(ActivityScheduledEventDetailsT &&value)
HistoryEvent & WithActivityFailedEventDetails(ActivityFailedEventDetailsT &&value)
void SetExecutionSucceededEventDetails(ExecutionSucceededEventDetailsT &&value)
void SetExecutionStartedEventDetails(ExecutionStartedEventDetailsT &&value)
HistoryEvent & WithLambdaFunctionScheduleFailedEventDetails(LambdaFunctionScheduleFailedEventDetailsT &&value)
bool TaskTimedOutEventDetailsHasBeenSet() const
const MapIterationEventDetails & GetMapIterationStartedEventDetails() const
const TaskTimedOutEventDetails & GetTaskTimedOutEventDetails() const
AWS_SFN_API HistoryEvent(Aws::Utils::Json::JsonView jsonValue)
bool ActivityScheduleFailedEventDetailsHasBeenSet() const
void SetTaskSubmitFailedEventDetails(TaskSubmitFailedEventDetailsT &&value)
HistoryEvent & WithMapIterationAbortedEventDetails(MapIterationAbortedEventDetailsT &&value)
HistoryEventType GetType() const
HistoryEvent & WithActivityTimedOutEventDetails(ActivityTimedOutEventDetailsT &&value)
bool TaskSucceededEventDetailsHasBeenSet() const
void SetActivityStartedEventDetails(ActivityStartedEventDetailsT &&value)
bool MapRunFailedEventDetailsHasBeenSet() const
bool TaskSubmitFailedEventDetailsHasBeenSet() const
void SetActivityScheduledEventDetails(ActivityScheduledEventDetailsT &&value)
bool MapIterationAbortedEventDetailsHasBeenSet() const
bool EvaluationFailedEventDetailsHasBeenSet() const
void SetExecutionTimedOutEventDetails(ExecutionTimedOutEventDetailsT &&value)
HistoryEvent & WithMapIterationFailedEventDetails(MapIterationFailedEventDetailsT &&value)
HistoryEvent & WithActivitySucceededEventDetails(ActivitySucceededEventDetailsT &&value)
bool TaskStartFailedEventDetailsHasBeenSet() const
bool ExecutionSucceededEventDetailsHasBeenSet() const
void SetMapStateStartedEventDetails(MapStateStartedEventDetailsT &&value)
const MapRunFailedEventDetails & GetMapRunFailedEventDetails() const
HistoryEvent & WithTaskTimedOutEventDetails(TaskTimedOutEventDetailsT &&value)
void SetActivityTimedOutEventDetails(ActivityTimedOutEventDetailsT &&value)
void SetTaskStartedEventDetails(TaskStartedEventDetailsT &&value)
void SetActivityScheduleFailedEventDetails(ActivityScheduleFailedEventDetailsT &&value)
void SetMapIterationSucceededEventDetails(MapIterationSucceededEventDetailsT &&value)
HistoryEvent & WithMapRunFailedEventDetails(MapRunFailedEventDetailsT &&value)
HistoryEvent & WithActivityScheduleFailedEventDetails(ActivityScheduleFailedEventDetailsT &&value)
HistoryEvent & WithLambdaFunctionTimedOutEventDetails(LambdaFunctionTimedOutEventDetailsT &&value)
HistoryEvent & WithMapStateStartedEventDetails(MapStateStartedEventDetailsT &&value)
HistoryEvent & WithExecutionRedrivenEventDetails(ExecutionRedrivenEventDetailsT &&value)
HistoryEvent & WithExecutionFailedEventDetails(ExecutionFailedEventDetailsT &&value)
const ExecutionTimedOutEventDetails & GetExecutionTimedOutEventDetails() const
HistoryEvent & WithActivityStartedEventDetails(ActivityStartedEventDetailsT &&value)
bool MapStateStartedEventDetailsHasBeenSet() const
HistoryEvent & WithMapRunRedrivenEventDetails(MapRunRedrivenEventDetailsT &&value)
HistoryEvent & WithLambdaFunctionScheduledEventDetails(LambdaFunctionScheduledEventDetailsT &&value)
HistoryEvent & WithTimestamp(TimestampT &&value)
void SetStateExitedEventDetails(StateExitedEventDetailsT &&value)
const LambdaFunctionTimedOutEventDetails & GetLambdaFunctionTimedOutEventDetails() const
bool LambdaFunctionStartFailedEventDetailsHasBeenSet() const
bool ActivityStartedEventDetailsHasBeenSet() const
const ActivityTimedOutEventDetails & GetActivityTimedOutEventDetails() const
const ActivityScheduleFailedEventDetails & GetActivityScheduleFailedEventDetails() const
HistoryEvent & WithMapIterationSucceededEventDetails(MapIterationSucceededEventDetailsT &&value)
const MapRunRedrivenEventDetails & GetMapRunRedrivenEventDetails() const
const StateExitedEventDetails & GetStateExitedEventDetails() const
const Aws::Utils::DateTime & GetTimestamp() const
HistoryEvent & WithEvaluationFailedEventDetails(EvaluationFailedEventDetailsT &&value)
const ExecutionSucceededEventDetails & GetExecutionSucceededEventDetails() const
Aws::Utils::Json::JsonValue JsonValue