7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetError(
const char* value) { m_errorHasBeenSet =
true; m_error.assign(value); }
63 inline void SetCause(
const char* value) { m_causeHasBeenSet =
true; m_cause.assign(value); }
71 bool m_errorHasBeenSet =
false;
74 bool m_causeHasBeenSet =
false;
ActivityFailedEventDetails & WithError(Aws::String &&value)
bool ErrorHasBeenSet() const
AWS_SFN_API ActivityFailedEventDetails()
void SetCause(const char *value)
AWS_SFN_API ActivityFailedEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
bool CauseHasBeenSet() const
const Aws::String & GetCause() const
void SetError(Aws::String &&value)
void SetError(const Aws::String &value)
void SetCause(const Aws::String &value)
const Aws::String & GetError() const
ActivityFailedEventDetails & WithCause(const char *value)
void SetError(const char *value)
ActivityFailedEventDetails & WithCause(Aws::String &&value)
void SetCause(Aws::String &&value)
ActivityFailedEventDetails & WithError(const Aws::String &value)
ActivityFailedEventDetails & WithCause(const Aws::String &value)
ActivityFailedEventDetails & WithError(const char *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