AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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 template<typename ReasonT = Aws::String>
61 void SetReason(ReasonT&& value) { m_reasonHasBeenSet = true; m_reason = std::forward<ReasonT>(value); }
62 template<typename ReasonT = Aws::String>
63 FailWorkflowExecutionDecisionAttributes& WithReason(ReasonT&& value) { SetReason(std::forward<ReasonT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDetails() const { return m_details; }
71 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
72 template<typename DetailsT = Aws::String>
73 void SetDetails(DetailsT&& value) { m_detailsHasBeenSet = true; m_details = std::forward<DetailsT>(value); }
74 template<typename DetailsT = Aws::String>
75 FailWorkflowExecutionDecisionAttributes& WithDetails(DetailsT&& value) { SetDetails(std::forward<DetailsT>(value)); return *this;}
77 private:
78
79 Aws::String m_reason;
80 bool m_reasonHasBeenSet = false;
81
82 Aws::String m_details;
83 bool m_detailsHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace SWF
88} // namespace Aws
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
FailWorkflowExecutionDecisionAttributes & WithDetails(DetailsT &&value)
FailWorkflowExecutionDecisionAttributes & WithReason(ReasonT &&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