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>
49 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
69 bool m_messageHasBeenSet =
false;
72 bool m_reasonHasBeenSet =
false;
void SetMessage(const Aws::String &value)
void SetMessage(Aws::String &&value)
const Aws::String & GetMessage() const
ValidationException & WithMessage(const Aws::String &value)
AWS_NEPTUNEGRAPH_API ValidationException()
void SetReason(ValidationExceptionReason &&value)
AWS_NEPTUNEGRAPH_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReason(const ValidationExceptionReason &value)
AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
ValidationException & WithMessage(const char *value)
void SetMessage(const char *value)
const ValidationExceptionReason & GetReason() const
bool MessageHasBeenSet() const
ValidationException & WithReason(const ValidationExceptionReason &value)
AWS_NEPTUNEGRAPH_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
ValidationException & WithReason(ValidationExceptionReason &&value)
ValidationException & WithMessage(Aws::String &&value)
bool ReasonHasBeenSet() const
ValidationExceptionReason
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue