AWS SDK for C++  1.9.160
AWS SDK for C++
WorkflowExecutionTimedOutEventAttributes.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/swf/SWF_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SWF
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const WorkflowExecutionTimeoutType& GetTimeoutType() const{ return m_timeoutType; }
46 
50  inline bool TimeoutTypeHasBeenSet() const { return m_timeoutTypeHasBeenSet; }
51 
55  inline void SetTimeoutType(const WorkflowExecutionTimeoutType& value) { m_timeoutTypeHasBeenSet = true; m_timeoutType = value; }
56 
60  inline void SetTimeoutType(WorkflowExecutionTimeoutType&& value) { m_timeoutTypeHasBeenSet = true; m_timeoutType = std::move(value); }
61 
65  inline WorkflowExecutionTimedOutEventAttributes& WithTimeoutType(const WorkflowExecutionTimeoutType& value) { SetTimeoutType(value); return *this;}
66 
70  inline WorkflowExecutionTimedOutEventAttributes& WithTimeoutType(WorkflowExecutionTimeoutType&& value) { SetTimeoutType(std::move(value)); return *this;}
71 
72 
84  inline const ChildPolicy& GetChildPolicy() const{ return m_childPolicy; }
85 
97  inline bool ChildPolicyHasBeenSet() const { return m_childPolicyHasBeenSet; }
98 
110  inline void SetChildPolicy(const ChildPolicy& value) { m_childPolicyHasBeenSet = true; m_childPolicy = value; }
111 
123  inline void SetChildPolicy(ChildPolicy&& value) { m_childPolicyHasBeenSet = true; m_childPolicy = std::move(value); }
124 
136  inline WorkflowExecutionTimedOutEventAttributes& WithChildPolicy(const ChildPolicy& value) { SetChildPolicy(value); return *this;}
137 
149  inline WorkflowExecutionTimedOutEventAttributes& WithChildPolicy(ChildPolicy&& value) { SetChildPolicy(std::move(value)); return *this;}
150 
151  private:
152 
153  WorkflowExecutionTimeoutType m_timeoutType;
154  bool m_timeoutTypeHasBeenSet;
155 
156  ChildPolicy m_childPolicy;
157  bool m_childPolicyHasBeenSet;
158  };
159 
160 } // namespace Model
161 } // namespace SWF
162 } // namespace Aws
Aws::SWF::Model::WorkflowExecutionTimedOutEventAttributes::ChildPolicyHasBeenSet
bool ChildPolicyHasBeenSet() const
Definition: WorkflowExecutionTimedOutEventAttributes.h:97
Aws::SWF::Model::WorkflowExecutionTimedOutEventAttributes::SetTimeoutType
void SetTimeoutType(const WorkflowExecutionTimeoutType &value)
Definition: WorkflowExecutionTimedOutEventAttributes.h:55
Aws::SWF::Model::WorkflowExecutionTimedOutEventAttributes::WithChildPolicy
WorkflowExecutionTimedOutEventAttributes & WithChildPolicy(const ChildPolicy &value)
Definition: WorkflowExecutionTimedOutEventAttributes.h:136
ChildPolicy.h
Aws::SWF::Model::WorkflowExecutionTimedOutEventAttributes::SetChildPolicy
void SetChildPolicy(ChildPolicy &&value)
Definition: WorkflowExecutionTimedOutEventAttributes.h:123
Aws::SWF::Model::WorkflowExecutionTimedOutEventAttributes::SetChildPolicy
void SetChildPolicy(const ChildPolicy &value)
Definition: WorkflowExecutionTimedOutEventAttributes.h:110
Aws::SWF::Model::WorkflowExecutionTimedOutEventAttributes::operator=
WorkflowExecutionTimedOutEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SWF::Model::WorkflowExecutionTimedOutEventAttributes::WithTimeoutType
WorkflowExecutionTimedOutEventAttributes & WithTimeoutType(const WorkflowExecutionTimeoutType &value)
Definition: WorkflowExecutionTimedOutEventAttributes.h:65
Aws::SWF::Model::WorkflowExecutionTimedOutEventAttributes::WorkflowExecutionTimedOutEventAttributes
WorkflowExecutionTimedOutEventAttributes(Aws::Utils::Json::JsonView jsonValue)
Aws::SWF::Model::WorkflowExecutionTimedOutEventAttributes::TimeoutTypeHasBeenSet
bool TimeoutTypeHasBeenSet() const
Definition: WorkflowExecutionTimedOutEventAttributes.h:50
Aws::SWF::Model::ChildPolicy
ChildPolicy
Definition: ChildPolicy.h:17
SWF_EXPORTS.h
Aws::SWF::Model::WorkflowExecutionTimedOutEventAttributes::GetChildPolicy
const ChildPolicy & GetChildPolicy() const
Definition: WorkflowExecutionTimedOutEventAttributes.h:84
Aws::DevOpsGuru::Model::ServiceName::NOT_SET
@ NOT_SET
WorkflowExecutionTimeoutType.h
Aws::SWF::Model::WorkflowExecutionTimedOutEventAttributes::WithTimeoutType
WorkflowExecutionTimedOutEventAttributes & WithTimeoutType(WorkflowExecutionTimeoutType &&value)
Definition: WorkflowExecutionTimedOutEventAttributes.h:70
Aws::SWF::Model::WorkflowExecutionTimedOutEventAttributes::SetTimeoutType
void SetTimeoutType(WorkflowExecutionTimeoutType &&value)
Definition: WorkflowExecutionTimedOutEventAttributes.h:60
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SWF::Model::WorkflowExecutionTimeoutType
WorkflowExecutionTimeoutType
Definition: WorkflowExecutionTimeoutType.h:17
Aws::SWF::Model::WorkflowExecutionTimedOutEventAttributes::WorkflowExecutionTimedOutEventAttributes
WorkflowExecutionTimedOutEventAttributes()
Aws::SWF::Model::WorkflowExecutionTimedOutEventAttributes::WithChildPolicy
WorkflowExecutionTimedOutEventAttributes & WithChildPolicy(ChildPolicy &&value)
Definition: WorkflowExecutionTimedOutEventAttributes.h:149
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
AWS_SWF_API
#define AWS_SWF_API
Definition: SWF_EXPORTS.h:28
Aws::SWF::Model::WorkflowExecutionTimedOutEventAttributes
Definition: WorkflowExecutionTimedOutEventAttributes.h:34
Aws::SWF::Model::WorkflowExecutionTimedOutEventAttributes::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SWF::Model::WorkflowExecutionTimedOutEventAttributes::GetTimeoutType
const WorkflowExecutionTimeoutType & GetTimeoutType() const
Definition: WorkflowExecutionTimedOutEventAttributes.h:45