AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkflowExecutionTerminatedEventAttributes.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/swf/model/ChildPolicy.h>
10#include <aws/swf/model/WorkflowExecutionTerminatedCause.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SWF
24{
25namespace Model
26{
27
35 {
36 public:
41
42
44
47 inline const Aws::String& GetReason() const{ return m_reason; }
48 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
49 inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
50 inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
51 inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
52 inline WorkflowExecutionTerminatedEventAttributes& WithReason(const Aws::String& value) { SetReason(value); return *this;}
53 inline WorkflowExecutionTerminatedEventAttributes& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
54 inline WorkflowExecutionTerminatedEventAttributes& WithReason(const char* value) { SetReason(value); return *this;}
56
58
61 inline const Aws::String& GetDetails() const{ return m_details; }
62 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
63 inline void SetDetails(const Aws::String& value) { m_detailsHasBeenSet = true; m_details = value; }
64 inline void SetDetails(Aws::String&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); }
65 inline void SetDetails(const char* value) { m_detailsHasBeenSet = true; m_details.assign(value); }
67 inline WorkflowExecutionTerminatedEventAttributes& WithDetails(Aws::String&& value) { SetDetails(std::move(value)); return *this;}
68 inline WorkflowExecutionTerminatedEventAttributes& WithDetails(const char* value) { SetDetails(value); return *this;}
70
72
83 inline const ChildPolicy& GetChildPolicy() const{ return m_childPolicy; }
84 inline bool ChildPolicyHasBeenSet() const { return m_childPolicyHasBeenSet; }
85 inline void SetChildPolicy(const ChildPolicy& value) { m_childPolicyHasBeenSet = true; m_childPolicy = value; }
86 inline void SetChildPolicy(ChildPolicy&& value) { m_childPolicyHasBeenSet = true; m_childPolicy = std::move(value); }
88 inline WorkflowExecutionTerminatedEventAttributes& WithChildPolicy(ChildPolicy&& value) { SetChildPolicy(std::move(value)); return *this;}
90
92
97 inline const WorkflowExecutionTerminatedCause& GetCause() const{ return m_cause; }
98 inline bool CauseHasBeenSet() const { return m_causeHasBeenSet; }
99 inline void SetCause(const WorkflowExecutionTerminatedCause& value) { m_causeHasBeenSet = true; m_cause = value; }
100 inline void SetCause(WorkflowExecutionTerminatedCause&& value) { m_causeHasBeenSet = true; m_cause = std::move(value); }
104 private:
105
106 Aws::String m_reason;
107 bool m_reasonHasBeenSet = false;
108
109 Aws::String m_details;
110 bool m_detailsHasBeenSet = false;
111
112 ChildPolicy m_childPolicy;
113 bool m_childPolicyHasBeenSet = false;
114
116 bool m_causeHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace SWF
121} // namespace Aws
WorkflowExecutionTerminatedEventAttributes & WithDetails(Aws::String &&value)
WorkflowExecutionTerminatedEventAttributes & WithDetails(const Aws::String &value)
WorkflowExecutionTerminatedEventAttributes & WithCause(const WorkflowExecutionTerminatedCause &value)
WorkflowExecutionTerminatedEventAttributes & WithReason(const char *value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
WorkflowExecutionTerminatedEventAttributes & WithChildPolicy(ChildPolicy &&value)
WorkflowExecutionTerminatedEventAttributes & WithDetails(const char *value)
WorkflowExecutionTerminatedEventAttributes & WithReason(Aws::String &&value)
AWS_SWF_API WorkflowExecutionTerminatedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
WorkflowExecutionTerminatedEventAttributes & WithCause(WorkflowExecutionTerminatedCause &&value)
WorkflowExecutionTerminatedEventAttributes & WithReason(const Aws::String &value)
AWS_SWF_API WorkflowExecutionTerminatedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkflowExecutionTerminatedEventAttributes & WithChildPolicy(const ChildPolicy &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue