AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
WorkflowExecutionConfiguration.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/ChildPolicy.h>
10#include <aws/swf/model/TaskList.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SWF {
22namespace Model {
23
33 public:
34 AWS_SWF_API WorkflowExecutionConfiguration() = default;
38
40
46 inline const Aws::String& GetTaskStartToCloseTimeout() const { return m_taskStartToCloseTimeout; }
47 inline bool TaskStartToCloseTimeoutHasBeenSet() const { return m_taskStartToCloseTimeoutHasBeenSet; }
48 template <typename TaskStartToCloseTimeoutT = Aws::String>
49 void SetTaskStartToCloseTimeout(TaskStartToCloseTimeoutT&& value) {
50 m_taskStartToCloseTimeoutHasBeenSet = true;
51 m_taskStartToCloseTimeout = std::forward<TaskStartToCloseTimeoutT>(value);
52 }
53 template <typename TaskStartToCloseTimeoutT = Aws::String>
55 SetTaskStartToCloseTimeout(std::forward<TaskStartToCloseTimeoutT>(value));
56 return *this;
57 }
59
61
66 inline const Aws::String& GetExecutionStartToCloseTimeout() const { return m_executionStartToCloseTimeout; }
67 inline bool ExecutionStartToCloseTimeoutHasBeenSet() const { return m_executionStartToCloseTimeoutHasBeenSet; }
68 template <typename ExecutionStartToCloseTimeoutT = Aws::String>
69 void SetExecutionStartToCloseTimeout(ExecutionStartToCloseTimeoutT&& value) {
70 m_executionStartToCloseTimeoutHasBeenSet = true;
71 m_executionStartToCloseTimeout = std::forward<ExecutionStartToCloseTimeoutT>(value);
72 }
73 template <typename ExecutionStartToCloseTimeoutT = Aws::String>
74 WorkflowExecutionConfiguration& WithExecutionStartToCloseTimeout(ExecutionStartToCloseTimeoutT&& value) {
75 SetExecutionStartToCloseTimeout(std::forward<ExecutionStartToCloseTimeoutT>(value));
76 return *this;
77 }
79
81
85 inline const TaskList& GetTaskList() const { return m_taskList; }
86 inline bool TaskListHasBeenSet() const { return m_taskListHasBeenSet; }
87 template <typename TaskListT = TaskList>
88 void SetTaskList(TaskListT&& value) {
89 m_taskListHasBeenSet = true;
90 m_taskList = std::forward<TaskListT>(value);
91 }
92 template <typename TaskListT = TaskList>
94 SetTaskList(std::forward<TaskListT>(value));
95 return *this;
96 }
98
100
109 inline const Aws::String& GetTaskPriority() const { return m_taskPriority; }
110 inline bool TaskPriorityHasBeenSet() const { return m_taskPriorityHasBeenSet; }
111 template <typename TaskPriorityT = Aws::String>
112 void SetTaskPriority(TaskPriorityT&& value) {
113 m_taskPriorityHasBeenSet = true;
114 m_taskPriority = std::forward<TaskPriorityT>(value);
115 }
116 template <typename TaskPriorityT = Aws::String>
118 SetTaskPriority(std::forward<TaskPriorityT>(value));
119 return *this;
120 }
122
124
136 inline ChildPolicy GetChildPolicy() const { return m_childPolicy; }
137 inline bool ChildPolicyHasBeenSet() const { return m_childPolicyHasBeenSet; }
138 inline void SetChildPolicy(ChildPolicy value) {
139 m_childPolicyHasBeenSet = true;
140 m_childPolicy = value;
141 }
143 SetChildPolicy(value);
144 return *this;
145 }
147
149
152 inline const Aws::String& GetLambdaRole() const { return m_lambdaRole; }
153 inline bool LambdaRoleHasBeenSet() const { return m_lambdaRoleHasBeenSet; }
154 template <typename LambdaRoleT = Aws::String>
155 void SetLambdaRole(LambdaRoleT&& value) {
156 m_lambdaRoleHasBeenSet = true;
157 m_lambdaRole = std::forward<LambdaRoleT>(value);
158 }
159 template <typename LambdaRoleT = Aws::String>
161 SetLambdaRole(std::forward<LambdaRoleT>(value));
162 return *this;
163 }
165 private:
166 Aws::String m_taskStartToCloseTimeout;
167
168 Aws::String m_executionStartToCloseTimeout;
169
170 TaskList m_taskList;
171
172 Aws::String m_taskPriority;
173
174 ChildPolicy m_childPolicy{ChildPolicy::NOT_SET};
175
176 Aws::String m_lambdaRole;
177 bool m_taskStartToCloseTimeoutHasBeenSet = false;
178 bool m_executionStartToCloseTimeoutHasBeenSet = false;
179 bool m_taskListHasBeenSet = false;
180 bool m_taskPriorityHasBeenSet = false;
181 bool m_childPolicyHasBeenSet = false;
182 bool m_lambdaRoleHasBeenSet = false;
183};
184
185} // namespace Model
186} // namespace SWF
187} // namespace Aws
WorkflowExecutionConfiguration & WithExecutionStartToCloseTimeout(ExecutionStartToCloseTimeoutT &&value)
WorkflowExecutionConfiguration & WithChildPolicy(ChildPolicy value)
AWS_SWF_API WorkflowExecutionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
WorkflowExecutionConfiguration & WithLambdaRole(LambdaRoleT &&value)
void SetExecutionStartToCloseTimeout(ExecutionStartToCloseTimeoutT &&value)
AWS_SWF_API WorkflowExecutionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkflowExecutionConfiguration & WithTaskList(TaskListT &&value)
WorkflowExecutionConfiguration & WithTaskPriority(TaskPriorityT &&value)
WorkflowExecutionConfiguration & WithTaskStartToCloseTimeout(TaskStartToCloseTimeoutT &&value)
void SetTaskStartToCloseTimeout(TaskStartToCloseTimeoutT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue