7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/detective/model/ErrorCode.h>
48 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
74 inline void SetErrorCodeReason(
const char* value) { m_errorCodeReasonHasBeenSet =
true; m_errorCodeReason.assign(value); }
100 inline void SetSubErrorCodeReason(
const char* value) { m_subErrorCodeReasonHasBeenSet =
true; m_subErrorCodeReason.assign(value); }
108 bool m_messageHasBeenSet =
false;
111 bool m_errorCodeHasBeenSet =
false;
114 bool m_errorCodeReasonHasBeenSet =
false;
117 bool m_subErrorCodeHasBeenSet =
false;
120 bool m_subErrorCodeReasonHasBeenSet =
false;
AccessDeniedException & WithErrorCode(const ErrorCode &value)
void SetSubErrorCodeReason(Aws::String &&value)
AccessDeniedException & WithErrorCode(ErrorCode &&value)
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSubErrorCodeReason(const Aws::String &value)
void SetMessage(const char *value)
void SetErrorCode(ErrorCode &&value)
AccessDeniedException & WithErrorCodeReason(const Aws::String &value)
void SetErrorCode(const ErrorCode &value)
void SetErrorCodeReason(const char *value)
AccessDeniedException & WithMessage(const Aws::String &value)
const ErrorCode & GetErrorCode() const
AccessDeniedException & WithSubErrorCode(ErrorCode &&value)
AccessDeniedException & WithSubErrorCodeReason(Aws::String &&value)
bool ErrorCodeHasBeenSet() const
void SetMessage(const Aws::String &value)
AccessDeniedException & WithSubErrorCode(const ErrorCode &value)
AccessDeniedException & WithSubErrorCodeReason(const Aws::String &value)
const Aws::String & GetMessage() const
void SetSubErrorCode(const ErrorCode &value)
bool SubErrorCodeHasBeenSet() const
const Aws::String & GetErrorCodeReason() const
AWS_DETECTIVE_API AccessDeniedException()
AWS_DETECTIVE_API AccessDeniedException(Aws::Utils::Json::JsonView jsonValue)
AccessDeniedException & WithMessage(Aws::String &&value)
void SetMessage(Aws::String &&value)
void SetErrorCodeReason(Aws::String &&value)
void SetErrorCodeReason(const Aws::String &value)
const Aws::String & GetSubErrorCodeReason() const
bool ErrorCodeReasonHasBeenSet() const
AWS_DETECTIVE_API AccessDeniedException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
AccessDeniedException & WithErrorCodeReason(const char *value)
const ErrorCode & GetSubErrorCode() const
AccessDeniedException & WithSubErrorCodeReason(const char *value)
void SetSubErrorCode(ErrorCode &&value)
void SetSubErrorCodeReason(const char *value)
bool SubErrorCodeReasonHasBeenSet() const
AccessDeniedException & WithErrorCodeReason(Aws::String &&value)
AccessDeniedException & WithMessage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue