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