7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/states/SFN_EXPORTS.h>
42 template <
typename ErrorT = Aws::String>
44 m_errorHasBeenSet =
true;
45 m_error = std::forward<ErrorT>(value);
47 template <
typename ErrorT = Aws::String>
49 SetError(std::forward<ErrorT>(value));
61 template <
typename CauseT = Aws::String>
63 m_causeHasBeenSet =
true;
64 m_cause = std::forward<CauseT>(value);
66 template <
typename CauseT = Aws::String>
68 SetCause(std::forward<CauseT>(value));
76 bool m_errorHasBeenSet =
false;
77 bool m_causeHasBeenSet =
false;
const Aws::String & GetError() const
MockErrorOutput & WithError(ErrorT &&value)
bool ErrorHasBeenSet() const
bool CauseHasBeenSet() const
const Aws::String & GetCause() const
MockErrorOutput & WithCause(CauseT &&value)
AWS_SFN_API MockErrorOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SFN_API MockErrorOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCause(CauseT &&value)
AWS_SFN_API MockErrorOutput()=default
void SetError(ErrorT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue