7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetCode(
const char* value) { m_codeHasBeenSet =
true; m_code.assign(value); }
59 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
67 bool m_codeHasBeenSet =
false;
70 bool m_messageHasBeenSet =
false;
const Aws::String & GetMessage() const
void SetMessage(const char *value)
AccessDeniedException & WithMessage(const char *value)
AccessDeniedException & WithCode(const char *value)
AccessDeniedException & WithCode(const Aws::String &value)
AWS_DRS_API AccessDeniedException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DRS_API AccessDeniedException()
void SetCode(const char *value)
void SetMessage(Aws::String &&value)
AccessDeniedException & WithMessage(const Aws::String &value)
bool MessageHasBeenSet() const
void SetCode(Aws::String &&value)
void SetCode(const Aws::String &value)
const Aws::String & GetCode() const
AccessDeniedException & WithMessage(Aws::String &&value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(const Aws::String &value)
AWS_DRS_API AccessDeniedException(Aws::Utils::Json::JsonView jsonValue)
bool CodeHasBeenSet() const
AccessDeniedException & WithCode(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue