AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DecisionTaskCompletedEventAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/swf/SWF_EXPORTS.h>
9#include <aws/swf/model/TaskList.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SWF {
21namespace Model {
22
30 public:
31 AWS_SWF_API DecisionTaskCompletedEventAttributes() = default;
35
37
40 inline const Aws::String& GetExecutionContext() const { return m_executionContext; }
41 inline bool ExecutionContextHasBeenSet() const { return m_executionContextHasBeenSet; }
42 template <typename ExecutionContextT = Aws::String>
43 void SetExecutionContext(ExecutionContextT&& value) {
44 m_executionContextHasBeenSet = true;
45 m_executionContext = std::forward<ExecutionContextT>(value);
46 }
47 template <typename ExecutionContextT = Aws::String>
49 SetExecutionContext(std::forward<ExecutionContextT>(value));
50 return *this;
51 }
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) {
63 m_scheduledEventIdHasBeenSet = true;
64 m_scheduledEventId = value;
65 }
68 return *this;
69 }
71
73
78 inline long long GetStartedEventId() const { return m_startedEventId; }
79 inline bool StartedEventIdHasBeenSet() const { return m_startedEventIdHasBeenSet; }
80 inline void SetStartedEventId(long long value) {
81 m_startedEventIdHasBeenSet = true;
82 m_startedEventId = value;
83 }
85 SetStartedEventId(value);
86 return *this;
87 }
89
91
92 inline const TaskList& GetTaskList() const { return m_taskList; }
93 inline bool TaskListHasBeenSet() const { return m_taskListHasBeenSet; }
94 template <typename TaskListT = TaskList>
95 void SetTaskList(TaskListT&& value) {
96 m_taskListHasBeenSet = true;
97 m_taskList = std::forward<TaskListT>(value);
98 }
99 template <typename TaskListT = TaskList>
101 SetTaskList(std::forward<TaskListT>(value));
102 return *this;
103 }
105
107
111 inline const Aws::String& GetTaskListScheduleToStartTimeout() const { return m_taskListScheduleToStartTimeout; }
112 inline bool TaskListScheduleToStartTimeoutHasBeenSet() const { return m_taskListScheduleToStartTimeoutHasBeenSet; }
113 template <typename TaskListScheduleToStartTimeoutT = Aws::String>
114 void SetTaskListScheduleToStartTimeout(TaskListScheduleToStartTimeoutT&& value) {
115 m_taskListScheduleToStartTimeoutHasBeenSet = true;
116 m_taskListScheduleToStartTimeout = std::forward<TaskListScheduleToStartTimeoutT>(value);
117 }
118 template <typename TaskListScheduleToStartTimeoutT = Aws::String>
120 SetTaskListScheduleToStartTimeout(std::forward<TaskListScheduleToStartTimeoutT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_executionContext;
126
127 long long m_scheduledEventId{0};
128
129 long long m_startedEventId{0};
130
131 TaskList m_taskList;
132
133 Aws::String m_taskListScheduleToStartTimeout;
134 bool m_executionContextHasBeenSet = false;
135 bool m_scheduledEventIdHasBeenSet = false;
136 bool m_startedEventIdHasBeenSet = false;
137 bool m_taskListHasBeenSet = false;
138 bool m_taskListScheduleToStartTimeoutHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace SWF
143} // 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