AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
43
44
46
52 inline const Aws::String& GetTaskStartToCloseTimeout() const{ return m_taskStartToCloseTimeout; }
53 inline bool TaskStartToCloseTimeoutHasBeenSet() const { return m_taskStartToCloseTimeoutHasBeenSet; }
54 inline void SetTaskStartToCloseTimeout(const Aws::String& value) { m_taskStartToCloseTimeoutHasBeenSet = true; m_taskStartToCloseTimeout = value; }
55 inline void SetTaskStartToCloseTimeout(Aws::String&& value) { m_taskStartToCloseTimeoutHasBeenSet = true; m_taskStartToCloseTimeout = std::move(value); }
56 inline void SetTaskStartToCloseTimeout(const char* value) { m_taskStartToCloseTimeoutHasBeenSet = true; m_taskStartToCloseTimeout.assign(value); }
61
63
68 inline const Aws::String& GetExecutionStartToCloseTimeout() const{ return m_executionStartToCloseTimeout; }
69 inline bool ExecutionStartToCloseTimeoutHasBeenSet() const { return m_executionStartToCloseTimeoutHasBeenSet; }
70 inline void SetExecutionStartToCloseTimeout(const Aws::String& value) { m_executionStartToCloseTimeoutHasBeenSet = true; m_executionStartToCloseTimeout = value; }
71 inline void SetExecutionStartToCloseTimeout(Aws::String&& value) { m_executionStartToCloseTimeoutHasBeenSet = true; m_executionStartToCloseTimeout = std::move(value); }
72 inline void SetExecutionStartToCloseTimeout(const char* value) { m_executionStartToCloseTimeoutHasBeenSet = true; m_executionStartToCloseTimeout.assign(value); }
77
79
83 inline const TaskList& GetTaskList() const{ return m_taskList; }
84 inline bool TaskListHasBeenSet() const { return m_taskListHasBeenSet; }
85 inline void SetTaskList(const TaskList& value) { m_taskListHasBeenSet = true; m_taskList = value; }
86 inline void SetTaskList(TaskList&& value) { m_taskListHasBeenSet = true; m_taskList = std::move(value); }
87 inline WorkflowExecutionConfiguration& WithTaskList(const TaskList& value) { SetTaskList(value); return *this;}
88 inline WorkflowExecutionConfiguration& WithTaskList(TaskList&& value) { SetTaskList(std::move(value)); return *this;}
90
92
101 inline const Aws::String& GetTaskPriority() const{ return m_taskPriority; }
102 inline bool TaskPriorityHasBeenSet() const { return m_taskPriorityHasBeenSet; }
103 inline void SetTaskPriority(const Aws::String& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = value; }
104 inline void SetTaskPriority(Aws::String&& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = std::move(value); }
105 inline void SetTaskPriority(const char* value) { m_taskPriorityHasBeenSet = true; m_taskPriority.assign(value); }
106 inline WorkflowExecutionConfiguration& WithTaskPriority(const Aws::String& value) { SetTaskPriority(value); return *this;}
107 inline WorkflowExecutionConfiguration& WithTaskPriority(Aws::String&& value) { SetTaskPriority(std::move(value)); return *this;}
108 inline WorkflowExecutionConfiguration& WithTaskPriority(const char* value) { SetTaskPriority(value); return *this;}
110
112
124 inline const ChildPolicy& GetChildPolicy() const{ return m_childPolicy; }
125 inline bool ChildPolicyHasBeenSet() const { return m_childPolicyHasBeenSet; }
126 inline void SetChildPolicy(const ChildPolicy& value) { m_childPolicyHasBeenSet = true; m_childPolicy = value; }
127 inline void SetChildPolicy(ChildPolicy&& value) { m_childPolicyHasBeenSet = true; m_childPolicy = std::move(value); }
128 inline WorkflowExecutionConfiguration& WithChildPolicy(const ChildPolicy& value) { SetChildPolicy(value); return *this;}
129 inline WorkflowExecutionConfiguration& WithChildPolicy(ChildPolicy&& value) { SetChildPolicy(std::move(value)); return *this;}
131
133
136 inline const Aws::String& GetLambdaRole() const{ return m_lambdaRole; }
137 inline bool LambdaRoleHasBeenSet() const { return m_lambdaRoleHasBeenSet; }
138 inline void SetLambdaRole(const Aws::String& value) { m_lambdaRoleHasBeenSet = true; m_lambdaRole = value; }
139 inline void SetLambdaRole(Aws::String&& value) { m_lambdaRoleHasBeenSet = true; m_lambdaRole = std::move(value); }
140 inline void SetLambdaRole(const char* value) { m_lambdaRoleHasBeenSet = true; m_lambdaRole.assign(value); }
141 inline WorkflowExecutionConfiguration& WithLambdaRole(const Aws::String& value) { SetLambdaRole(value); return *this;}
142 inline WorkflowExecutionConfiguration& WithLambdaRole(Aws::String&& value) { SetLambdaRole(std::move(value)); return *this;}
143 inline WorkflowExecutionConfiguration& WithLambdaRole(const char* value) { SetLambdaRole(value); return *this;}
145 private:
146
147 Aws::String m_taskStartToCloseTimeout;
148 bool m_taskStartToCloseTimeoutHasBeenSet = false;
149
150 Aws::String m_executionStartToCloseTimeout;
151 bool m_executionStartToCloseTimeoutHasBeenSet = false;
152
153 TaskList m_taskList;
154 bool m_taskListHasBeenSet = false;
155
156 Aws::String m_taskPriority;
157 bool m_taskPriorityHasBeenSet = false;
158
159 ChildPolicy m_childPolicy;
160 bool m_childPolicyHasBeenSet = false;
161
162 Aws::String m_lambdaRole;
163 bool m_lambdaRoleHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace SWF
168} // namespace Aws
WorkflowExecutionConfiguration & WithTaskList(TaskList &&value)
WorkflowExecutionConfiguration & WithTaskStartToCloseTimeout(Aws::String &&value)
AWS_SWF_API WorkflowExecutionConfiguration(Aws::Utils::Json::JsonView jsonValue)
WorkflowExecutionConfiguration & WithTaskPriority(Aws::String &&value)
WorkflowExecutionConfiguration & WithExecutionStartToCloseTimeout(Aws::String &&value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
WorkflowExecutionConfiguration & WithLambdaRole(Aws::String &&value)
AWS_SWF_API WorkflowExecutionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkflowExecutionConfiguration & WithTaskPriority(const Aws::String &value)
WorkflowExecutionConfiguration & WithTaskStartToCloseTimeout(const char *value)
WorkflowExecutionConfiguration & WithLambdaRole(const char *value)
WorkflowExecutionConfiguration & WithExecutionStartToCloseTimeout(const char *value)
WorkflowExecutionConfiguration & WithLambdaRole(const Aws::String &value)
WorkflowExecutionConfiguration & WithChildPolicy(ChildPolicy &&value)
WorkflowExecutionConfiguration & WithTaskPriority(const char *value)
WorkflowExecutionConfiguration & WithChildPolicy(const ChildPolicy &value)
WorkflowExecutionConfiguration & WithTaskStartToCloseTimeout(const Aws::String &value)
WorkflowExecutionConfiguration & WithTaskList(const TaskList &value)
WorkflowExecutionConfiguration & WithExecutionStartToCloseTimeout(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue