7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename ErrorT = Aws::String>
48 void SetError(ErrorT&& value) { m_errorHasBeenSet =
true; m_error = std::forward<ErrorT>(value); }
49 template<
typename ErrorT = Aws::String>
59 template<
typename CauseT = Aws::String>
60 void SetCause(CauseT&& value) { m_causeHasBeenSet =
true; m_cause = std::forward<CauseT>(value); }
61 template<
typename CauseT = Aws::String>
67 bool m_errorHasBeenSet =
false;
70 bool m_causeHasBeenSet =
false;
bool ErrorHasBeenSet() const
AWS_SFN_API ActivityFailedEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ActivityFailedEventDetails & WithError(ErrorT &&value)
void SetCause(CauseT &&value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
bool CauseHasBeenSet() const
const Aws::String & GetCause() const
AWS_SFN_API ActivityFailedEventDetails()=default
const Aws::String & GetError() const
ActivityFailedEventDetails & WithCause(CauseT &&value)
void SetError(ErrorT &&value)
AWS_SFN_API ActivityFailedEventDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue