AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartWorkflowExecutionRequest.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/swf/SWFRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/swf/model/WorkflowType.h>
11#include <aws/swf/model/TaskList.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/swf/model/ChildPolicy.h>
14#include <utility>
15
16namespace Aws
17{
18namespace SWF
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "StartWorkflowExecution"; }
35
36 AWS_SWF_API Aws::String SerializePayload() const override;
37
39
40
42
49 inline const Aws::String& GetDomain() const{ return m_domain; }
50 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
51 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
52 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
53 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
54 inline StartWorkflowExecutionRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
55 inline StartWorkflowExecutionRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
56 inline StartWorkflowExecutionRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
58
60
71 inline const Aws::String& GetWorkflowId() const{ return m_workflowId; }
72 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
73 inline void SetWorkflowId(const Aws::String& value) { m_workflowIdHasBeenSet = true; m_workflowId = value; }
74 inline void SetWorkflowId(Aws::String&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::move(value); }
75 inline void SetWorkflowId(const char* value) { m_workflowIdHasBeenSet = true; m_workflowId.assign(value); }
76 inline StartWorkflowExecutionRequest& WithWorkflowId(const Aws::String& value) { SetWorkflowId(value); return *this;}
77 inline StartWorkflowExecutionRequest& WithWorkflowId(Aws::String&& value) { SetWorkflowId(std::move(value)); return *this;}
78 inline StartWorkflowExecutionRequest& WithWorkflowId(const char* value) { SetWorkflowId(value); return *this;}
80
82
85 inline const WorkflowType& GetWorkflowType() const{ return m_workflowType; }
86 inline bool WorkflowTypeHasBeenSet() const { return m_workflowTypeHasBeenSet; }
87 inline void SetWorkflowType(const WorkflowType& value) { m_workflowTypeHasBeenSet = true; m_workflowType = value; }
88 inline void SetWorkflowType(WorkflowType&& value) { m_workflowTypeHasBeenSet = true; m_workflowType = std::move(value); }
89 inline StartWorkflowExecutionRequest& WithWorkflowType(const WorkflowType& value) { SetWorkflowType(value); return *this;}
90 inline StartWorkflowExecutionRequest& WithWorkflowType(WorkflowType&& value) { SetWorkflowType(std::move(value)); return *this;}
92
94
106 inline const TaskList& GetTaskList() const{ return m_taskList; }
107 inline bool TaskListHasBeenSet() const { return m_taskListHasBeenSet; }
108 inline void SetTaskList(const TaskList& value) { m_taskListHasBeenSet = true; m_taskList = value; }
109 inline void SetTaskList(TaskList&& value) { m_taskListHasBeenSet = true; m_taskList = std::move(value); }
110 inline StartWorkflowExecutionRequest& WithTaskList(const TaskList& value) { SetTaskList(value); return *this;}
111 inline StartWorkflowExecutionRequest& WithTaskList(TaskList&& value) { SetTaskList(std::move(value)); return *this;}
113
115
125 inline const Aws::String& GetTaskPriority() const{ return m_taskPriority; }
126 inline bool TaskPriorityHasBeenSet() const { return m_taskPriorityHasBeenSet; }
127 inline void SetTaskPriority(const Aws::String& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = value; }
128 inline void SetTaskPriority(Aws::String&& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = std::move(value); }
129 inline void SetTaskPriority(const char* value) { m_taskPriorityHasBeenSet = true; m_taskPriority.assign(value); }
130 inline StartWorkflowExecutionRequest& WithTaskPriority(const Aws::String& value) { SetTaskPriority(value); return *this;}
131 inline StartWorkflowExecutionRequest& WithTaskPriority(Aws::String&& value) { SetTaskPriority(std::move(value)); return *this;}
132 inline StartWorkflowExecutionRequest& WithTaskPriority(const char* value) { SetTaskPriority(value); return *this;}
134
136
142 inline const Aws::String& GetInput() const{ return m_input; }
143 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
144 inline void SetInput(const Aws::String& value) { m_inputHasBeenSet = true; m_input = value; }
145 inline void SetInput(Aws::String&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
146 inline void SetInput(const char* value) { m_inputHasBeenSet = true; m_input.assign(value); }
147 inline StartWorkflowExecutionRequest& WithInput(const Aws::String& value) { SetInput(value); return *this;}
148 inline StartWorkflowExecutionRequest& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;}
149 inline StartWorkflowExecutionRequest& WithInput(const char* value) { SetInput(value); return *this;}
151
153
166 inline const Aws::String& GetExecutionStartToCloseTimeout() const{ return m_executionStartToCloseTimeout; }
167 inline bool ExecutionStartToCloseTimeoutHasBeenSet() const { return m_executionStartToCloseTimeoutHasBeenSet; }
168 inline void SetExecutionStartToCloseTimeout(const Aws::String& value) { m_executionStartToCloseTimeoutHasBeenSet = true; m_executionStartToCloseTimeout = value; }
169 inline void SetExecutionStartToCloseTimeout(Aws::String&& value) { m_executionStartToCloseTimeoutHasBeenSet = true; m_executionStartToCloseTimeout = std::move(value); }
170 inline void SetExecutionStartToCloseTimeout(const char* value) { m_executionStartToCloseTimeoutHasBeenSet = true; m_executionStartToCloseTimeout.assign(value); }
175
177
183 inline const Aws::Vector<Aws::String>& GetTagList() const{ return m_tagList; }
184 inline bool TagListHasBeenSet() const { return m_tagListHasBeenSet; }
185 inline void SetTagList(const Aws::Vector<Aws::String>& value) { m_tagListHasBeenSet = true; m_tagList = value; }
186 inline void SetTagList(Aws::Vector<Aws::String>&& value) { m_tagListHasBeenSet = true; m_tagList = std::move(value); }
188 inline StartWorkflowExecutionRequest& WithTagList(Aws::Vector<Aws::String>&& value) { SetTagList(std::move(value)); return *this;}
189 inline StartWorkflowExecutionRequest& AddTagList(const Aws::String& value) { m_tagListHasBeenSet = true; m_tagList.push_back(value); return *this; }
190 inline StartWorkflowExecutionRequest& AddTagList(Aws::String&& value) { m_tagListHasBeenSet = true; m_tagList.push_back(std::move(value)); return *this; }
191 inline StartWorkflowExecutionRequest& AddTagList(const char* value) { m_tagListHasBeenSet = true; m_tagList.push_back(value); return *this; }
193
195
207 inline const Aws::String& GetTaskStartToCloseTimeout() const{ return m_taskStartToCloseTimeout; }
208 inline bool TaskStartToCloseTimeoutHasBeenSet() const { return m_taskStartToCloseTimeoutHasBeenSet; }
209 inline void SetTaskStartToCloseTimeout(const Aws::String& value) { m_taskStartToCloseTimeoutHasBeenSet = true; m_taskStartToCloseTimeout = value; }
210 inline void SetTaskStartToCloseTimeout(Aws::String&& value) { m_taskStartToCloseTimeoutHasBeenSet = true; m_taskStartToCloseTimeout = std::move(value); }
211 inline void SetTaskStartToCloseTimeout(const char* value) { m_taskStartToCloseTimeoutHasBeenSet = true; m_taskStartToCloseTimeout.assign(value); }
216
218
236 inline const ChildPolicy& GetChildPolicy() const{ return m_childPolicy; }
237 inline bool ChildPolicyHasBeenSet() const { return m_childPolicyHasBeenSet; }
238 inline void SetChildPolicy(const ChildPolicy& value) { m_childPolicyHasBeenSet = true; m_childPolicy = value; }
239 inline void SetChildPolicy(ChildPolicy&& value) { m_childPolicyHasBeenSet = true; m_childPolicy = std::move(value); }
240 inline StartWorkflowExecutionRequest& WithChildPolicy(const ChildPolicy& value) { SetChildPolicy(value); return *this;}
241 inline StartWorkflowExecutionRequest& WithChildPolicy(ChildPolicy&& value) { SetChildPolicy(std::move(value)); return *this;}
243
245
254 inline const Aws::String& GetLambdaRole() const{ return m_lambdaRole; }
255 inline bool LambdaRoleHasBeenSet() const { return m_lambdaRoleHasBeenSet; }
256 inline void SetLambdaRole(const Aws::String& value) { m_lambdaRoleHasBeenSet = true; m_lambdaRole = value; }
257 inline void SetLambdaRole(Aws::String&& value) { m_lambdaRoleHasBeenSet = true; m_lambdaRole = std::move(value); }
258 inline void SetLambdaRole(const char* value) { m_lambdaRoleHasBeenSet = true; m_lambdaRole.assign(value); }
259 inline StartWorkflowExecutionRequest& WithLambdaRole(const Aws::String& value) { SetLambdaRole(value); return *this;}
260 inline StartWorkflowExecutionRequest& WithLambdaRole(Aws::String&& value) { SetLambdaRole(std::move(value)); return *this;}
261 inline StartWorkflowExecutionRequest& WithLambdaRole(const char* value) { SetLambdaRole(value); return *this;}
263 private:
264
265 Aws::String m_domain;
266 bool m_domainHasBeenSet = false;
267
268 Aws::String m_workflowId;
269 bool m_workflowIdHasBeenSet = false;
270
271 WorkflowType m_workflowType;
272 bool m_workflowTypeHasBeenSet = false;
273
274 TaskList m_taskList;
275 bool m_taskListHasBeenSet = false;
276
277 Aws::String m_taskPriority;
278 bool m_taskPriorityHasBeenSet = false;
279
280 Aws::String m_input;
281 bool m_inputHasBeenSet = false;
282
283 Aws::String m_executionStartToCloseTimeout;
284 bool m_executionStartToCloseTimeoutHasBeenSet = false;
285
286 Aws::Vector<Aws::String> m_tagList;
287 bool m_tagListHasBeenSet = false;
288
289 Aws::String m_taskStartToCloseTimeout;
290 bool m_taskStartToCloseTimeoutHasBeenSet = false;
291
292 ChildPolicy m_childPolicy;
293 bool m_childPolicyHasBeenSet = false;
294
295 Aws::String m_lambdaRole;
296 bool m_lambdaRoleHasBeenSet = false;
297 };
298
299} // namespace Model
300} // namespace SWF
301} // namespace Aws
StartWorkflowExecutionRequest & WithTaskList(const TaskList &value)
StartWorkflowExecutionRequest & WithLambdaRole(Aws::String &&value)
StartWorkflowExecutionRequest & WithWorkflowType(const WorkflowType &value)
virtual const char * GetServiceRequestName() const override
StartWorkflowExecutionRequest & WithDomain(Aws::String &&value)
StartWorkflowExecutionRequest & WithInput(Aws::String &&value)
StartWorkflowExecutionRequest & WithTaskList(TaskList &&value)
StartWorkflowExecutionRequest & WithTaskPriority(const Aws::String &value)
StartWorkflowExecutionRequest & WithTagList(Aws::Vector< Aws::String > &&value)
StartWorkflowExecutionRequest & WithTaskPriority(Aws::String &&value)
StartWorkflowExecutionRequest & WithTaskStartToCloseTimeout(const char *value)
StartWorkflowExecutionRequest & WithTagList(const Aws::Vector< Aws::String > &value)
StartWorkflowExecutionRequest & WithTaskStartToCloseTimeout(const Aws::String &value)
StartWorkflowExecutionRequest & WithDomain(const Aws::String &value)
StartWorkflowExecutionRequest & WithDomain(const char *value)
StartWorkflowExecutionRequest & WithWorkflowId(Aws::String &&value)
StartWorkflowExecutionRequest & WithInput(const Aws::String &value)
void SetTagList(const Aws::Vector< Aws::String > &value)
StartWorkflowExecutionRequest & WithInput(const char *value)
StartWorkflowExecutionRequest & WithTaskPriority(const char *value)
StartWorkflowExecutionRequest & WithWorkflowType(WorkflowType &&value)
StartWorkflowExecutionRequest & WithChildPolicy(const ChildPolicy &value)
StartWorkflowExecutionRequest & WithLambdaRole(const Aws::String &value)
StartWorkflowExecutionRequest & WithWorkflowId(const char *value)
StartWorkflowExecutionRequest & WithExecutionStartToCloseTimeout(Aws::String &&value)
StartWorkflowExecutionRequest & AddTagList(Aws::String &&value)
StartWorkflowExecutionRequest & AddTagList(const Aws::String &value)
StartWorkflowExecutionRequest & WithWorkflowId(const Aws::String &value)
AWS_SWF_API Aws::String SerializePayload() const override
StartWorkflowExecutionRequest & WithLambdaRole(const char *value)
StartWorkflowExecutionRequest & WithTaskStartToCloseTimeout(Aws::String &&value)
StartWorkflowExecutionRequest & AddTagList(const char *value)
StartWorkflowExecutionRequest & WithExecutionStartToCloseTimeout(const char *value)
StartWorkflowExecutionRequest & WithChildPolicy(ChildPolicy &&value)
const Aws::Vector< Aws::String > & GetTagList() const
void SetTagList(Aws::Vector< Aws::String > &&value)
AWS_SWF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartWorkflowExecutionRequest & WithExecutionStartToCloseTimeout(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector