AWS SDK for C++  0.14.3
AWS SDK for C++
ChildWorkflowExecutionTimedOutEventAttributes.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>
20 
21 namespace Aws
22 {
23 namespace Utils
24 {
25 namespace Json
26 {
27  class JsonValue;
28 } // namespace Json
29 } // namespace Utils
30 namespace SWF
31 {
32 namespace Model
33 {
34 
40  {
41  public:
45  Aws::Utils::Json::JsonValue Jsonize() const;
46 
50  inline const WorkflowExecution& GetWorkflowExecution() const{ return m_workflowExecution; }
51 
55  inline void SetWorkflowExecution(const WorkflowExecution& value) { m_workflowExecutionHasBeenSet = true; m_workflowExecution = value; }
56 
60  inline void SetWorkflowExecution(WorkflowExecution&& value) { m_workflowExecutionHasBeenSet = true; m_workflowExecution = value; }
61 
65  inline ChildWorkflowExecutionTimedOutEventAttributes& WithWorkflowExecution(const WorkflowExecution& value) { SetWorkflowExecution(value); return *this;}
66 
70  inline ChildWorkflowExecutionTimedOutEventAttributes& WithWorkflowExecution(WorkflowExecution&& value) { SetWorkflowExecution(value); return *this;}
71 
75  inline const WorkflowType& GetWorkflowType() const{ return m_workflowType; }
76 
80  inline void SetWorkflowType(const WorkflowType& value) { m_workflowTypeHasBeenSet = true; m_workflowType = value; }
81 
85  inline void SetWorkflowType(WorkflowType&& value) { m_workflowTypeHasBeenSet = true; m_workflowType = value; }
86 
90  inline ChildWorkflowExecutionTimedOutEventAttributes& WithWorkflowType(const WorkflowType& value) { SetWorkflowType(value); return *this;}
91 
95  inline ChildWorkflowExecutionTimedOutEventAttributes& WithWorkflowType(WorkflowType&& value) { SetWorkflowType(value); return *this;}
96 
101  inline const WorkflowExecutionTimeoutType& GetTimeoutType() const{ return m_timeoutType; }
102 
107  inline void SetTimeoutType(const WorkflowExecutionTimeoutType& value) { m_timeoutTypeHasBeenSet = true; m_timeoutType = value; }
108 
113  inline void SetTimeoutType(WorkflowExecutionTimeoutType&& value) { m_timeoutTypeHasBeenSet = true; m_timeoutType = value; }
114 
119  inline ChildWorkflowExecutionTimedOutEventAttributes& WithTimeoutType(const WorkflowExecutionTimeoutType& value) { SetTimeoutType(value); return *this;}
120 
125  inline ChildWorkflowExecutionTimedOutEventAttributes& WithTimeoutType(WorkflowExecutionTimeoutType&& value) { SetTimeoutType(value); return *this;}
126 
133  inline long long GetInitiatedEventId() const{ return m_initiatedEventId; }
134 
141  inline void SetInitiatedEventId(long long value) { m_initiatedEventIdHasBeenSet = true; m_initiatedEventId = value; }
142 
149  inline ChildWorkflowExecutionTimedOutEventAttributes& WithInitiatedEventId(long long value) { SetInitiatedEventId(value); return *this;}
150 
157  inline long long GetStartedEventId() const{ return m_startedEventId; }
158 
165  inline void SetStartedEventId(long long value) { m_startedEventIdHasBeenSet = true; m_startedEventId = value; }
166 
173  inline ChildWorkflowExecutionTimedOutEventAttributes& WithStartedEventId(long long value) { SetStartedEventId(value); return *this;}
174 
175  private:
176  WorkflowExecution m_workflowExecution;
177  bool m_workflowExecutionHasBeenSet;
178  WorkflowType m_workflowType;
179  bool m_workflowTypeHasBeenSet;
180  WorkflowExecutionTimeoutType m_timeoutType;
181  bool m_timeoutTypeHasBeenSet;
182  long long m_initiatedEventId;
183  bool m_initiatedEventIdHasBeenSet;
184  long long m_startedEventId;
185  bool m_startedEventIdHasBeenSet;
186  };
187 
188 } // namespace Model
189 } // namespace SWF
190 } // namespace Aws
#define AWS_SWF_API
Definition: SWF_EXPORTS.h:37
ChildWorkflowExecutionTimedOutEventAttributes & WithWorkflowExecution(const WorkflowExecution &value)
ChildWorkflowExecutionTimedOutEventAttributes & WithWorkflowExecution(WorkflowExecution &&value)
ChildWorkflowExecutionTimedOutEventAttributes & WithStartedEventId(long long value)
ChildWorkflowExecutionTimedOutEventAttributes & WithInitiatedEventId(long long value)
ChildWorkflowExecutionTimedOutEventAttributes & WithTimeoutType(WorkflowExecutionTimeoutType &&value)
ChildWorkflowExecutionTimedOutEventAttributes & WithWorkflowType(const WorkflowType &value)
ChildWorkflowExecutionTimedOutEventAttributes & WithTimeoutType(const WorkflowExecutionTimeoutType &value)
ChildWorkflowExecutionTimedOutEventAttributes & WithWorkflowType(WorkflowType &&value)
JSON (JavaScript Object Notation).