7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
43 inline void SetCode(
const char* value) { m_codeHasBeenSet =
true; m_code.assign(value); }
57 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
65 bool m_codeHasBeenSet =
false;
68 bool m_messageHasBeenSet =
false;
ForbiddenException & WithMessage(const char *value)
void SetCode(const char *value)
ForbiddenException & WithCode(const Aws::String &value)
void SetCode(const Aws::String &value)
AWS_SCHEMAS_API ForbiddenException()
AWS_SCHEMAS_API ForbiddenException(Aws::Utils::Json::JsonView jsonValue)
AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCode() const
ForbiddenException & WithMessage(const Aws::String &value)
void SetMessage(const char *value)
void SetCode(Aws::String &&value)
ForbiddenException & WithCode(const char *value)
const Aws::String & GetMessage() const
void SetMessage(const Aws::String &value)
AWS_SCHEMAS_API ForbiddenException & operator=(Aws::Utils::Json::JsonView jsonValue)
ForbiddenException & WithMessage(Aws::String &&value)
bool CodeHasBeenSet() const
bool MessageHasBeenSet() const
ForbiddenException & WithCode(Aws::String &&value)
void SetMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue