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