7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/states/model/ValidationExceptionReason.h>
46 template<
typename MessageT = Aws::String>
47 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
48 template<
typename MessageT = Aws::String>
65 bool m_messageHasBeenSet =
false;
68 bool m_reasonHasBeenSet =
false;
AWS_SFN_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
ValidationException & WithReason(ValidationExceptionReason value)
const Aws::String & GetMessage() const
bool MessageHasBeenSet() const
AWS_SFN_API ValidationException()=default
ValidationExceptionReason GetReason() const
AWS_SFN_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
ValidationException & WithMessage(MessageT &&value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReason(ValidationExceptionReason value)
void SetMessage(MessageT &&value)
bool ReasonHasBeenSet() const
ValidationExceptionReason
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue