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;
void SetError(ErrorT &&value)
LambdaFunctionFailedEventDetails & WithCause(CauseT &&value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SFN_API LambdaFunctionFailedEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ErrorHasBeenSet() const
const Aws::String & GetError() const
bool CauseHasBeenSet() const
const Aws::String & GetCause() const
AWS_SFN_API LambdaFunctionFailedEventDetails(Aws::Utils::Json::JsonView jsonValue)
LambdaFunctionFailedEventDetails & WithError(ErrorT &&value)
void SetCause(CauseT &&value)
AWS_SFN_API LambdaFunctionFailedEventDetails()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue