7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/organizations/model/ConstraintViolationExceptionReason.h>
22namespace Organizations
168 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
186 bool m_messageHasBeenSet =
false;
189 bool m_reasonHasBeenSet =
false;
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMessage() const
ConstraintViolationException & WithMessage(Aws::String &&value)
bool MessageHasBeenSet() const
ConstraintViolationException & WithMessage(const Aws::String &value)
void SetMessage(Aws::String &&value)
void SetReason(ConstraintViolationExceptionReason &&value)
void SetMessage(const char *value)
void SetReason(const ConstraintViolationExceptionReason &value)
ConstraintViolationException & WithReason(ConstraintViolationExceptionReason &&value)
AWS_ORGANIZATIONS_API ConstraintViolationException(Aws::Utils::Json::JsonView jsonValue)
ConstraintViolationException & WithMessage(const char *value)
const ConstraintViolationExceptionReason & GetReason() const
bool ReasonHasBeenSet() const
AWS_ORGANIZATIONS_API ConstraintViolationException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ORGANIZATIONS_API ConstraintViolationException()
ConstraintViolationException & WithReason(const ConstraintViolationExceptionReason &value)
void SetMessage(const Aws::String &value)
ConstraintViolationExceptionReason
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue