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