AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
WorkflowExecutionConfiguration.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/TaskList.h>
10#include <aws/swf/model/ChildPolicy.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
37 {
38 public:
39 AWS_SWF_API WorkflowExecutionConfiguration() = default;
43
44
46
52 inline const Aws::String& GetTaskStartToCloseTimeout() const { return m_taskStartToCloseTimeout; }
53 inline bool TaskStartToCloseTimeoutHasBeenSet() const { return m_taskStartToCloseTimeoutHasBeenSet; }
54 template<typename TaskStartToCloseTimeoutT = Aws::String>
55 void SetTaskStartToCloseTimeout(TaskStartToCloseTimeoutT&& value) { m_taskStartToCloseTimeoutHasBeenSet = true; m_taskStartToCloseTimeout = std::forward<TaskStartToCloseTimeoutT>(value); }
56 template<typename TaskStartToCloseTimeoutT = Aws::String>
57 WorkflowExecutionConfiguration& WithTaskStartToCloseTimeout(TaskStartToCloseTimeoutT&& value) { SetTaskStartToCloseTimeout(std::forward<TaskStartToCloseTimeoutT>(value)); return *this;}
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) { m_executionStartToCloseTimeoutHasBeenSet = true; m_executionStartToCloseTimeout = std::forward<ExecutionStartToCloseTimeoutT>(value); }
70 template<typename ExecutionStartToCloseTimeoutT = Aws::String>
71 WorkflowExecutionConfiguration& WithExecutionStartToCloseTimeout(ExecutionStartToCloseTimeoutT&& value) { SetExecutionStartToCloseTimeout(std::forward<ExecutionStartToCloseTimeoutT>(value)); return *this;}
73
75
79 inline const TaskList& GetTaskList() const { return m_taskList; }
80 inline bool TaskListHasBeenSet() const { return m_taskListHasBeenSet; }
81 template<typename TaskListT = TaskList>
82 void SetTaskList(TaskListT&& value) { m_taskListHasBeenSet = true; m_taskList = std::forward<TaskListT>(value); }
83 template<typename TaskListT = TaskList>
84 WorkflowExecutionConfiguration& WithTaskList(TaskListT&& value) { SetTaskList(std::forward<TaskListT>(value)); return *this;}
86
88
97 inline const Aws::String& GetTaskPriority() const { return m_taskPriority; }
98 inline bool TaskPriorityHasBeenSet() const { return m_taskPriorityHasBeenSet; }
99 template<typename TaskPriorityT = Aws::String>
100 void SetTaskPriority(TaskPriorityT&& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = std::forward<TaskPriorityT>(value); }
101 template<typename TaskPriorityT = Aws::String>
102 WorkflowExecutionConfiguration& WithTaskPriority(TaskPriorityT&& value) { SetTaskPriority(std::forward<TaskPriorityT>(value)); return *this;}
104
106
118 inline ChildPolicy GetChildPolicy() const { return m_childPolicy; }
119 inline bool ChildPolicyHasBeenSet() const { return m_childPolicyHasBeenSet; }
120 inline void SetChildPolicy(ChildPolicy value) { m_childPolicyHasBeenSet = true; m_childPolicy = value; }
123
125
128 inline const Aws::String& GetLambdaRole() const { return m_lambdaRole; }
129 inline bool LambdaRoleHasBeenSet() const { return m_lambdaRoleHasBeenSet; }
130 template<typename LambdaRoleT = Aws::String>
131 void SetLambdaRole(LambdaRoleT&& value) { m_lambdaRoleHasBeenSet = true; m_lambdaRole = std::forward<LambdaRoleT>(value); }
132 template<typename LambdaRoleT = Aws::String>
133 WorkflowExecutionConfiguration& WithLambdaRole(LambdaRoleT&& value) { SetLambdaRole(std::forward<LambdaRoleT>(value)); return *this;}
135 private:
136
137 Aws::String m_taskStartToCloseTimeout;
138 bool m_taskStartToCloseTimeoutHasBeenSet = false;
139
140 Aws::String m_executionStartToCloseTimeout;
141 bool m_executionStartToCloseTimeoutHasBeenSet = false;
142
143 TaskList m_taskList;
144 bool m_taskListHasBeenSet = false;
145
146 Aws::String m_taskPriority;
147 bool m_taskPriorityHasBeenSet = false;
148
149 ChildPolicy m_childPolicy{ChildPolicy::NOT_SET};
150 bool m_childPolicyHasBeenSet = false;
151
152 Aws::String m_lambdaRole;
153 bool m_lambdaRoleHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace SWF
158} // 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