AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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 template<typename InputT = Aws::String>
53 void SetInput(InputT&& value) { m_inputHasBeenSet = true; m_input = std::forward<InputT>(value); }
54 template<typename InputT = Aws::String>
55 WorkflowExecutionStartedEventAttributes& WithInput(InputT&& value) { SetInput(std::forward<InputT>(value)); return *this;}
57
59
64 inline const Aws::String& GetExecutionStartToCloseTimeout() const { return m_executionStartToCloseTimeout; }
65 inline bool ExecutionStartToCloseTimeoutHasBeenSet() const { return m_executionStartToCloseTimeoutHasBeenSet; }
66 template<typename ExecutionStartToCloseTimeoutT = Aws::String>
67 void SetExecutionStartToCloseTimeout(ExecutionStartToCloseTimeoutT&& value) { m_executionStartToCloseTimeoutHasBeenSet = true; m_executionStartToCloseTimeout = std::forward<ExecutionStartToCloseTimeoutT>(value); }
68 template<typename ExecutionStartToCloseTimeoutT = Aws::String>
69 WorkflowExecutionStartedEventAttributes& WithExecutionStartToCloseTimeout(ExecutionStartToCloseTimeoutT&& value) { SetExecutionStartToCloseTimeout(std::forward<ExecutionStartToCloseTimeoutT>(value)); return *this;}
71
73
78 inline const Aws::String& GetTaskStartToCloseTimeout() const { return m_taskStartToCloseTimeout; }
79 inline bool TaskStartToCloseTimeoutHasBeenSet() const { return m_taskStartToCloseTimeoutHasBeenSet; }
80 template<typename TaskStartToCloseTimeoutT = Aws::String>
81 void SetTaskStartToCloseTimeout(TaskStartToCloseTimeoutT&& value) { m_taskStartToCloseTimeoutHasBeenSet = true; m_taskStartToCloseTimeout = std::forward<TaskStartToCloseTimeoutT>(value); }
82 template<typename TaskStartToCloseTimeoutT = Aws::String>
83 WorkflowExecutionStartedEventAttributes& WithTaskStartToCloseTimeout(TaskStartToCloseTimeoutT&& value) { SetTaskStartToCloseTimeout(std::forward<TaskStartToCloseTimeoutT>(value)); return *this;}
85
87
99 inline ChildPolicy GetChildPolicy() const { return m_childPolicy; }
100 inline bool ChildPolicyHasBeenSet() const { return m_childPolicyHasBeenSet; }
101 inline void SetChildPolicy(ChildPolicy value) { m_childPolicyHasBeenSet = true; m_childPolicy = value; }
104
106
110 inline const TaskList& GetTaskList() const { return m_taskList; }
111 inline bool TaskListHasBeenSet() const { return m_taskListHasBeenSet; }
112 template<typename TaskListT = TaskList>
113 void SetTaskList(TaskListT&& value) { m_taskListHasBeenSet = true; m_taskList = std::forward<TaskListT>(value); }
114 template<typename TaskListT = TaskList>
115 WorkflowExecutionStartedEventAttributes& WithTaskList(TaskListT&& value) { SetTaskList(std::forward<TaskListT>(value)); return *this;}
117
119
122 inline const Aws::String& GetTaskPriority() const { return m_taskPriority; }
123 inline bool TaskPriorityHasBeenSet() const { return m_taskPriorityHasBeenSet; }
124 template<typename TaskPriorityT = Aws::String>
125 void SetTaskPriority(TaskPriorityT&& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = std::forward<TaskPriorityT>(value); }
126 template<typename TaskPriorityT = Aws::String>
127 WorkflowExecutionStartedEventAttributes& WithTaskPriority(TaskPriorityT&& value) { SetTaskPriority(std::forward<TaskPriorityT>(value)); return *this;}
129
131
134 inline const WorkflowType& GetWorkflowType() const { return m_workflowType; }
135 inline bool WorkflowTypeHasBeenSet() const { return m_workflowTypeHasBeenSet; }
136 template<typename WorkflowTypeT = WorkflowType>
137 void SetWorkflowType(WorkflowTypeT&& value) { m_workflowTypeHasBeenSet = true; m_workflowType = std::forward<WorkflowTypeT>(value); }
138 template<typename WorkflowTypeT = WorkflowType>
139 WorkflowExecutionStartedEventAttributes& WithWorkflowType(WorkflowTypeT&& value) { SetWorkflowType(std::forward<WorkflowTypeT>(value)); return *this;}
141
143
147 inline const Aws::Vector<Aws::String>& GetTagList() const { return m_tagList; }
148 inline bool TagListHasBeenSet() const { return m_tagListHasBeenSet; }
149 template<typename TagListT = Aws::Vector<Aws::String>>
150 void SetTagList(TagListT&& value) { m_tagListHasBeenSet = true; m_tagList = std::forward<TagListT>(value); }
151 template<typename TagListT = Aws::Vector<Aws::String>>
152 WorkflowExecutionStartedEventAttributes& WithTagList(TagListT&& value) { SetTagList(std::forward<TagListT>(value)); return *this;}
153 template<typename TagListT = Aws::String>
154 WorkflowExecutionStartedEventAttributes& AddTagList(TagListT&& value) { m_tagListHasBeenSet = true; m_tagList.emplace_back(std::forward<TagListT>(value)); return *this; }
156
158
164 inline const Aws::String& GetContinuedExecutionRunId() const { return m_continuedExecutionRunId; }
165 inline bool ContinuedExecutionRunIdHasBeenSet() const { return m_continuedExecutionRunIdHasBeenSet; }
166 template<typename ContinuedExecutionRunIdT = Aws::String>
167 void SetContinuedExecutionRunId(ContinuedExecutionRunIdT&& value) { m_continuedExecutionRunIdHasBeenSet = true; m_continuedExecutionRunId = std::forward<ContinuedExecutionRunIdT>(value); }
168 template<typename ContinuedExecutionRunIdT = Aws::String>
169 WorkflowExecutionStartedEventAttributes& WithContinuedExecutionRunId(ContinuedExecutionRunIdT&& value) { SetContinuedExecutionRunId(std::forward<ContinuedExecutionRunIdT>(value)); return *this;}
171
173
177 inline const WorkflowExecution& GetParentWorkflowExecution() const { return m_parentWorkflowExecution; }
178 inline bool ParentWorkflowExecutionHasBeenSet() const { return m_parentWorkflowExecutionHasBeenSet; }
179 template<typename ParentWorkflowExecutionT = WorkflowExecution>
180 void SetParentWorkflowExecution(ParentWorkflowExecutionT&& value) { m_parentWorkflowExecutionHasBeenSet = true; m_parentWorkflowExecution = std::forward<ParentWorkflowExecutionT>(value); }
181 template<typename ParentWorkflowExecutionT = WorkflowExecution>
182 WorkflowExecutionStartedEventAttributes& WithParentWorkflowExecution(ParentWorkflowExecutionT&& value) { SetParentWorkflowExecution(std::forward<ParentWorkflowExecutionT>(value)); return *this;}
184
186
194 inline long long GetParentInitiatedEventId() const { return m_parentInitiatedEventId; }
195 inline bool ParentInitiatedEventIdHasBeenSet() const { return m_parentInitiatedEventIdHasBeenSet; }
196 inline void SetParentInitiatedEventId(long long value) { m_parentInitiatedEventIdHasBeenSet = true; m_parentInitiatedEventId = value; }
199
201
204 inline const Aws::String& GetLambdaRole() const { return m_lambdaRole; }
205 inline bool LambdaRoleHasBeenSet() const { return m_lambdaRoleHasBeenSet; }
206 template<typename LambdaRoleT = Aws::String>
207 void SetLambdaRole(LambdaRoleT&& value) { m_lambdaRoleHasBeenSet = true; m_lambdaRole = std::forward<LambdaRoleT>(value); }
208 template<typename LambdaRoleT = Aws::String>
209 WorkflowExecutionStartedEventAttributes& WithLambdaRole(LambdaRoleT&& value) { SetLambdaRole(std::forward<LambdaRoleT>(value)); return *this;}
211 private:
212
213 Aws::String m_input;
214 bool m_inputHasBeenSet = false;
215
216 Aws::String m_executionStartToCloseTimeout;
217 bool m_executionStartToCloseTimeoutHasBeenSet = false;
218
219 Aws::String m_taskStartToCloseTimeout;
220 bool m_taskStartToCloseTimeoutHasBeenSet = false;
221
222 ChildPolicy m_childPolicy{ChildPolicy::NOT_SET};
223 bool m_childPolicyHasBeenSet = false;
224
225 TaskList m_taskList;
226 bool m_taskListHasBeenSet = false;
227
228 Aws::String m_taskPriority;
229 bool m_taskPriorityHasBeenSet = false;
230
231 WorkflowType m_workflowType;
232 bool m_workflowTypeHasBeenSet = false;
233
234 Aws::Vector<Aws::String> m_tagList;
235 bool m_tagListHasBeenSet = false;
236
237 Aws::String m_continuedExecutionRunId;
238 bool m_continuedExecutionRunIdHasBeenSet = false;
239
240 WorkflowExecution m_parentWorkflowExecution;
241 bool m_parentWorkflowExecutionHasBeenSet = false;
242
243 long long m_parentInitiatedEventId{0};
244 bool m_parentInitiatedEventIdHasBeenSet = false;
245
246 Aws::String m_lambdaRole;
247 bool m_lambdaRoleHasBeenSet = false;
248 };
249
250} // namespace Model
251} // namespace SWF
252} // namespace Aws
WorkflowExecutionStartedEventAttributes & WithTaskList(TaskListT &&value)
WorkflowExecutionStartedEventAttributes & WithParentInitiatedEventId(long long value)
WorkflowExecutionStartedEventAttributes & AddTagList(TagListT &&value)
WorkflowExecutionStartedEventAttributes & WithContinuedExecutionRunId(ContinuedExecutionRunIdT &&value)
WorkflowExecutionStartedEventAttributes & WithParentWorkflowExecution(ParentWorkflowExecutionT &&value)
WorkflowExecutionStartedEventAttributes & WithExecutionStartToCloseTimeout(ExecutionStartToCloseTimeoutT &&value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
WorkflowExecutionStartedEventAttributes & WithTaskStartToCloseTimeout(TaskStartToCloseTimeoutT &&value)
AWS_SWF_API WorkflowExecutionStartedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkflowExecutionStartedEventAttributes & WithWorkflowType(WorkflowTypeT &&value)
WorkflowExecutionStartedEventAttributes & WithChildPolicy(ChildPolicy value)
WorkflowExecutionStartedEventAttributes & WithTaskPriority(TaskPriorityT &&value)
WorkflowExecutionStartedEventAttributes & WithLambdaRole(LambdaRoleT &&value)
AWS_SWF_API WorkflowExecutionStartedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
WorkflowExecutionStartedEventAttributes & WithInput(InputT &&value)
WorkflowExecutionStartedEventAttributes & WithTagList(TagListT &&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