AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActivityTaskScheduledEventAttributes.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
35 {
36 public:
41
42
44
47 inline const ActivityType& GetActivityType() const{ return m_activityType; }
48 inline bool ActivityTypeHasBeenSet() const { return m_activityTypeHasBeenSet; }
49 inline void SetActivityType(const ActivityType& value) { m_activityTypeHasBeenSet = true; m_activityType = value; }
50 inline void SetActivityType(ActivityType&& value) { m_activityTypeHasBeenSet = true; m_activityType = std::move(value); }
52 inline ActivityTaskScheduledEventAttributes& WithActivityType(ActivityType&& value) { SetActivityType(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetActivityId() const{ return m_activityId; }
60 inline bool ActivityIdHasBeenSet() const { return m_activityIdHasBeenSet; }
61 inline void SetActivityId(const Aws::String& value) { m_activityIdHasBeenSet = true; m_activityId = value; }
62 inline void SetActivityId(Aws::String&& value) { m_activityIdHasBeenSet = true; m_activityId = std::move(value); }
63 inline void SetActivityId(const char* value) { m_activityIdHasBeenSet = true; m_activityId.assign(value); }
65 inline ActivityTaskScheduledEventAttributes& WithActivityId(Aws::String&& value) { SetActivityId(std::move(value)); return *this;}
66 inline ActivityTaskScheduledEventAttributes& WithActivityId(const char* value) { SetActivityId(value); return *this;}
68
70
73 inline const Aws::String& GetInput() const{ return m_input; }
74 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
75 inline void SetInput(const Aws::String& value) { m_inputHasBeenSet = true; m_input = value; }
76 inline void SetInput(Aws::String&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
77 inline void SetInput(const char* value) { m_inputHasBeenSet = true; m_input.assign(value); }
78 inline ActivityTaskScheduledEventAttributes& WithInput(const Aws::String& value) { SetInput(value); return *this;}
79 inline ActivityTaskScheduledEventAttributes& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;}
80 inline ActivityTaskScheduledEventAttributes& WithInput(const char* value) { SetInput(value); return *this;}
82
84
88 inline const Aws::String& GetControl() const{ return m_control; }
89 inline bool ControlHasBeenSet() const { return m_controlHasBeenSet; }
90 inline void SetControl(const Aws::String& value) { m_controlHasBeenSet = true; m_control = value; }
91 inline void SetControl(Aws::String&& value) { m_controlHasBeenSet = true; m_control = std::move(value); }
92 inline void SetControl(const char* value) { m_controlHasBeenSet = true; m_control.assign(value); }
93 inline ActivityTaskScheduledEventAttributes& WithControl(const Aws::String& value) { SetControl(value); return *this;}
94 inline ActivityTaskScheduledEventAttributes& WithControl(Aws::String&& value) { SetControl(std::move(value)); return *this;}
95 inline ActivityTaskScheduledEventAttributes& WithControl(const char* value) { SetControl(value); return *this;}
97
99
103 inline const Aws::String& GetScheduleToStartTimeout() const{ return m_scheduleToStartTimeout; }
104 inline bool ScheduleToStartTimeoutHasBeenSet() const { return m_scheduleToStartTimeoutHasBeenSet; }
105 inline void SetScheduleToStartTimeout(const Aws::String& value) { m_scheduleToStartTimeoutHasBeenSet = true; m_scheduleToStartTimeout = value; }
106 inline void SetScheduleToStartTimeout(Aws::String&& value) { m_scheduleToStartTimeoutHasBeenSet = true; m_scheduleToStartTimeout = std::move(value); }
107 inline void SetScheduleToStartTimeout(const char* value) { m_scheduleToStartTimeoutHasBeenSet = true; m_scheduleToStartTimeout.assign(value); }
112
114
117 inline const Aws::String& GetScheduleToCloseTimeout() const{ return m_scheduleToCloseTimeout; }
118 inline bool ScheduleToCloseTimeoutHasBeenSet() const { return m_scheduleToCloseTimeoutHasBeenSet; }
119 inline void SetScheduleToCloseTimeout(const Aws::String& value) { m_scheduleToCloseTimeoutHasBeenSet = true; m_scheduleToCloseTimeout = value; }
120 inline void SetScheduleToCloseTimeout(Aws::String&& value) { m_scheduleToCloseTimeoutHasBeenSet = true; m_scheduleToCloseTimeout = std::move(value); }
121 inline void SetScheduleToCloseTimeout(const char* value) { m_scheduleToCloseTimeoutHasBeenSet = true; m_scheduleToCloseTimeout.assign(value); }
126
128
132 inline const Aws::String& GetStartToCloseTimeout() const{ return m_startToCloseTimeout; }
133 inline bool StartToCloseTimeoutHasBeenSet() const { return m_startToCloseTimeoutHasBeenSet; }
134 inline void SetStartToCloseTimeout(const Aws::String& value) { m_startToCloseTimeoutHasBeenSet = true; m_startToCloseTimeout = value; }
135 inline void SetStartToCloseTimeout(Aws::String&& value) { m_startToCloseTimeoutHasBeenSet = true; m_startToCloseTimeout = std::move(value); }
136 inline void SetStartToCloseTimeout(const char* value) { m_startToCloseTimeoutHasBeenSet = true; m_startToCloseTimeout.assign(value); }
141
143
146 inline const TaskList& GetTaskList() const{ return m_taskList; }
147 inline bool TaskListHasBeenSet() const { return m_taskListHasBeenSet; }
148 inline void SetTaskList(const TaskList& value) { m_taskListHasBeenSet = true; m_taskList = value; }
149 inline void SetTaskList(TaskList&& value) { m_taskListHasBeenSet = true; m_taskList = std::move(value); }
150 inline ActivityTaskScheduledEventAttributes& WithTaskList(const TaskList& value) { SetTaskList(value); return *this;}
151 inline ActivityTaskScheduledEventAttributes& WithTaskList(TaskList&& value) { SetTaskList(std::move(value)); return *this;}
153
155
165 inline const Aws::String& GetTaskPriority() const{ return m_taskPriority; }
166 inline bool TaskPriorityHasBeenSet() const { return m_taskPriorityHasBeenSet; }
167 inline void SetTaskPriority(const Aws::String& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = value; }
168 inline void SetTaskPriority(Aws::String&& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = std::move(value); }
169 inline void SetTaskPriority(const char* value) { m_taskPriorityHasBeenSet = true; m_taskPriority.assign(value); }
171 inline ActivityTaskScheduledEventAttributes& WithTaskPriority(Aws::String&& value) { SetTaskPriority(std::move(value)); return *this;}
172 inline ActivityTaskScheduledEventAttributes& WithTaskPriority(const char* value) { SetTaskPriority(value); return *this;}
174
176
182 inline long long GetDecisionTaskCompletedEventId() const{ return m_decisionTaskCompletedEventId; }
183 inline bool DecisionTaskCompletedEventIdHasBeenSet() const { return m_decisionTaskCompletedEventIdHasBeenSet; }
184 inline void SetDecisionTaskCompletedEventId(long long value) { m_decisionTaskCompletedEventIdHasBeenSet = true; m_decisionTaskCompletedEventId = value; }
187
189
196 inline const Aws::String& GetHeartbeatTimeout() const{ return m_heartbeatTimeout; }
197 inline bool HeartbeatTimeoutHasBeenSet() const { return m_heartbeatTimeoutHasBeenSet; }
198 inline void SetHeartbeatTimeout(const Aws::String& value) { m_heartbeatTimeoutHasBeenSet = true; m_heartbeatTimeout = value; }
199 inline void SetHeartbeatTimeout(Aws::String&& value) { m_heartbeatTimeoutHasBeenSet = true; m_heartbeatTimeout = std::move(value); }
200 inline void SetHeartbeatTimeout(const char* value) { m_heartbeatTimeoutHasBeenSet = true; m_heartbeatTimeout.assign(value); }
203 inline ActivityTaskScheduledEventAttributes& WithHeartbeatTimeout(const char* value) { SetHeartbeatTimeout(value); return *this;}
205 private:
206
207 ActivityType m_activityType;
208 bool m_activityTypeHasBeenSet = false;
209
210 Aws::String m_activityId;
211 bool m_activityIdHasBeenSet = false;
212
213 Aws::String m_input;
214 bool m_inputHasBeenSet = false;
215
216 Aws::String m_control;
217 bool m_controlHasBeenSet = false;
218
219 Aws::String m_scheduleToStartTimeout;
220 bool m_scheduleToStartTimeoutHasBeenSet = false;
221
222 Aws::String m_scheduleToCloseTimeout;
223 bool m_scheduleToCloseTimeoutHasBeenSet = false;
224
225 Aws::String m_startToCloseTimeout;
226 bool m_startToCloseTimeoutHasBeenSet = false;
227
228 TaskList m_taskList;
229 bool m_taskListHasBeenSet = false;
230
231 Aws::String m_taskPriority;
232 bool m_taskPriorityHasBeenSet = false;
233
234 long long m_decisionTaskCompletedEventId;
235 bool m_decisionTaskCompletedEventIdHasBeenSet = false;
236
237 Aws::String m_heartbeatTimeout;
238 bool m_heartbeatTimeoutHasBeenSet = false;
239 };
240
241} // namespace Model
242} // namespace SWF
243} // namespace Aws
ActivityTaskScheduledEventAttributes & WithActivityId(const char *value)
ActivityTaskScheduledEventAttributes & WithActivityType(const ActivityType &value)
ActivityTaskScheduledEventAttributes & WithHeartbeatTimeout(const Aws::String &value)
ActivityTaskScheduledEventAttributes & WithScheduleToStartTimeout(const char *value)
ActivityTaskScheduledEventAttributes & WithScheduleToCloseTimeout(Aws::String &&value)
ActivityTaskScheduledEventAttributes & WithTaskPriority(const char *value)
ActivityTaskScheduledEventAttributes & WithInput(const char *value)
ActivityTaskScheduledEventAttributes & WithScheduleToCloseTimeout(const char *value)
ActivityTaskScheduledEventAttributes & WithControl(const Aws::String &value)
ActivityTaskScheduledEventAttributes & WithControl(Aws::String &&value)
ActivityTaskScheduledEventAttributes & WithScheduleToStartTimeout(const Aws::String &value)
ActivityTaskScheduledEventAttributes & WithDecisionTaskCompletedEventId(long long value)
ActivityTaskScheduledEventAttributes & WithTaskList(const TaskList &value)
ActivityTaskScheduledEventAttributes & WithHeartbeatTimeout(Aws::String &&value)
ActivityTaskScheduledEventAttributes & WithHeartbeatTimeout(const char *value)
ActivityTaskScheduledEventAttributes & WithActivityId(const Aws::String &value)
ActivityTaskScheduledEventAttributes & WithTaskPriority(Aws::String &&value)
AWS_SWF_API ActivityTaskScheduledEventAttributes(Aws::Utils::Json::JsonView jsonValue)
ActivityTaskScheduledEventAttributes & WithTaskList(TaskList &&value)
ActivityTaskScheduledEventAttributes & WithInput(Aws::String &&value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
ActivityTaskScheduledEventAttributes & WithActivityType(ActivityType &&value)
ActivityTaskScheduledEventAttributes & WithInput(const Aws::String &value)
ActivityTaskScheduledEventAttributes & WithActivityId(Aws::String &&value)
ActivityTaskScheduledEventAttributes & WithControl(const char *value)
AWS_SWF_API ActivityTaskScheduledEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
ActivityTaskScheduledEventAttributes & WithStartToCloseTimeout(Aws::String &&value)
ActivityTaskScheduledEventAttributes & WithScheduleToCloseTimeout(const Aws::String &value)
ActivityTaskScheduledEventAttributes & WithStartToCloseTimeout(const char *value)
ActivityTaskScheduledEventAttributes & WithStartToCloseTimeout(const Aws::String &value)
ActivityTaskScheduledEventAttributes & WithTaskPriority(const Aws::String &value)
ActivityTaskScheduledEventAttributes & WithScheduleToStartTimeout(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue