7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetErrorAttribute(
const char* value) { m_errorAttributeHasBeenSet =
true; m_errorAttribute.assign(value); }
62 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
70 bool m_errorAttributeHasBeenSet =
false;
73 bool m_messageHasBeenSet =
false;
void SetMessage(Aws::String &&value)
void SetMessage(const char *value)
AWS_MQ_API UnauthorizedException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetErrorAttribute() const
AWS_MQ_API UnauthorizedException(Aws::Utils::Json::JsonView jsonValue)
UnauthorizedException & WithErrorAttribute(const char *value)
void SetMessage(const Aws::String &value)
UnauthorizedException & WithErrorAttribute(const Aws::String &value)
bool ErrorAttributeHasBeenSet() const
void SetErrorAttribute(Aws::String &&value)
UnauthorizedException & WithMessage(Aws::String &&value)
void SetErrorAttribute(const Aws::String &value)
const Aws::String & GetMessage() const
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
UnauthorizedException & WithMessage(const char *value)
UnauthorizedException & WithMessage(const Aws::String &value)
bool MessageHasBeenSet() const
UnauthorizedException & WithErrorAttribute(Aws::String &&value)
void SetErrorAttribute(const char *value)
AWS_MQ_API UnauthorizedException()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue