AWS SDK for C++  0.12.9
AWS SDK for C++
WorkflowExecutionStartedEventAttributes.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>
23 
24 namespace Aws
25 {
26 namespace Utils
27 {
28 namespace Json
29 {
30  class JsonValue;
31 } // namespace Json
32 } // namespace Utils
33 namespace SWF
34 {
35 namespace Model
36 {
37 
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 WorkflowExecutionStartedEventAttributes& WithInput(const Aws::String& value) { SetInput(value); return *this;}
73 
77  inline WorkflowExecutionStartedEventAttributes& WithInput(Aws::String&& value) { SetInput(value); return *this;}
78 
82  inline WorkflowExecutionStartedEventAttributes& WithInput(const char* value) { SetInput(value); return *this;}
83 
89  inline const Aws::String& GetExecutionStartToCloseTimeout() const{ return m_executionStartToCloseTimeout; }
90 
96  inline void SetExecutionStartToCloseTimeout(const Aws::String& value) { m_executionStartToCloseTimeoutHasBeenSet = true; m_executionStartToCloseTimeout = value; }
97 
103  inline void SetExecutionStartToCloseTimeout(Aws::String&& value) { m_executionStartToCloseTimeoutHasBeenSet = true; m_executionStartToCloseTimeout = value; }
104 
110  inline void SetExecutionStartToCloseTimeout(const char* value) { m_executionStartToCloseTimeoutHasBeenSet = true; m_executionStartToCloseTimeout.assign(value); }
111 
117  inline WorkflowExecutionStartedEventAttributes& WithExecutionStartToCloseTimeout(const Aws::String& value) { SetExecutionStartToCloseTimeout(value); return *this;}
118 
124  inline WorkflowExecutionStartedEventAttributes& WithExecutionStartToCloseTimeout(Aws::String&& value) { SetExecutionStartToCloseTimeout(value); return *this;}
125 
131  inline WorkflowExecutionStartedEventAttributes& WithExecutionStartToCloseTimeout(const char* value) { SetExecutionStartToCloseTimeout(value); return *this;}
132 
138  inline const Aws::String& GetTaskStartToCloseTimeout() const{ return m_taskStartToCloseTimeout; }
139 
145  inline void SetTaskStartToCloseTimeout(const Aws::String& value) { m_taskStartToCloseTimeoutHasBeenSet = true; m_taskStartToCloseTimeout = value; }
146 
152  inline void SetTaskStartToCloseTimeout(Aws::String&& value) { m_taskStartToCloseTimeoutHasBeenSet = true; m_taskStartToCloseTimeout = value; }
153 
159  inline void SetTaskStartToCloseTimeout(const char* value) { m_taskStartToCloseTimeoutHasBeenSet = true; m_taskStartToCloseTimeout.assign(value); }
160 
166  inline WorkflowExecutionStartedEventAttributes& WithTaskStartToCloseTimeout(const Aws::String& value) { SetTaskStartToCloseTimeout(value); return *this;}
167 
173  inline WorkflowExecutionStartedEventAttributes& WithTaskStartToCloseTimeout(Aws::String&& value) { SetTaskStartToCloseTimeout(value); return *this;}
174 
180  inline WorkflowExecutionStartedEventAttributes& WithTaskStartToCloseTimeout(const char* value) { SetTaskStartToCloseTimeout(value); return *this;}
181 
194  inline const ChildPolicy& GetChildPolicy() const{ return m_childPolicy; }
195 
208  inline void SetChildPolicy(const ChildPolicy& value) { m_childPolicyHasBeenSet = true; m_childPolicy = value; }
209 
222  inline void SetChildPolicy(ChildPolicy&& value) { m_childPolicyHasBeenSet = true; m_childPolicy = value; }
223 
236  inline WorkflowExecutionStartedEventAttributes& WithChildPolicy(const ChildPolicy& value) { SetChildPolicy(value); return *this;}
237 
250  inline WorkflowExecutionStartedEventAttributes& WithChildPolicy(ChildPolicy&& value) { SetChildPolicy(value); return *this;}
251 
256  inline const TaskList& GetTaskList() const{ return m_taskList; }
257 
262  inline void SetTaskList(const TaskList& value) { m_taskListHasBeenSet = true; m_taskList = value; }
263 
268  inline void SetTaskList(TaskList&& value) { m_taskListHasBeenSet = true; m_taskList = value; }
269 
274  inline WorkflowExecutionStartedEventAttributes& WithTaskList(const TaskList& value) { SetTaskList(value); return *this;}
275 
280  inline WorkflowExecutionStartedEventAttributes& WithTaskList(TaskList&& value) { SetTaskList(value); return *this;}
281 
285  inline const WorkflowType& GetWorkflowType() const{ return m_workflowType; }
286 
290  inline void SetWorkflowType(const WorkflowType& value) { m_workflowTypeHasBeenSet = true; m_workflowType = value; }
291 
295  inline void SetWorkflowType(WorkflowType&& value) { m_workflowTypeHasBeenSet = true; m_workflowType = value; }
296 
300  inline WorkflowExecutionStartedEventAttributes& WithWorkflowType(const WorkflowType& value) { SetWorkflowType(value); return *this;}
301 
305  inline WorkflowExecutionStartedEventAttributes& WithWorkflowType(WorkflowType&& value) { SetWorkflowType(value); return *this;}
306 
311  inline const Aws::Vector<Aws::String>& GetTagList() const{ return m_tagList; }
312 
317  inline void SetTagList(const Aws::Vector<Aws::String>& value) { m_tagListHasBeenSet = true; m_tagList = value; }
318 
323  inline void SetTagList(Aws::Vector<Aws::String>&& value) { m_tagListHasBeenSet = true; m_tagList = value; }
324 
329  inline WorkflowExecutionStartedEventAttributes& WithTagList(const Aws::Vector<Aws::String>& value) { SetTagList(value); return *this;}
330 
335  inline WorkflowExecutionStartedEventAttributes& WithTagList(Aws::Vector<Aws::String>&& value) { SetTagList(value); return *this;}
336 
341  inline WorkflowExecutionStartedEventAttributes& AddTagList(const Aws::String& value) { m_tagListHasBeenSet = true; m_tagList.push_back(value); return *this; }
342 
347  inline WorkflowExecutionStartedEventAttributes& AddTagList(Aws::String&& value) { m_tagListHasBeenSet = true; m_tagList.push_back(value); return *this; }
348 
353  inline WorkflowExecutionStartedEventAttributes& AddTagList(const char* value) { m_tagListHasBeenSet = true; m_tagList.push_back(value); return *this; }
354 
355 
356  inline const Aws::String& GetTaskPriority() const{ return m_taskPriority; }
357 
358 
359  inline void SetTaskPriority(const Aws::String& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = value; }
360 
361 
362  inline void SetTaskPriority(Aws::String&& value) { m_taskPriorityHasBeenSet = true; m_taskPriority = value; }
363 
364 
365  inline void SetTaskPriority(const char* value) { m_taskPriorityHasBeenSet = true; m_taskPriority.assign(value); }
366 
367 
368  inline WorkflowExecutionStartedEventAttributes& WithTaskPriority(const Aws::String& value) { SetTaskPriority(value); return *this;}
369 
370 
371  inline WorkflowExecutionStartedEventAttributes& WithTaskPriority(Aws::String&& value) { SetTaskPriority(value); return *this;}
372 
373 
374  inline WorkflowExecutionStartedEventAttributes& WithTaskPriority(const char* value) { SetTaskPriority(value); return *this;}
375 
382  inline const Aws::String& GetContinuedExecutionRunId() const{ return m_continuedExecutionRunId; }
383 
390  inline void SetContinuedExecutionRunId(const Aws::String& value) { m_continuedExecutionRunIdHasBeenSet = true; m_continuedExecutionRunId = value; }
391 
398  inline void SetContinuedExecutionRunId(Aws::String&& value) { m_continuedExecutionRunIdHasBeenSet = true; m_continuedExecutionRunId = value; }
399 
406  inline void SetContinuedExecutionRunId(const char* value) { m_continuedExecutionRunIdHasBeenSet = true; m_continuedExecutionRunId.assign(value); }
407 
414  inline WorkflowExecutionStartedEventAttributes& WithContinuedExecutionRunId(const Aws::String& value) { SetContinuedExecutionRunId(value); return *this;}
415 
422  inline WorkflowExecutionStartedEventAttributes& WithContinuedExecutionRunId(Aws::String&& value) { SetContinuedExecutionRunId(value); return *this;}
423 
430  inline WorkflowExecutionStartedEventAttributes& WithContinuedExecutionRunId(const char* value) { SetContinuedExecutionRunId(value); return *this;}
431 
436  inline const WorkflowExecution& GetParentWorkflowExecution() const{ return m_parentWorkflowExecution; }
437 
442  inline void SetParentWorkflowExecution(const WorkflowExecution& value) { m_parentWorkflowExecutionHasBeenSet = true; m_parentWorkflowExecution = value; }
443 
448  inline void SetParentWorkflowExecution(WorkflowExecution&& value) { m_parentWorkflowExecutionHasBeenSet = true; m_parentWorkflowExecution = value; }
449 
454  inline WorkflowExecutionStartedEventAttributes& WithParentWorkflowExecution(const WorkflowExecution& value) { SetParentWorkflowExecution(value); return *this;}
455 
460  inline WorkflowExecutionStartedEventAttributes& WithParentWorkflowExecution(WorkflowExecution&& value) { SetParentWorkflowExecution(value); return *this;}
461 
470  inline long long GetParentInitiatedEventId() const{ return m_parentInitiatedEventId; }
471 
480  inline void SetParentInitiatedEventId(long long value) { m_parentInitiatedEventIdHasBeenSet = true; m_parentInitiatedEventId = value; }
481 
490  inline WorkflowExecutionStartedEventAttributes& WithParentInitiatedEventId(long long value) { SetParentInitiatedEventId(value); return *this;}
491 
496  inline const Aws::String& GetLambdaRole() const{ return m_lambdaRole; }
497 
502  inline void SetLambdaRole(const Aws::String& value) { m_lambdaRoleHasBeenSet = true; m_lambdaRole = value; }
503 
508  inline void SetLambdaRole(Aws::String&& value) { m_lambdaRoleHasBeenSet = true; m_lambdaRole = value; }
509 
514  inline void SetLambdaRole(const char* value) { m_lambdaRoleHasBeenSet = true; m_lambdaRole.assign(value); }
515 
520  inline WorkflowExecutionStartedEventAttributes& WithLambdaRole(const Aws::String& value) { SetLambdaRole(value); return *this;}
521 
526  inline WorkflowExecutionStartedEventAttributes& WithLambdaRole(Aws::String&& value) { SetLambdaRole(value); return *this;}
527 
532  inline WorkflowExecutionStartedEventAttributes& WithLambdaRole(const char* value) { SetLambdaRole(value); return *this;}
533 
534  private:
535  Aws::String m_input;
536  bool m_inputHasBeenSet;
537  Aws::String m_executionStartToCloseTimeout;
538  bool m_executionStartToCloseTimeoutHasBeenSet;
539  Aws::String m_taskStartToCloseTimeout;
540  bool m_taskStartToCloseTimeoutHasBeenSet;
541  ChildPolicy m_childPolicy;
542  bool m_childPolicyHasBeenSet;
543  TaskList m_taskList;
544  bool m_taskListHasBeenSet;
545  WorkflowType m_workflowType;
546  bool m_workflowTypeHasBeenSet;
547  Aws::Vector<Aws::String> m_tagList;
548  bool m_tagListHasBeenSet;
549  Aws::String m_taskPriority;
550  bool m_taskPriorityHasBeenSet;
551  Aws::String m_continuedExecutionRunId;
552  bool m_continuedExecutionRunIdHasBeenSet;
553  WorkflowExecution m_parentWorkflowExecution;
554  bool m_parentWorkflowExecutionHasBeenSet;
555  long long m_parentInitiatedEventId;
556  bool m_parentInitiatedEventIdHasBeenSet;
557  Aws::String m_lambdaRole;
558  bool m_lambdaRoleHasBeenSet;
559  };
560 
561 } // namespace Model
562 } // namespace SWF
563 } // namespace Aws
WorkflowExecutionStartedEventAttributes & WithChildPolicy(const ChildPolicy &value)
WorkflowExecutionStartedEventAttributes & WithTaskPriority(Aws::String &&value)
#define AWS_SWF_API
Definition: SWF_EXPORTS.h:34
WorkflowExecutionStartedEventAttributes & WithContinuedExecutionRunId(const char *value)
WorkflowExecutionStartedEventAttributes & WithParentWorkflowExecution(const WorkflowExecution &value)
WorkflowExecutionStartedEventAttributes & WithExecutionStartToCloseTimeout(const Aws::String &value)
WorkflowExecutionStartedEventAttributes & WithTagList(const Aws::Vector< Aws::String > &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
WorkflowExecutionStartedEventAttributes & WithParentInitiatedEventId(long long value)
WorkflowExecutionStartedEventAttributes & WithParentWorkflowExecution(WorkflowExecution &&value)
WorkflowExecutionStartedEventAttributes & WithLambdaRole(const char *value)
WorkflowExecutionStartedEventAttributes & AddTagList(const Aws::String &value)
WorkflowExecutionStartedEventAttributes & WithLambdaRole(Aws::String &&value)
WorkflowExecutionStartedEventAttributes & WithTaskStartToCloseTimeout(const Aws::String &value)
WorkflowExecutionStartedEventAttributes & WithTaskStartToCloseTimeout(const char *value)
WorkflowExecutionStartedEventAttributes & WithTagList(Aws::Vector< Aws::String > &&value)
WorkflowExecutionStartedEventAttributes & WithInput(Aws::String &&value)
WorkflowExecutionStartedEventAttributes & WithWorkflowType(const WorkflowType &value)
WorkflowExecutionStartedEventAttributes & WithContinuedExecutionRunId(Aws::String &&value)
WorkflowExecutionStartedEventAttributes & WithTaskList(TaskList &&value)
WorkflowExecutionStartedEventAttributes & WithInput(const Aws::String &value)
WorkflowExecutionStartedEventAttributes & WithTaskPriority(const Aws::String &value)
WorkflowExecutionStartedEventAttributes & WithTaskPriority(const char *value)
WorkflowExecutionStartedEventAttributes & WithContinuedExecutionRunId(const Aws::String &value)
WorkflowExecutionStartedEventAttributes & WithInput(const char *value)
WorkflowExecutionStartedEventAttributes & WithTaskList(const TaskList &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
WorkflowExecutionStartedEventAttributes & WithLambdaRole(const Aws::String &value)
WorkflowExecutionStartedEventAttributes & AddTagList(const char *value)
WorkflowExecutionStartedEventAttributes & WithExecutionStartToCloseTimeout(Aws::String &&value)
WorkflowExecutionStartedEventAttributes & WithChildPolicy(ChildPolicy &&value)
WorkflowExecutionStartedEventAttributes & WithWorkflowType(WorkflowType &&value)
WorkflowExecutionStartedEventAttributes & WithExecutionStartToCloseTimeout(const char *value)
JSON (JavaScript Object Notation).
WorkflowExecutionStartedEventAttributes & AddTagList(Aws::String &&value)
WorkflowExecutionStartedEventAttributes & WithTaskStartToCloseTimeout(Aws::String &&value)