7#include <aws/ebs/EBS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ebs/model/ValidationExceptionReason.h>
48 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
68 bool m_messageHasBeenSet =
false;
71 bool m_reasonHasBeenSet =
false;
AWS_EBS_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EBS_API ValidationException()
ValidationException & WithReason(ValidationExceptionReason &&value)
ValidationException & WithMessage(Aws::String &&value)
ValidationException & WithMessage(const Aws::String &value)
void SetReason(const ValidationExceptionReason &value)
ValidationException & WithReason(const ValidationExceptionReason &value)
AWS_EBS_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
void SetReason(ValidationExceptionReason &&value)
AWS_EBS_API Aws::Utils::Json::JsonValue Jsonize() const
const ValidationExceptionReason & GetReason() const
bool ReasonHasBeenSet() const
void SetMessage(const char *value)
ValidationException & WithMessage(const char *value)
bool MessageHasBeenSet() const
void SetMessage(const Aws::String &value)
const Aws::String & GetMessage() const
void SetMessage(Aws::String &&value)
ValidationExceptionReason
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue