7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codeartifact/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;
void SetMessage(const Aws::String &value)
ValidationException & WithMessage(Aws::String &&value)
AWS_CODEARTIFACT_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReason(const ValidationExceptionReason &value)
void SetMessage(Aws::String &&value)
bool MessageHasBeenSet() const
bool ReasonHasBeenSet() const
AWS_CODEARTIFACT_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
ValidationException & WithReason(const ValidationExceptionReason &value)
ValidationException & WithReason(ValidationExceptionReason &&value)
ValidationException & WithMessage(const Aws::String &value)
const ValidationExceptionReason & GetReason() const
ValidationException & WithMessage(const char *value)
const Aws::String & GetMessage() const
void SetReason(ValidationExceptionReason &&value)
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEARTIFACT_API ValidationException()
void SetMessage(const char *value)
ValidationExceptionReason
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue