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