AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EvaluationFailedEventDetails.h
1
6#pragma once
7#include <aws/states/SFN_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 SFN
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_SFN_API EvaluationFailedEventDetails() = default;
41
42
44
47 inline const Aws::String& GetError() const { return m_error; }
48 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
49 template<typename ErrorT = Aws::String>
50 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
51 template<typename ErrorT = Aws::String>
52 EvaluationFailedEventDetails& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
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) { m_causeHasBeenSet = true; m_cause = std::forward<CauseT>(value); }
63 template<typename CauseT = Aws::String>
64 EvaluationFailedEventDetails& WithCause(CauseT&& value) { SetCause(std::forward<CauseT>(value)); return *this;}
66
68
72 inline const Aws::String& GetLocation() const { return m_location; }
73 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
74 template<typename LocationT = Aws::String>
75 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
76 template<typename LocationT = Aws::String>
77 EvaluationFailedEventDetails& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
79
81
84 inline const Aws::String& GetState() const { return m_state; }
85 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
86 template<typename StateT = Aws::String>
87 void SetState(StateT&& value) { m_stateHasBeenSet = true; m_state = std::forward<StateT>(value); }
88 template<typename StateT = Aws::String>
89 EvaluationFailedEventDetails& WithState(StateT&& value) { SetState(std::forward<StateT>(value)); return *this;}
91 private:
92
93 Aws::String m_error;
94 bool m_errorHasBeenSet = false;
95
96 Aws::String m_cause;
97 bool m_causeHasBeenSet = false;
98
99 Aws::String m_location;
100 bool m_locationHasBeenSet = false;
101
102 Aws::String m_state;
103 bool m_stateHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace SFN
108} // 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