7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
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>
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>
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>
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>
94 bool m_errorHasBeenSet =
false;
97 bool m_causeHasBeenSet =
false;
100 bool m_locationHasBeenSet =
false;
103 bool m_stateHasBeenSet =
false;
AWS_SFN_API EvaluationFailedEventDetails(Aws::Utils::Json::JsonView jsonValue)
void SetState(StateT &&value)
const Aws::String & GetState() const
void SetLocation(LocationT &&value)
AWS_SFN_API EvaluationFailedEventDetails()=default
EvaluationFailedEventDetails & WithLocation(LocationT &&value)
bool LocationHasBeenSet() const
EvaluationFailedEventDetails & WithState(StateT &&value)
const Aws::String & GetCause() const
bool ErrorHasBeenSet() const
const Aws::String & GetError() const
void SetCause(CauseT &&value)
bool StateHasBeenSet() const
bool CauseHasBeenSet() const
EvaluationFailedEventDetails & WithError(ErrorT &&value)
AWS_SFN_API EvaluationFailedEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetError(ErrorT &&value)
const Aws::String & GetLocation() const
EvaluationFailedEventDetails & WithCause(CauseT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue