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