AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DecisionTaskCompletedEventAttributes.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/swf/model/TaskList.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SWF
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SWF_API DecisionTaskCompletedEventAttributes() = default;
40
41
43
46 inline const Aws::String& GetExecutionContext() const { return m_executionContext; }
47 inline bool ExecutionContextHasBeenSet() const { return m_executionContextHasBeenSet; }
48 template<typename ExecutionContextT = Aws::String>
49 void SetExecutionContext(ExecutionContextT&& value) { m_executionContextHasBeenSet = true; m_executionContext = std::forward<ExecutionContextT>(value); }
50 template<typename ExecutionContextT = Aws::String>
51 DecisionTaskCompletedEventAttributes& WithExecutionContext(ExecutionContextT&& value) { SetExecutionContext(std::forward<ExecutionContextT>(value)); return *this;}
53
55
60 inline long long GetScheduledEventId() const { return m_scheduledEventId; }
61 inline bool ScheduledEventIdHasBeenSet() const { return m_scheduledEventIdHasBeenSet; }
62 inline void SetScheduledEventId(long long value) { m_scheduledEventIdHasBeenSet = true; m_scheduledEventId = value; }
63 inline DecisionTaskCompletedEventAttributes& WithScheduledEventId(long long value) { SetScheduledEventId(value); return *this;}
65
67
72 inline long long GetStartedEventId() const { return m_startedEventId; }
73 inline bool StartedEventIdHasBeenSet() const { return m_startedEventIdHasBeenSet; }
74 inline void SetStartedEventId(long long value) { m_startedEventIdHasBeenSet = true; m_startedEventId = value; }
75 inline DecisionTaskCompletedEventAttributes& WithStartedEventId(long long value) { SetStartedEventId(value); return *this;}
77
79
80 inline const TaskList& GetTaskList() const { return m_taskList; }
81 inline bool TaskListHasBeenSet() const { return m_taskListHasBeenSet; }
82 template<typename TaskListT = TaskList>
83 void SetTaskList(TaskListT&& value) { m_taskListHasBeenSet = true; m_taskList = std::forward<TaskListT>(value); }
84 template<typename TaskListT = TaskList>
85 DecisionTaskCompletedEventAttributes& WithTaskList(TaskListT&& value) { SetTaskList(std::forward<TaskListT>(value)); return *this;}
87
89
93 inline const Aws::String& GetTaskListScheduleToStartTimeout() const { return m_taskListScheduleToStartTimeout; }
94 inline bool TaskListScheduleToStartTimeoutHasBeenSet() const { return m_taskListScheduleToStartTimeoutHasBeenSet; }
95 template<typename TaskListScheduleToStartTimeoutT = Aws::String>
96 void SetTaskListScheduleToStartTimeout(TaskListScheduleToStartTimeoutT&& value) { m_taskListScheduleToStartTimeoutHasBeenSet = true; m_taskListScheduleToStartTimeout = std::forward<TaskListScheduleToStartTimeoutT>(value); }
97 template<typename TaskListScheduleToStartTimeoutT = Aws::String>
98 DecisionTaskCompletedEventAttributes& WithTaskListScheduleToStartTimeout(TaskListScheduleToStartTimeoutT&& value) { SetTaskListScheduleToStartTimeout(std::forward<TaskListScheduleToStartTimeoutT>(value)); return *this;}
100 private:
101
102 Aws::String m_executionContext;
103 bool m_executionContextHasBeenSet = false;
104
105 long long m_scheduledEventId{0};
106 bool m_scheduledEventIdHasBeenSet = false;
107
108 long long m_startedEventId{0};
109 bool m_startedEventIdHasBeenSet = false;
110
111 TaskList m_taskList;
112 bool m_taskListHasBeenSet = false;
113
114 Aws::String m_taskListScheduleToStartTimeout;
115 bool m_taskListScheduleToStartTimeoutHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace SWF
120} // namespace Aws
DecisionTaskCompletedEventAttributes & WithTaskList(TaskListT &&value)
DecisionTaskCompletedEventAttributes & WithScheduledEventId(long long value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
DecisionTaskCompletedEventAttributes & WithExecutionContext(ExecutionContextT &&value)
DecisionTaskCompletedEventAttributes & WithStartedEventId(long long value)
AWS_SWF_API DecisionTaskCompletedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
void SetTaskListScheduleToStartTimeout(TaskListScheduleToStartTimeoutT &&value)
AWS_SWF_API DecisionTaskCompletedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
DecisionTaskCompletedEventAttributes & WithTaskListScheduleToStartTimeout(TaskListScheduleToStartTimeoutT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue