7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector/model/AccessDeniedErrorCode.h>
50 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
74 inline void SetCanRetry(
bool value) { m_canRetryHasBeenSet =
true; m_canRetry = value; }
80 bool m_messageHasBeenSet =
false;
83 bool m_errorCodeHasBeenSet =
false;
86 bool m_canRetryHasBeenSet =
false;
AccessDeniedException & WithMessage(Aws::String &&value)
AccessDeniedException & WithErrorCode(AccessDeniedErrorCode &&value)
bool CanRetryHasBeenSet() const
bool MessageHasBeenSet() const
void SetMessage(Aws::String &&value)
AccessDeniedException & WithMessage(const char *value)
AccessDeniedException & WithMessage(const Aws::String &value)
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
AccessDeniedException & WithCanRetry(bool value)
const Aws::String & GetMessage() const
AWS_INSPECTOR_API AccessDeniedException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorCode(const AccessDeniedErrorCode &value)
bool ErrorCodeHasBeenSet() const
void SetMessage(const char *value)
const AccessDeniedErrorCode & GetErrorCode() const
void SetMessage(const Aws::String &value)
void SetCanRetry(bool value)
AWS_INSPECTOR_API AccessDeniedException(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR_API AccessDeniedException()
AccessDeniedException & WithErrorCode(const AccessDeniedErrorCode &value)
void SetErrorCode(AccessDeniedErrorCode &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue