AWS SDK for C++  0.14.3
AWS SDK for C++
StartChildWorkflowExecutionInitiatedEventAttributes.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>
19 #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& GetWorkflowId() const{ return m_workflowId; }
53 
57  inline void SetWorkflowId(const Aws::String& value) { m_workflowIdHasBeenSet = true; m_workflowId = value; }
58 
62  inline void SetWorkflowId(Aws::String&& value) { m_workflowIdHasBeenSet = true; m_workflowId = value; }
63 
67  inline void SetWorkflowId(const char* value) { m_workflowIdHasBeenSet = true; m_workflowId.assign(value); }
68 
72  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithWorkflowId(const Aws::String& value) { SetWorkflowId(value); return *this;}
73 
77  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithWorkflowId(Aws::String&& value) { SetWorkflowId(value); return *this;}
78 
82  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithWorkflowId(const char* value) { SetWorkflowId(value); return *this;}
83 
87  inline const WorkflowType& GetWorkflowType() const{ return m_workflowType; }
88 
92  inline void SetWorkflowType(const WorkflowType& value) { m_workflowTypeHasBeenSet = true; m_workflowType = value; }
93 
97  inline void SetWorkflowType(WorkflowType&& value) { m_workflowTypeHasBeenSet = true; m_workflowType = value; }
98 
102  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithWorkflowType(const WorkflowType& value) { SetWorkflowType(value); return *this;}
103 
107  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithWorkflowType(WorkflowType&& value) { SetWorkflowType(value); return *this;}
108 
113  inline const Aws::String& GetControl() const{ return m_control; }
114 
119  inline void SetControl(const Aws::String& value) { m_controlHasBeenSet = true; m_control = value; }
120 
125  inline void SetControl(Aws::String&& value) { m_controlHasBeenSet = true; m_control = value; }
126 
131  inline void SetControl(const char* value) { m_controlHasBeenSet = true; m_control.assign(value); }
132 
137  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithControl(const Aws::String& value) { SetControl(value); return *this;}
138 
143  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithControl(Aws::String&& value) { SetControl(value); return *this;}
144 
149  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithControl(const char* value) { SetControl(value); return *this;}
150 
154  inline const Aws::String& GetInput() const{ return m_input; }
155 
159  inline void SetInput(const Aws::String& value) { m_inputHasBeenSet = true; m_input = value; }
160 
164  inline void SetInput(Aws::String&& value) { m_inputHasBeenSet = true; m_input = value; }
165 
169  inline void SetInput(const char* value) { m_inputHasBeenSet = true; m_input.assign(value); }
170 
174  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithInput(const Aws::String& value) { SetInput(value); return *this;}
175 
179  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithInput(Aws::String&& value) { SetInput(value); return *this;}
180 
184  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithInput(const char* value) { SetInput(value); return *this;}
185 
192  inline const Aws::String& GetExecutionStartToCloseTimeout() const{ return m_executionStartToCloseTimeout; }
193 
200  inline void SetExecutionStartToCloseTimeout(const Aws::String& value) { m_executionStartToCloseTimeoutHasBeenSet = true; m_executionStartToCloseTimeout = value; }
201 
208  inline void SetExecutionStartToCloseTimeout(Aws::String&& value) { m_executionStartToCloseTimeoutHasBeenSet = true; m_executionStartToCloseTimeout = value; }
209 
216  inline void SetExecutionStartToCloseTimeout(const char* value) { m_executionStartToCloseTimeoutHasBeenSet = true; m_executionStartToCloseTimeout.assign(value); }
217 
224  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithExecutionStartToCloseTimeout(const Aws::String& value) { SetExecutionStartToCloseTimeout(value); return *this;}
225 
232  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithExecutionStartToCloseTimeout(Aws::String&& value) { SetExecutionStartToCloseTimeout(value); return *this;}
233 
240  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithExecutionStartToCloseTimeout(const char* value) { SetExecutionStartToCloseTimeout(value); return *this;}
241 
246  inline const TaskList& GetTaskList() const{ return m_taskList; }
247 
252  inline void SetTaskList(const TaskList& value) { m_taskListHasBeenSet = true; m_taskList = value; }
253 
258  inline void SetTaskList(TaskList&& value) { m_taskListHasBeenSet = true; m_taskList = value; }
259 
264  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithTaskList(const TaskList& value) { SetTaskList(value); return *this;}
265 
270  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithTaskList(TaskList&& value) { SetTaskList(value); return *this;}
271 
281  inline const Aws::String& GetTaskPriority() const{ return m_taskPriority; }
282 
292  inline void SetTaskPriority(const Aws::String& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = value; }
293 
303  inline void SetTaskPriority(Aws::String&& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = value; }
304 
314  inline void SetTaskPriority(const char* value) { m_taskPriorityHasBeenSet = true; m_taskPriority.assign(value); }
315 
325  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithTaskPriority(const Aws::String& value) { SetTaskPriority(value); return *this;}
326 
336  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithTaskPriority(Aws::String&& value) { SetTaskPriority(value); return *this;}
337 
347  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithTaskPriority(const char* value) { SetTaskPriority(value); return *this;}
348 
355  inline long long GetDecisionTaskCompletedEventId() const{ return m_decisionTaskCompletedEventId; }
356 
363  inline void SetDecisionTaskCompletedEventId(long long value) { m_decisionTaskCompletedEventIdHasBeenSet = true; m_decisionTaskCompletedEventId = value; }
364 
371  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithDecisionTaskCompletedEventId(long long value) { SetDecisionTaskCompletedEventId(value); return *this;}
372 
384  inline const ChildPolicy& GetChildPolicy() const{ return m_childPolicy; }
385 
397  inline void SetChildPolicy(const ChildPolicy& value) { m_childPolicyHasBeenSet = true; m_childPolicy = value; }
398 
410  inline void SetChildPolicy(ChildPolicy&& value) { m_childPolicyHasBeenSet = true; m_childPolicy = value; }
411 
423  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithChildPolicy(const ChildPolicy& value) { SetChildPolicy(value); return *this;}
424 
436  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithChildPolicy(ChildPolicy&& value) { SetChildPolicy(value); return *this;}
437 
443  inline const Aws::String& GetTaskStartToCloseTimeout() const{ return m_taskStartToCloseTimeout; }
444 
450  inline void SetTaskStartToCloseTimeout(const Aws::String& value) { m_taskStartToCloseTimeoutHasBeenSet = true; m_taskStartToCloseTimeout = value; }
451 
457  inline void SetTaskStartToCloseTimeout(Aws::String&& value) { m_taskStartToCloseTimeoutHasBeenSet = true; m_taskStartToCloseTimeout = value; }
458 
464  inline void SetTaskStartToCloseTimeout(const char* value) { m_taskStartToCloseTimeoutHasBeenSet = true; m_taskStartToCloseTimeout.assign(value); }
465 
471  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithTaskStartToCloseTimeout(const Aws::String& value) { SetTaskStartToCloseTimeout(value); return *this;}
472 
478  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithTaskStartToCloseTimeout(Aws::String&& value) { SetTaskStartToCloseTimeout(value); return *this;}
479 
485  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithTaskStartToCloseTimeout(const char* value) { SetTaskStartToCloseTimeout(value); return *this;}
486 
490  inline const Aws::Vector<Aws::String>& GetTagList() const{ return m_tagList; }
491 
495  inline void SetTagList(const Aws::Vector<Aws::String>& value) { m_tagListHasBeenSet = true; m_tagList = value; }
496 
500  inline void SetTagList(Aws::Vector<Aws::String>&& value) { m_tagListHasBeenSet = true; m_tagList = value; }
501 
505  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithTagList(const Aws::Vector<Aws::String>& value) { SetTagList(value); return *this;}
506 
511 
515  inline StartChildWorkflowExecutionInitiatedEventAttributes& AddTagList(const Aws::String& value) { m_tagListHasBeenSet = true; m_tagList.push_back(value); return *this; }
516 
520  inline StartChildWorkflowExecutionInitiatedEventAttributes& AddTagList(Aws::String&& value) { m_tagListHasBeenSet = true; m_tagList.push_back(value); return *this; }
521 
525  inline StartChildWorkflowExecutionInitiatedEventAttributes& AddTagList(const char* value) { m_tagListHasBeenSet = true; m_tagList.push_back(value); return *this; }
526 
531  inline const Aws::String& GetLambdaRole() const{ return m_lambdaRole; }
532 
537  inline void SetLambdaRole(const Aws::String& value) { m_lambdaRoleHasBeenSet = true; m_lambdaRole = value; }
538 
543  inline void SetLambdaRole(Aws::String&& value) { m_lambdaRoleHasBeenSet = true; m_lambdaRole = value; }
544 
549  inline void SetLambdaRole(const char* value) { m_lambdaRoleHasBeenSet = true; m_lambdaRole.assign(value); }
550 
555  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithLambdaRole(const Aws::String& value) { SetLambdaRole(value); return *this;}
556 
561  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithLambdaRole(Aws::String&& value) { SetLambdaRole(value); return *this;}
562 
567  inline StartChildWorkflowExecutionInitiatedEventAttributes& WithLambdaRole(const char* value) { SetLambdaRole(value); return *this;}
568 
569  private:
570  Aws::String m_workflowId;
571  bool m_workflowIdHasBeenSet;
572  WorkflowType m_workflowType;
573  bool m_workflowTypeHasBeenSet;
574  Aws::String m_control;
575  bool m_controlHasBeenSet;
576  Aws::String m_input;
577  bool m_inputHasBeenSet;
578  Aws::String m_executionStartToCloseTimeout;
579  bool m_executionStartToCloseTimeoutHasBeenSet;
580  TaskList m_taskList;
581  bool m_taskListHasBeenSet;
582  Aws::String m_taskPriority;
583  bool m_taskPriorityHasBeenSet;
584  long long m_decisionTaskCompletedEventId;
585  bool m_decisionTaskCompletedEventIdHasBeenSet;
586  ChildPolicy m_childPolicy;
587  bool m_childPolicyHasBeenSet;
588  Aws::String m_taskStartToCloseTimeout;
589  bool m_taskStartToCloseTimeoutHasBeenSet;
590  Aws::Vector<Aws::String> m_tagList;
591  bool m_tagListHasBeenSet;
592  Aws::String m_lambdaRole;
593  bool m_lambdaRoleHasBeenSet;
594  };
595 
596 } // namespace Model
597 } // namespace SWF
598 } // namespace Aws
StartChildWorkflowExecutionInitiatedEventAttributes & WithControl(Aws::String &&value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithInput(const Aws::String &value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithExecutionStartToCloseTimeout(const char *value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithWorkflowType(WorkflowType &&value)
#define AWS_SWF_API
Definition: SWF_EXPORTS.h:37
StartChildWorkflowExecutionInitiatedEventAttributes & WithTaskList(const TaskList &value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithInput(Aws::String &&value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithDecisionTaskCompletedEventId(long long value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithWorkflowId(const Aws::String &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
StartChildWorkflowExecutionInitiatedEventAttributes & WithTaskStartToCloseTimeout(const char *value)
StartChildWorkflowExecutionInitiatedEventAttributes & AddTagList(const char *value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithTagList(const Aws::Vector< Aws::String > &value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithWorkflowId(const char *value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithTaskStartToCloseTimeout(Aws::String &&value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithLambdaRole(const char *value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithExecutionStartToCloseTimeout(const Aws::String &value)
StartChildWorkflowExecutionInitiatedEventAttributes & AddTagList(const Aws::String &value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithInput(const char *value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithWorkflowType(const WorkflowType &value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithLambdaRole(Aws::String &&value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithChildPolicy(ChildPolicy &&value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithTagList(Aws::Vector< Aws::String > &&value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithWorkflowId(Aws::String &&value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithControl(const Aws::String &value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithTaskList(TaskList &&value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithExecutionStartToCloseTimeout(Aws::String &&value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithControl(const char *value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithTaskStartToCloseTimeout(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
StartChildWorkflowExecutionInitiatedEventAttributes & WithTaskPriority(const Aws::String &value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithChildPolicy(const ChildPolicy &value)
StartChildWorkflowExecutionInitiatedEventAttributes & AddTagList(Aws::String &&value)
JSON (JavaScript Object Notation).
StartChildWorkflowExecutionInitiatedEventAttributes & WithTaskPriority(Aws::String &&value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithTaskPriority(const char *value)
StartChildWorkflowExecutionInitiatedEventAttributes & WithLambdaRole(const Aws::String &value)