7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/model/ErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
46 inline void SetCode(
const ErrorCode& value) { m_codeHasBeenSet =
true; m_code = value; }
47 inline void SetCode(
ErrorCode&& value) { m_codeHasBeenSet =
true; m_code = std::move(value); }
58 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
66 bool m_codeHasBeenSet =
false;
69 bool m_messageHasBeenSet =
false;
void SetMessage(const char *value)
UnauthorizedClientException & WithMessage(Aws::String &&value)
void SetMessage(const Aws::String &value)
const Aws::String & GetMessage() const
void SetCode(ErrorCode &&value)
AWS_CHIME_API UnauthorizedClientException()
UnauthorizedClientException & WithCode(const ErrorCode &value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool MessageHasBeenSet() const
AWS_CHIME_API UnauthorizedClientException(Aws::Utils::Json::JsonView jsonValue)
UnauthorizedClientException & WithCode(ErrorCode &&value)
void SetMessage(Aws::String &&value)
AWS_CHIME_API UnauthorizedClientException & operator=(Aws::Utils::Json::JsonView jsonValue)
UnauthorizedClientException & WithMessage(const Aws::String &value)
bool CodeHasBeenSet() const
UnauthorizedClientException & WithMessage(const char *value)
const ErrorCode & GetCode() const
void SetCode(const ErrorCode &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue