AWS SDK for C++  0.14.3
AWS SDK for C++
WorkflowExecutionContinuedAsNewEventAttributes.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/swf/SWF_EXPORTS.h>
18 #include <aws/swf/model/TaskList.h>
22 
23 namespace Aws
24 {
25 namespace Utils
26 {
27 namespace Json
28 {
29  class JsonValue;
30 } // namespace Json
31 } // namespace Utils
32 namespace SWF
33 {
34 namespace Model
35 {
36 
42  {
43  public:
47  Aws::Utils::Json::JsonValue Jsonize() const;
48 
52  inline const Aws::String& GetInput() const{ return m_input; }
53 
57  inline void SetInput(const Aws::String& value) { m_inputHasBeenSet = true; m_input = value; }
58 
62  inline void SetInput(Aws::String&& value) { m_inputHasBeenSet = true; m_input = value; }
63 
67  inline void SetInput(const char* value) { m_inputHasBeenSet = true; m_input.assign(value); }
68 
72  inline WorkflowExecutionContinuedAsNewEventAttributes& WithInput(const Aws::String& value) { SetInput(value); return *this;}
73 
77  inline WorkflowExecutionContinuedAsNewEventAttributes& WithInput(Aws::String&& value) { SetInput(value); return *this;}
78 
82  inline WorkflowExecutionContinuedAsNewEventAttributes& WithInput(const char* value) { SetInput(value); return *this;}
83 
91  inline long long GetDecisionTaskCompletedEventId() const{ return m_decisionTaskCompletedEventId; }
92 
100  inline void SetDecisionTaskCompletedEventId(long long value) { m_decisionTaskCompletedEventIdHasBeenSet = true; m_decisionTaskCompletedEventId = value; }
101 
109  inline WorkflowExecutionContinuedAsNewEventAttributes& WithDecisionTaskCompletedEventId(long long value) { SetDecisionTaskCompletedEventId(value); return *this;}
110 
114  inline const Aws::String& GetNewExecutionRunId() const{ return m_newExecutionRunId; }
115 
119  inline void SetNewExecutionRunId(const Aws::String& value) { m_newExecutionRunIdHasBeenSet = true; m_newExecutionRunId = value; }
120 
124  inline void SetNewExecutionRunId(Aws::String&& value) { m_newExecutionRunIdHasBeenSet = true; m_newExecutionRunId = value; }
125 
129  inline void SetNewExecutionRunId(const char* value) { m_newExecutionRunIdHasBeenSet = true; m_newExecutionRunId.assign(value); }
130 
134  inline WorkflowExecutionContinuedAsNewEventAttributes& WithNewExecutionRunId(const Aws::String& value) { SetNewExecutionRunId(value); return *this;}
135 
139  inline WorkflowExecutionContinuedAsNewEventAttributes& WithNewExecutionRunId(Aws::String&& value) { SetNewExecutionRunId(value); return *this;}
140 
144  inline WorkflowExecutionContinuedAsNewEventAttributes& WithNewExecutionRunId(const char* value) { SetNewExecutionRunId(value); return *this;}
145 
151  inline const Aws::String& GetExecutionStartToCloseTimeout() const{ return m_executionStartToCloseTimeout; }
152 
158  inline void SetExecutionStartToCloseTimeout(const Aws::String& value) { m_executionStartToCloseTimeoutHasBeenSet = true; m_executionStartToCloseTimeout = value; }
159 
165  inline void SetExecutionStartToCloseTimeout(Aws::String&& value) { m_executionStartToCloseTimeoutHasBeenSet = true; m_executionStartToCloseTimeout = value; }
166 
172  inline void SetExecutionStartToCloseTimeout(const char* value) { m_executionStartToCloseTimeoutHasBeenSet = true; m_executionStartToCloseTimeout.assign(value); }
173 
179  inline WorkflowExecutionContinuedAsNewEventAttributes& WithExecutionStartToCloseTimeout(const Aws::String& value) { SetExecutionStartToCloseTimeout(value); return *this;}
180 
186  inline WorkflowExecutionContinuedAsNewEventAttributes& WithExecutionStartToCloseTimeout(Aws::String&& value) { SetExecutionStartToCloseTimeout(value); return *this;}
187 
193  inline WorkflowExecutionContinuedAsNewEventAttributes& WithExecutionStartToCloseTimeout(const char* value) { SetExecutionStartToCloseTimeout(value); return *this;}
194 
195 
196  inline const TaskList& GetTaskList() const{ return m_taskList; }
197 
198 
199  inline void SetTaskList(const TaskList& value) { m_taskListHasBeenSet = true; m_taskList = value; }
200 
201 
202  inline void SetTaskList(TaskList&& value) { m_taskListHasBeenSet = true; m_taskList = value; }
203 
204 
205  inline WorkflowExecutionContinuedAsNewEventAttributes& WithTaskList(const TaskList& value) { SetTaskList(value); return *this;}
206 
207 
208  inline WorkflowExecutionContinuedAsNewEventAttributes& WithTaskList(TaskList&& value) { SetTaskList(value); return *this;}
209 
210 
211  inline const Aws::String& GetTaskPriority() const{ return m_taskPriority; }
212 
213 
214  inline void SetTaskPriority(const Aws::String& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = value; }
215 
216 
217  inline void SetTaskPriority(Aws::String&& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = value; }
218 
219 
220  inline void SetTaskPriority(const char* value) { m_taskPriorityHasBeenSet = true; m_taskPriority.assign(value); }
221 
222 
223  inline WorkflowExecutionContinuedAsNewEventAttributes& WithTaskPriority(const Aws::String& value) { SetTaskPriority(value); return *this;}
224 
225 
226  inline WorkflowExecutionContinuedAsNewEventAttributes& WithTaskPriority(Aws::String&& value) { SetTaskPriority(value); return *this;}
227 
228 
229  inline WorkflowExecutionContinuedAsNewEventAttributes& WithTaskPriority(const char* value) { SetTaskPriority(value); return *this;}
230 
236  inline const Aws::String& GetTaskStartToCloseTimeout() const{ return m_taskStartToCloseTimeout; }
237 
243  inline void SetTaskStartToCloseTimeout(const Aws::String& value) { m_taskStartToCloseTimeoutHasBeenSet = true; m_taskStartToCloseTimeout = value; }
244 
250  inline void SetTaskStartToCloseTimeout(Aws::String&& value) { m_taskStartToCloseTimeoutHasBeenSet = true; m_taskStartToCloseTimeout = value; }
251 
257  inline void SetTaskStartToCloseTimeout(const char* value) { m_taskStartToCloseTimeoutHasBeenSet = true; m_taskStartToCloseTimeout.assign(value); }
258 
264  inline WorkflowExecutionContinuedAsNewEventAttributes& WithTaskStartToCloseTimeout(const Aws::String& value) { SetTaskStartToCloseTimeout(value); return *this;}
265 
271  inline WorkflowExecutionContinuedAsNewEventAttributes& WithTaskStartToCloseTimeout(Aws::String&& value) { SetTaskStartToCloseTimeout(value); return *this;}
272 
278  inline WorkflowExecutionContinuedAsNewEventAttributes& WithTaskStartToCloseTimeout(const char* value) { SetTaskStartToCloseTimeout(value); return *this;}
279 
292  inline const ChildPolicy& GetChildPolicy() const{ return m_childPolicy; }
293 
306  inline void SetChildPolicy(const ChildPolicy& value) { m_childPolicyHasBeenSet = true; m_childPolicy = value; }
307 
320  inline void SetChildPolicy(ChildPolicy&& value) { m_childPolicyHasBeenSet = true; m_childPolicy = value; }
321 
334  inline WorkflowExecutionContinuedAsNewEventAttributes& WithChildPolicy(const ChildPolicy& value) { SetChildPolicy(value); return *this;}
335 
348  inline WorkflowExecutionContinuedAsNewEventAttributes& WithChildPolicy(ChildPolicy&& value) { SetChildPolicy(value); return *this;}
349 
353  inline const Aws::Vector<Aws::String>& GetTagList() const{ return m_tagList; }
354 
358  inline void SetTagList(const Aws::Vector<Aws::String>& value) { m_tagListHasBeenSet = true; m_tagList = value; }
359 
363  inline void SetTagList(Aws::Vector<Aws::String>&& value) { m_tagListHasBeenSet = true; m_tagList = value; }
364 
368  inline WorkflowExecutionContinuedAsNewEventAttributes& WithTagList(const Aws::Vector<Aws::String>& value) { SetTagList(value); return *this;}
369 
373  inline WorkflowExecutionContinuedAsNewEventAttributes& WithTagList(Aws::Vector<Aws::String>&& value) { SetTagList(value); return *this;}
374 
378  inline WorkflowExecutionContinuedAsNewEventAttributes& AddTagList(const Aws::String& value) { m_tagListHasBeenSet = true; m_tagList.push_back(value); return *this; }
379 
383  inline WorkflowExecutionContinuedAsNewEventAttributes& AddTagList(Aws::String&& value) { m_tagListHasBeenSet = true; m_tagList.push_back(value); return *this; }
384 
388  inline WorkflowExecutionContinuedAsNewEventAttributes& AddTagList(const char* value) { m_tagListHasBeenSet = true; m_tagList.push_back(value); return *this; }
389 
390 
391  inline const WorkflowType& GetWorkflowType() const{ return m_workflowType; }
392 
393 
394  inline void SetWorkflowType(const WorkflowType& value) { m_workflowTypeHasBeenSet = true; m_workflowType = value; }
395 
396 
397  inline void SetWorkflowType(WorkflowType&& value) { m_workflowTypeHasBeenSet = true; m_workflowType = value; }
398 
399 
400  inline WorkflowExecutionContinuedAsNewEventAttributes& WithWorkflowType(const WorkflowType& value) { SetWorkflowType(value); return *this;}
401 
402 
403  inline WorkflowExecutionContinuedAsNewEventAttributes& WithWorkflowType(WorkflowType&& value) { SetWorkflowType(value); return *this;}
404 
409  inline const Aws::String& GetLambdaRole() const{ return m_lambdaRole; }
410 
415  inline void SetLambdaRole(const Aws::String& value) { m_lambdaRoleHasBeenSet = true; m_lambdaRole = value; }
416 
421  inline void SetLambdaRole(Aws::String&& value) { m_lambdaRoleHasBeenSet = true; m_lambdaRole = value; }
422 
427  inline void SetLambdaRole(const char* value) { m_lambdaRoleHasBeenSet = true; m_lambdaRole.assign(value); }
428 
433  inline WorkflowExecutionContinuedAsNewEventAttributes& WithLambdaRole(const Aws::String& value) { SetLambdaRole(value); return *this;}
434 
439  inline WorkflowExecutionContinuedAsNewEventAttributes& WithLambdaRole(Aws::String&& value) { SetLambdaRole(value); return *this;}
440 
445  inline WorkflowExecutionContinuedAsNewEventAttributes& WithLambdaRole(const char* value) { SetLambdaRole(value); return *this;}
446 
447  private:
448  Aws::String m_input;
449  bool m_inputHasBeenSet;
450  long long m_decisionTaskCompletedEventId;
451  bool m_decisionTaskCompletedEventIdHasBeenSet;
452  Aws::String m_newExecutionRunId;
453  bool m_newExecutionRunIdHasBeenSet;
454  Aws::String m_executionStartToCloseTimeout;
455  bool m_executionStartToCloseTimeoutHasBeenSet;
456  TaskList m_taskList;
457  bool m_taskListHasBeenSet;
458  Aws::String m_taskPriority;
459  bool m_taskPriorityHasBeenSet;
460  Aws::String m_taskStartToCloseTimeout;
461  bool m_taskStartToCloseTimeoutHasBeenSet;
462  ChildPolicy m_childPolicy;
463  bool m_childPolicyHasBeenSet;
464  Aws::Vector<Aws::String> m_tagList;
465  bool m_tagListHasBeenSet;
466  WorkflowType m_workflowType;
467  bool m_workflowTypeHasBeenSet;
468  Aws::String m_lambdaRole;
469  bool m_lambdaRoleHasBeenSet;
470  };
471 
472 } // namespace Model
473 } // namespace SWF
474 } // namespace Aws
WorkflowExecutionContinuedAsNewEventAttributes & WithTaskPriority(const Aws::String &value)
WorkflowExecutionContinuedAsNewEventAttributes & WithTaskPriority(Aws::String &&value)
WorkflowExecutionContinuedAsNewEventAttributes & WithLambdaRole(Aws::String &&value)
WorkflowExecutionContinuedAsNewEventAttributes & WithTaskList(const TaskList &value)
#define AWS_SWF_API
Definition: SWF_EXPORTS.h:37
WorkflowExecutionContinuedAsNewEventAttributes & WithWorkflowType(const WorkflowType &value)
WorkflowExecutionContinuedAsNewEventAttributes & WithTaskList(TaskList &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
WorkflowExecutionContinuedAsNewEventAttributes & WithLambdaRole(const char *value)
WorkflowExecutionContinuedAsNewEventAttributes & WithExecutionStartToCloseTimeout(const char *value)
WorkflowExecutionContinuedAsNewEventAttributes & WithDecisionTaskCompletedEventId(long long value)
WorkflowExecutionContinuedAsNewEventAttributes & AddTagList(const Aws::String &value)
WorkflowExecutionContinuedAsNewEventAttributes & WithTagList(Aws::Vector< Aws::String > &&value)
WorkflowExecutionContinuedAsNewEventAttributes & WithLambdaRole(const Aws::String &value)
WorkflowExecutionContinuedAsNewEventAttributes & WithNewExecutionRunId(const char *value)
WorkflowExecutionContinuedAsNewEventAttributes & AddTagList(Aws::String &&value)
WorkflowExecutionContinuedAsNewEventAttributes & WithNewExecutionRunId(Aws::String &&value)
WorkflowExecutionContinuedAsNewEventAttributes & WithTaskPriority(const char *value)
WorkflowExecutionContinuedAsNewEventAttributes & WithInput(const Aws::String &value)
WorkflowExecutionContinuedAsNewEventAttributes & WithTagList(const Aws::Vector< Aws::String > &value)
WorkflowExecutionContinuedAsNewEventAttributes & AddTagList(const char *value)
WorkflowExecutionContinuedAsNewEventAttributes & WithExecutionStartToCloseTimeout(const Aws::String &value)
WorkflowExecutionContinuedAsNewEventAttributes & WithWorkflowType(WorkflowType &&value)
WorkflowExecutionContinuedAsNewEventAttributes & WithExecutionStartToCloseTimeout(Aws::String &&value)
WorkflowExecutionContinuedAsNewEventAttributes & WithInput(const char *value)
WorkflowExecutionContinuedAsNewEventAttributes & WithInput(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
WorkflowExecutionContinuedAsNewEventAttributes & WithNewExecutionRunId(const Aws::String &value)
WorkflowExecutionContinuedAsNewEventAttributes & WithChildPolicy(ChildPolicy &&value)
WorkflowExecutionContinuedAsNewEventAttributes & WithTaskStartToCloseTimeout(const char *value)
WorkflowExecutionContinuedAsNewEventAttributes & WithChildPolicy(const ChildPolicy &value)
WorkflowExecutionContinuedAsNewEventAttributes & WithTaskStartToCloseTimeout(Aws::String &&value)
JSON (JavaScript Object Notation).
WorkflowExecutionContinuedAsNewEventAttributes & WithTaskStartToCloseTimeout(const Aws::String &value)