AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FailWorkflowExecutionDecisionAttributes.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SWF
22{
23namespace Model
24{
25
46 {
47 public:
52
53
55
58 inline const Aws::String& GetReason() const{ return m_reason; }
59 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
60 inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
61 inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
62 inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
63 inline FailWorkflowExecutionDecisionAttributes& WithReason(const Aws::String& value) { SetReason(value); return *this;}
64 inline FailWorkflowExecutionDecisionAttributes& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
65 inline FailWorkflowExecutionDecisionAttributes& WithReason(const char* value) { SetReason(value); return *this;}
67
69
72 inline const Aws::String& GetDetails() const{ return m_details; }
73 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
74 inline void SetDetails(const Aws::String& value) { m_detailsHasBeenSet = true; m_details = value; }
75 inline void SetDetails(Aws::String&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); }
76 inline void SetDetails(const char* value) { m_detailsHasBeenSet = true; m_details.assign(value); }
77 inline FailWorkflowExecutionDecisionAttributes& WithDetails(const Aws::String& value) { SetDetails(value); return *this;}
78 inline FailWorkflowExecutionDecisionAttributes& WithDetails(Aws::String&& value) { SetDetails(std::move(value)); return *this;}
79 inline FailWorkflowExecutionDecisionAttributes& WithDetails(const char* value) { SetDetails(value); return *this;}
81 private:
82
83 Aws::String m_reason;
84 bool m_reasonHasBeenSet = false;
85
86 Aws::String m_details;
87 bool m_detailsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace SWF
92} // namespace Aws
FailWorkflowExecutionDecisionAttributes & WithDetails(const char *value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
FailWorkflowExecutionDecisionAttributes & WithReason(Aws::String &&value)
FailWorkflowExecutionDecisionAttributes & WithReason(const Aws::String &value)
FailWorkflowExecutionDecisionAttributes & WithDetails(Aws::String &&value)
FailWorkflowExecutionDecisionAttributes & WithDetails(const Aws::String &value)
FailWorkflowExecutionDecisionAttributes & WithReason(const char *value)
AWS_SWF_API FailWorkflowExecutionDecisionAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_SWF_API FailWorkflowExecutionDecisionAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue