AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkflowExecutionStartedEventAttributes.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/ChildPolicy.h>
10#include <aws/swf/model/TaskList.h>
11#include <aws/swf/model/WorkflowType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/swf/model/WorkflowExecution.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SWF
27{
28namespace Model
29{
30
38 {
39 public:
44
45
47
50 inline const Aws::String& GetInput() const{ return m_input; }
51 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
52 inline void SetInput(const Aws::String& value) { m_inputHasBeenSet = true; m_input = value; }
53 inline void SetInput(Aws::String&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
54 inline void SetInput(const char* value) { m_inputHasBeenSet = true; m_input.assign(value); }
55 inline WorkflowExecutionStartedEventAttributes& WithInput(const Aws::String& value) { SetInput(value); return *this;}
56 inline WorkflowExecutionStartedEventAttributes& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;}
57 inline WorkflowExecutionStartedEventAttributes& WithInput(const char* value) { SetInput(value); return *this;}
59
61
66 inline const Aws::String& GetExecutionStartToCloseTimeout() const{ return m_executionStartToCloseTimeout; }
67 inline bool ExecutionStartToCloseTimeoutHasBeenSet() const { return m_executionStartToCloseTimeoutHasBeenSet; }
68 inline void SetExecutionStartToCloseTimeout(const Aws::String& value) { m_executionStartToCloseTimeoutHasBeenSet = true; m_executionStartToCloseTimeout = value; }
69 inline void SetExecutionStartToCloseTimeout(Aws::String&& value) { m_executionStartToCloseTimeoutHasBeenSet = true; m_executionStartToCloseTimeout = std::move(value); }
70 inline void SetExecutionStartToCloseTimeout(const char* value) { m_executionStartToCloseTimeoutHasBeenSet = true; m_executionStartToCloseTimeout.assign(value); }
75
77
82 inline const Aws::String& GetTaskStartToCloseTimeout() const{ return m_taskStartToCloseTimeout; }
83 inline bool TaskStartToCloseTimeoutHasBeenSet() const { return m_taskStartToCloseTimeoutHasBeenSet; }
84 inline void SetTaskStartToCloseTimeout(const Aws::String& value) { m_taskStartToCloseTimeoutHasBeenSet = true; m_taskStartToCloseTimeout = value; }
85 inline void SetTaskStartToCloseTimeout(Aws::String&& value) { m_taskStartToCloseTimeoutHasBeenSet = true; m_taskStartToCloseTimeout = std::move(value); }
86 inline void SetTaskStartToCloseTimeout(const char* value) { m_taskStartToCloseTimeoutHasBeenSet = true; m_taskStartToCloseTimeout.assign(value); }
91
93
105 inline const ChildPolicy& GetChildPolicy() const{ return m_childPolicy; }
106 inline bool ChildPolicyHasBeenSet() const { return m_childPolicyHasBeenSet; }
107 inline void SetChildPolicy(const ChildPolicy& value) { m_childPolicyHasBeenSet = true; m_childPolicy = value; }
108 inline void SetChildPolicy(ChildPolicy&& value) { m_childPolicyHasBeenSet = true; m_childPolicy = std::move(value); }
110 inline WorkflowExecutionStartedEventAttributes& WithChildPolicy(ChildPolicy&& value) { SetChildPolicy(std::move(value)); return *this;}
112
114
118 inline const TaskList& GetTaskList() const{ return m_taskList; }
119 inline bool TaskListHasBeenSet() const { return m_taskListHasBeenSet; }
120 inline void SetTaskList(const TaskList& value) { m_taskListHasBeenSet = true; m_taskList = value; }
121 inline void SetTaskList(TaskList&& value) { m_taskListHasBeenSet = true; m_taskList = std::move(value); }
122 inline WorkflowExecutionStartedEventAttributes& WithTaskList(const TaskList& value) { SetTaskList(value); return *this;}
123 inline WorkflowExecutionStartedEventAttributes& WithTaskList(TaskList&& value) { SetTaskList(std::move(value)); return *this;}
125
127
130 inline const Aws::String& GetTaskPriority() const{ return m_taskPriority; }
131 inline bool TaskPriorityHasBeenSet() const { return m_taskPriorityHasBeenSet; }
132 inline void SetTaskPriority(const Aws::String& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = value; }
133 inline void SetTaskPriority(Aws::String&& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = std::move(value); }
134 inline void SetTaskPriority(const char* value) { m_taskPriorityHasBeenSet = true; m_taskPriority.assign(value); }
136 inline WorkflowExecutionStartedEventAttributes& WithTaskPriority(Aws::String&& value) { SetTaskPriority(std::move(value)); return *this;}
137 inline WorkflowExecutionStartedEventAttributes& WithTaskPriority(const char* value) { SetTaskPriority(value); return *this;}
139
141
144 inline const WorkflowType& GetWorkflowType() const{ return m_workflowType; }
145 inline bool WorkflowTypeHasBeenSet() const { return m_workflowTypeHasBeenSet; }
146 inline void SetWorkflowType(const WorkflowType& value) { m_workflowTypeHasBeenSet = true; m_workflowType = value; }
147 inline void SetWorkflowType(WorkflowType&& value) { m_workflowTypeHasBeenSet = true; m_workflowType = std::move(value); }
151
153
157 inline const Aws::Vector<Aws::String>& GetTagList() const{ return m_tagList; }
158 inline bool TagListHasBeenSet() const { return m_tagListHasBeenSet; }
159 inline void SetTagList(const Aws::Vector<Aws::String>& value) { m_tagListHasBeenSet = true; m_tagList = value; }
160 inline void SetTagList(Aws::Vector<Aws::String>&& value) { m_tagListHasBeenSet = true; m_tagList = std::move(value); }
163 inline WorkflowExecutionStartedEventAttributes& AddTagList(const Aws::String& value) { m_tagListHasBeenSet = true; m_tagList.push_back(value); return *this; }
164 inline WorkflowExecutionStartedEventAttributes& AddTagList(Aws::String&& value) { m_tagListHasBeenSet = true; m_tagList.push_back(std::move(value)); return *this; }
165 inline WorkflowExecutionStartedEventAttributes& AddTagList(const char* value) { m_tagListHasBeenSet = true; m_tagList.push_back(value); return *this; }
167
169
175 inline const Aws::String& GetContinuedExecutionRunId() const{ return m_continuedExecutionRunId; }
176 inline bool ContinuedExecutionRunIdHasBeenSet() const { return m_continuedExecutionRunIdHasBeenSet; }
177 inline void SetContinuedExecutionRunId(const Aws::String& value) { m_continuedExecutionRunIdHasBeenSet = true; m_continuedExecutionRunId = value; }
178 inline void SetContinuedExecutionRunId(Aws::String&& value) { m_continuedExecutionRunIdHasBeenSet = true; m_continuedExecutionRunId = std::move(value); }
179 inline void SetContinuedExecutionRunId(const char* value) { m_continuedExecutionRunIdHasBeenSet = true; m_continuedExecutionRunId.assign(value); }
184
186
190 inline const WorkflowExecution& GetParentWorkflowExecution() const{ return m_parentWorkflowExecution; }
191 inline bool ParentWorkflowExecutionHasBeenSet() const { return m_parentWorkflowExecutionHasBeenSet; }
192 inline void SetParentWorkflowExecution(const WorkflowExecution& value) { m_parentWorkflowExecutionHasBeenSet = true; m_parentWorkflowExecution = value; }
193 inline void SetParentWorkflowExecution(WorkflowExecution&& value) { m_parentWorkflowExecutionHasBeenSet = true; m_parentWorkflowExecution = std::move(value); }
197
199
207 inline long long GetParentInitiatedEventId() const{ return m_parentInitiatedEventId; }
208 inline bool ParentInitiatedEventIdHasBeenSet() const { return m_parentInitiatedEventIdHasBeenSet; }
209 inline void SetParentInitiatedEventId(long long value) { m_parentInitiatedEventIdHasBeenSet = true; m_parentInitiatedEventId = value; }
212
214
217 inline const Aws::String& GetLambdaRole() const{ return m_lambdaRole; }
218 inline bool LambdaRoleHasBeenSet() const { return m_lambdaRoleHasBeenSet; }
219 inline void SetLambdaRole(const Aws::String& value) { m_lambdaRoleHasBeenSet = true; m_lambdaRole = value; }
220 inline void SetLambdaRole(Aws::String&& value) { m_lambdaRoleHasBeenSet = true; m_lambdaRole = std::move(value); }
221 inline void SetLambdaRole(const char* value) { m_lambdaRoleHasBeenSet = true; m_lambdaRole.assign(value); }
223 inline WorkflowExecutionStartedEventAttributes& WithLambdaRole(Aws::String&& value) { SetLambdaRole(std::move(value)); return *this;}
224 inline WorkflowExecutionStartedEventAttributes& WithLambdaRole(const char* value) { SetLambdaRole(value); return *this;}
226 private:
227
228 Aws::String m_input;
229 bool m_inputHasBeenSet = false;
230
231 Aws::String m_executionStartToCloseTimeout;
232 bool m_executionStartToCloseTimeoutHasBeenSet = false;
233
234 Aws::String m_taskStartToCloseTimeout;
235 bool m_taskStartToCloseTimeoutHasBeenSet = false;
236
237 ChildPolicy m_childPolicy;
238 bool m_childPolicyHasBeenSet = false;
239
240 TaskList m_taskList;
241 bool m_taskListHasBeenSet = false;
242
243 Aws::String m_taskPriority;
244 bool m_taskPriorityHasBeenSet = false;
245
246 WorkflowType m_workflowType;
247 bool m_workflowTypeHasBeenSet = false;
248
249 Aws::Vector<Aws::String> m_tagList;
250 bool m_tagListHasBeenSet = false;
251
252 Aws::String m_continuedExecutionRunId;
253 bool m_continuedExecutionRunIdHasBeenSet = false;
254
255 WorkflowExecution m_parentWorkflowExecution;
256 bool m_parentWorkflowExecutionHasBeenSet = false;
257
258 long long m_parentInitiatedEventId;
259 bool m_parentInitiatedEventIdHasBeenSet = false;
260
261 Aws::String m_lambdaRole;
262 bool m_lambdaRoleHasBeenSet = false;
263 };
264
265} // namespace Model
266} // namespace SWF
267} // namespace Aws
WorkflowExecutionStartedEventAttributes & WithInput(const char *value)
WorkflowExecutionStartedEventAttributes & WithParentInitiatedEventId(long long value)
WorkflowExecutionStartedEventAttributes & WithTagList(Aws::Vector< Aws::String > &&value)
WorkflowExecutionStartedEventAttributes & WithLambdaRole(const char *value)
WorkflowExecutionStartedEventAttributes & WithTaskList(const TaskList &value)
WorkflowExecutionStartedEventAttributes & WithWorkflowType(const WorkflowType &value)
WorkflowExecutionStartedEventAttributes & WithContinuedExecutionRunId(Aws::String &&value)
WorkflowExecutionStartedEventAttributes & WithTaskPriority(const char *value)
WorkflowExecutionStartedEventAttributes & WithExecutionStartToCloseTimeout(Aws::String &&value)
WorkflowExecutionStartedEventAttributes & WithChildPolicy(ChildPolicy &&value)
WorkflowExecutionStartedEventAttributes & WithTaskStartToCloseTimeout(const char *value)
WorkflowExecutionStartedEventAttributes & WithContinuedExecutionRunId(const char *value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
WorkflowExecutionStartedEventAttributes & AddTagList(Aws::String &&value)
WorkflowExecutionStartedEventAttributes & WithTaskList(TaskList &&value)
WorkflowExecutionStartedEventAttributes & WithTaskStartToCloseTimeout(Aws::String &&value)
AWS_SWF_API WorkflowExecutionStartedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkflowExecutionStartedEventAttributes & WithTaskStartToCloseTimeout(const Aws::String &value)
WorkflowExecutionStartedEventAttributes & WithTagList(const Aws::Vector< Aws::String > &value)
WorkflowExecutionStartedEventAttributes & WithLambdaRole(Aws::String &&value)
WorkflowExecutionStartedEventAttributes & WithParentWorkflowExecution(WorkflowExecution &&value)
WorkflowExecutionStartedEventAttributes & WithParentWorkflowExecution(const WorkflowExecution &value)
WorkflowExecutionStartedEventAttributes & AddTagList(const Aws::String &value)
WorkflowExecutionStartedEventAttributes & WithInput(const Aws::String &value)
WorkflowExecutionStartedEventAttributes & WithExecutionStartToCloseTimeout(const Aws::String &value)
WorkflowExecutionStartedEventAttributes & WithTaskPriority(Aws::String &&value)
WorkflowExecutionStartedEventAttributes & AddTagList(const char *value)
AWS_SWF_API WorkflowExecutionStartedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
WorkflowExecutionStartedEventAttributes & WithExecutionStartToCloseTimeout(const char *value)
WorkflowExecutionStartedEventAttributes & WithLambdaRole(const Aws::String &value)
WorkflowExecutionStartedEventAttributes & WithWorkflowType(WorkflowType &&value)
WorkflowExecutionStartedEventAttributes & WithTaskPriority(const Aws::String &value)
WorkflowExecutionStartedEventAttributes & WithChildPolicy(const ChildPolicy &value)
WorkflowExecutionStartedEventAttributes & WithContinuedExecutionRunId(const Aws::String &value)
WorkflowExecutionStartedEventAttributes & WithInput(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue