AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScheduleActivityTaskDecisionAttributes.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/swf/model/ActivityType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/swf/model/TaskList.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 SWF
24{
25namespace Model
26{
27
53 {
54 public:
59
60
62
65 inline const ActivityType& GetActivityType() const{ return m_activityType; }
66 inline bool ActivityTypeHasBeenSet() const { return m_activityTypeHasBeenSet; }
67 inline void SetActivityType(const ActivityType& value) { m_activityTypeHasBeenSet = true; m_activityType = value; }
68 inline void SetActivityType(ActivityType&& value) { m_activityTypeHasBeenSet = true; m_activityType = std::move(value); }
70 inline ScheduleActivityTaskDecisionAttributes& WithActivityType(ActivityType&& value) { SetActivityType(std::move(value)); return *this;}
72
74
81 inline const Aws::String& GetActivityId() const{ return m_activityId; }
82 inline bool ActivityIdHasBeenSet() const { return m_activityIdHasBeenSet; }
83 inline void SetActivityId(const Aws::String& value) { m_activityIdHasBeenSet = true; m_activityId = value; }
84 inline void SetActivityId(Aws::String&& value) { m_activityIdHasBeenSet = true; m_activityId = std::move(value); }
85 inline void SetActivityId(const char* value) { m_activityIdHasBeenSet = true; m_activityId.assign(value); }
87 inline ScheduleActivityTaskDecisionAttributes& WithActivityId(Aws::String&& value) { SetActivityId(std::move(value)); return *this;}
88 inline ScheduleActivityTaskDecisionAttributes& WithActivityId(const char* value) { SetActivityId(value); return *this;}
90
92
96 inline const Aws::String& GetControl() const{ return m_control; }
97 inline bool ControlHasBeenSet() const { return m_controlHasBeenSet; }
98 inline void SetControl(const Aws::String& value) { m_controlHasBeenSet = true; m_control = value; }
99 inline void SetControl(Aws::String&& value) { m_controlHasBeenSet = true; m_control = std::move(value); }
100 inline void SetControl(const char* value) { m_controlHasBeenSet = true; m_control.assign(value); }
101 inline ScheduleActivityTaskDecisionAttributes& WithControl(const Aws::String& value) { SetControl(value); return *this;}
102 inline ScheduleActivityTaskDecisionAttributes& WithControl(Aws::String&& value) { SetControl(std::move(value)); return *this;}
103 inline ScheduleActivityTaskDecisionAttributes& WithControl(const char* value) { SetControl(value); return *this;}
105
107
110 inline const Aws::String& GetInput() const{ return m_input; }
111 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
112 inline void SetInput(const Aws::String& value) { m_inputHasBeenSet = true; m_input = value; }
113 inline void SetInput(Aws::String&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
114 inline void SetInput(const char* value) { m_inputHasBeenSet = true; m_input.assign(value); }
115 inline ScheduleActivityTaskDecisionAttributes& WithInput(const Aws::String& value) { SetInput(value); return *this;}
116 inline ScheduleActivityTaskDecisionAttributes& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;}
117 inline ScheduleActivityTaskDecisionAttributes& WithInput(const char* value) { SetInput(value); return *this;}
119
121
130 inline const Aws::String& GetScheduleToCloseTimeout() const{ return m_scheduleToCloseTimeout; }
131 inline bool ScheduleToCloseTimeoutHasBeenSet() const { return m_scheduleToCloseTimeoutHasBeenSet; }
132 inline void SetScheduleToCloseTimeout(const Aws::String& value) { m_scheduleToCloseTimeoutHasBeenSet = true; m_scheduleToCloseTimeout = value; }
133 inline void SetScheduleToCloseTimeout(Aws::String&& value) { m_scheduleToCloseTimeoutHasBeenSet = true; m_scheduleToCloseTimeout = std::move(value); }
134 inline void SetScheduleToCloseTimeout(const char* value) { m_scheduleToCloseTimeoutHasBeenSet = true; m_scheduleToCloseTimeout.assign(value); }
139
141
153 inline const TaskList& GetTaskList() const{ return m_taskList; }
154 inline bool TaskListHasBeenSet() const { return m_taskListHasBeenSet; }
155 inline void SetTaskList(const TaskList& value) { m_taskListHasBeenSet = true; m_taskList = value; }
156 inline void SetTaskList(TaskList&& value) { m_taskListHasBeenSet = true; m_taskList = std::move(value); }
157 inline ScheduleActivityTaskDecisionAttributes& WithTaskList(const TaskList& value) { SetTaskList(value); return *this;}
158 inline ScheduleActivityTaskDecisionAttributes& WithTaskList(TaskList&& value) { SetTaskList(std::move(value)); return *this;}
160
162
172 inline const Aws::String& GetTaskPriority() const{ return m_taskPriority; }
173 inline bool TaskPriorityHasBeenSet() const { return m_taskPriorityHasBeenSet; }
174 inline void SetTaskPriority(const Aws::String& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = value; }
175 inline void SetTaskPriority(Aws::String&& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = std::move(value); }
176 inline void SetTaskPriority(const char* value) { m_taskPriorityHasBeenSet = true; m_taskPriority.assign(value); }
178 inline ScheduleActivityTaskDecisionAttributes& WithTaskPriority(Aws::String&& value) { SetTaskPriority(std::move(value)); return *this;}
179 inline ScheduleActivityTaskDecisionAttributes& WithTaskPriority(const char* value) { SetTaskPriority(value); return *this;}
181
183
195 inline const Aws::String& GetScheduleToStartTimeout() const{ return m_scheduleToStartTimeout; }
196 inline bool ScheduleToStartTimeoutHasBeenSet() const { return m_scheduleToStartTimeoutHasBeenSet; }
197 inline void SetScheduleToStartTimeout(const Aws::String& value) { m_scheduleToStartTimeoutHasBeenSet = true; m_scheduleToStartTimeout = value; }
198 inline void SetScheduleToStartTimeout(Aws::String&& value) { m_scheduleToStartTimeoutHasBeenSet = true; m_scheduleToStartTimeout = std::move(value); }
199 inline void SetScheduleToStartTimeout(const char* value) { m_scheduleToStartTimeoutHasBeenSet = true; m_scheduleToStartTimeout.assign(value); }
204
206
217 inline const Aws::String& GetStartToCloseTimeout() const{ return m_startToCloseTimeout; }
218 inline bool StartToCloseTimeoutHasBeenSet() const { return m_startToCloseTimeoutHasBeenSet; }
219 inline void SetStartToCloseTimeout(const Aws::String& value) { m_startToCloseTimeoutHasBeenSet = true; m_startToCloseTimeout = value; }
220 inline void SetStartToCloseTimeout(Aws::String&& value) { m_startToCloseTimeoutHasBeenSet = true; m_startToCloseTimeout = std::move(value); }
221 inline void SetStartToCloseTimeout(const char* value) { m_startToCloseTimeoutHasBeenSet = true; m_startToCloseTimeout.assign(value); }
226
228
238 inline const Aws::String& GetHeartbeatTimeout() const{ return m_heartbeatTimeout; }
239 inline bool HeartbeatTimeoutHasBeenSet() const { return m_heartbeatTimeoutHasBeenSet; }
240 inline void SetHeartbeatTimeout(const Aws::String& value) { m_heartbeatTimeoutHasBeenSet = true; m_heartbeatTimeout = value; }
241 inline void SetHeartbeatTimeout(Aws::String&& value) { m_heartbeatTimeoutHasBeenSet = true; m_heartbeatTimeout = std::move(value); }
242 inline void SetHeartbeatTimeout(const char* value) { m_heartbeatTimeoutHasBeenSet = true; m_heartbeatTimeout.assign(value); }
245 inline ScheduleActivityTaskDecisionAttributes& WithHeartbeatTimeout(const char* value) { SetHeartbeatTimeout(value); return *this;}
247 private:
248
249 ActivityType m_activityType;
250 bool m_activityTypeHasBeenSet = false;
251
252 Aws::String m_activityId;
253 bool m_activityIdHasBeenSet = false;
254
255 Aws::String m_control;
256 bool m_controlHasBeenSet = false;
257
258 Aws::String m_input;
259 bool m_inputHasBeenSet = false;
260
261 Aws::String m_scheduleToCloseTimeout;
262 bool m_scheduleToCloseTimeoutHasBeenSet = false;
263
264 TaskList m_taskList;
265 bool m_taskListHasBeenSet = false;
266
267 Aws::String m_taskPriority;
268 bool m_taskPriorityHasBeenSet = false;
269
270 Aws::String m_scheduleToStartTimeout;
271 bool m_scheduleToStartTimeoutHasBeenSet = false;
272
273 Aws::String m_startToCloseTimeout;
274 bool m_startToCloseTimeoutHasBeenSet = false;
275
276 Aws::String m_heartbeatTimeout;
277 bool m_heartbeatTimeoutHasBeenSet = false;
278 };
279
280} // namespace Model
281} // namespace SWF
282} // namespace Aws
ScheduleActivityTaskDecisionAttributes & WithTaskList(const TaskList &value)
ScheduleActivityTaskDecisionAttributes & WithStartToCloseTimeout(const char *value)
ScheduleActivityTaskDecisionAttributes & WithScheduleToStartTimeout(const Aws::String &value)
ScheduleActivityTaskDecisionAttributes & WithInput(Aws::String &&value)
ScheduleActivityTaskDecisionAttributes & WithHeartbeatTimeout(const char *value)
ScheduleActivityTaskDecisionAttributes & WithTaskList(TaskList &&value)
ScheduleActivityTaskDecisionAttributes & WithActivityId(Aws::String &&value)
ScheduleActivityTaskDecisionAttributes & WithControl(const char *value)
ScheduleActivityTaskDecisionAttributes & WithStartToCloseTimeout(Aws::String &&value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SWF_API ScheduleActivityTaskDecisionAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduleActivityTaskDecisionAttributes & WithTaskPriority(const Aws::String &value)
ScheduleActivityTaskDecisionAttributes & WithControl(const Aws::String &value)
ScheduleActivityTaskDecisionAttributes & WithScheduleToCloseTimeout(const Aws::String &value)
ScheduleActivityTaskDecisionAttributes & WithHeartbeatTimeout(Aws::String &&value)
ScheduleActivityTaskDecisionAttributes & WithScheduleToStartTimeout(const char *value)
ScheduleActivityTaskDecisionAttributes & WithScheduleToStartTimeout(Aws::String &&value)
ScheduleActivityTaskDecisionAttributes & WithActivityId(const char *value)
ScheduleActivityTaskDecisionAttributes & WithScheduleToCloseTimeout(Aws::String &&value)
ScheduleActivityTaskDecisionAttributes & WithHeartbeatTimeout(const Aws::String &value)
ScheduleActivityTaskDecisionAttributes & WithTaskPriority(const char *value)
ScheduleActivityTaskDecisionAttributes & WithTaskPriority(Aws::String &&value)
ScheduleActivityTaskDecisionAttributes & WithControl(Aws::String &&value)
ScheduleActivityTaskDecisionAttributes & WithActivityType(ActivityType &&value)
ScheduleActivityTaskDecisionAttributes & WithActivityType(const ActivityType &value)
ScheduleActivityTaskDecisionAttributes & WithActivityId(const Aws::String &value)
AWS_SWF_API ScheduleActivityTaskDecisionAttributes(Aws::Utils::Json::JsonView jsonValue)
ScheduleActivityTaskDecisionAttributes & WithInput(const Aws::String &value)
ScheduleActivityTaskDecisionAttributes & WithInput(const char *value)
ScheduleActivityTaskDecisionAttributes & WithStartToCloseTimeout(const Aws::String &value)
ScheduleActivityTaskDecisionAttributes & WithScheduleToCloseTimeout(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue