7#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/neptune-graph/model/UnprocessableExceptionReason.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>
64 bool m_messageHasBeenSet =
false;
67 bool m_reasonHasBeenSet =
false;
UnprocessableException & WithMessage(MessageT &&value)
bool ReasonHasBeenSet() const
void SetMessage(MessageT &&value)
AWS_NEPTUNEGRAPH_API UnprocessableException(Aws::Utils::Json::JsonView jsonValue)
AWS_NEPTUNEGRAPH_API UnprocessableException()=default
const Aws::String & GetMessage() const
void SetReason(UnprocessableExceptionReason value)
AWS_NEPTUNEGRAPH_API UnprocessableException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
UnprocessableException & WithReason(UnprocessableExceptionReason value)
AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
UnprocessableExceptionReason GetReason() const
UnprocessableExceptionReason
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue