AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
EvaluationFailedEventDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/states/SFN_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SFN {
20namespace Model {
21
31 public:
32 AWS_SFN_API EvaluationFailedEventDetails() = default;
36
38
41 inline const Aws::String& GetError() const { return m_error; }
42 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
43 template <typename ErrorT = Aws::String>
44 void SetError(ErrorT&& value) {
45 m_errorHasBeenSet = true;
46 m_error = std::forward<ErrorT>(value);
47 }
48 template <typename ErrorT = Aws::String>
50 SetError(std::forward<ErrorT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetCause() const { return m_cause; }
60 inline bool CauseHasBeenSet() const { return m_causeHasBeenSet; }
61 template <typename CauseT = Aws::String>
62 void SetCause(CauseT&& value) {
63 m_causeHasBeenSet = true;
64 m_cause = std::forward<CauseT>(value);
65 }
66 template <typename CauseT = Aws::String>
68 SetCause(std::forward<CauseT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetLocation() const { return m_location; }
79 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
80 template <typename LocationT = Aws::String>
81 void SetLocation(LocationT&& value) {
82 m_locationHasBeenSet = true;
83 m_location = std::forward<LocationT>(value);
84 }
85 template <typename LocationT = Aws::String>
87 SetLocation(std::forward<LocationT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetState() const { return m_state; }
97 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
98 template <typename StateT = Aws::String>
99 void SetState(StateT&& value) {
100 m_stateHasBeenSet = true;
101 m_state = std::forward<StateT>(value);
102 }
103 template <typename StateT = Aws::String>
105 SetState(std::forward<StateT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_error;
111
112 Aws::String m_cause;
113
114 Aws::String m_location;
115
116 Aws::String m_state;
117 bool m_errorHasBeenSet = false;
118 bool m_causeHasBeenSet = false;
119 bool m_locationHasBeenSet = false;
120 bool m_stateHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace SFN
125} // namespace Aws
AWS_SFN_API EvaluationFailedEventDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SFN_API EvaluationFailedEventDetails()=default
EvaluationFailedEventDetails & WithLocation(LocationT &&value)
EvaluationFailedEventDetails & WithState(StateT &&value)
EvaluationFailedEventDetails & WithError(ErrorT &&value)
AWS_SFN_API EvaluationFailedEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
EvaluationFailedEventDetails & WithCause(CauseT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue