7#include <aws/codeguru-security/CodeGuruSecurity_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CodeGuruSecurity
49 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
63 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
77 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
91 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
99 bool m_errorCodeHasBeenSet =
false;
102 bool m_messageHasBeenSet =
false;
105 bool m_resourceIdHasBeenSet =
false;
108 bool m_resourceTypeHasBeenSet =
false;
AccessDeniedException & WithResourceId(Aws::String &&value)
AccessDeniedException & WithResourceType(const char *value)
bool ErrorCodeHasBeenSet() const
const Aws::String & GetMessage() const
void SetResourceType(Aws::String &&value)
const Aws::String & GetResourceId() const
void SetResourceId(const char *value)
AccessDeniedException & WithResourceId(const Aws::String &value)
AccessDeniedException & WithMessage(const Aws::String &value)
AccessDeniedException & WithMessage(Aws::String &&value)
AccessDeniedException & WithErrorCode(const char *value)
AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const
AccessDeniedException & WithMessage(const char *value)
void SetMessage(const char *value)
void SetResourceId(Aws::String &&value)
AccessDeniedException & WithResourceId(const char *value)
bool ResourceIdHasBeenSet() const
void SetErrorCode(const Aws::String &value)
AccessDeniedException & WithResourceType(Aws::String &&value)
void SetErrorCode(Aws::String &&value)
void SetMessage(const Aws::String &value)
void SetResourceType(const char *value)
void SetResourceId(const Aws::String &value)
bool ResourceTypeHasBeenSet() const
AWS_CODEGURUSECURITY_API AccessDeniedException(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
AccessDeniedException & WithResourceType(const Aws::String &value)
void SetErrorCode(const char *value)
const Aws::String & GetResourceType() const
AWS_CODEGURUSECURITY_API AccessDeniedException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(Aws::String &&value)
AWS_CODEGURUSECURITY_API AccessDeniedException()
const Aws::String & GetErrorCode() const
AccessDeniedException & WithErrorCode(const Aws::String &value)
AccessDeniedException & WithErrorCode(Aws::String &&value)
void SetResourceType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue