7#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
8#include <aws/resource-groups/model/QueryErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ResourceGroups
62 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
70 bool m_errorCodeHasBeenSet =
false;
73 bool m_messageHasBeenSet =
false;
QueryError & WithMessage(const char *value)
bool MessageHasBeenSet() const
bool ErrorCodeHasBeenSet() const
QueryError & WithMessage(const Aws::String &value)
AWS_RESOURCEGROUPS_API QueryError()
AWS_RESOURCEGROUPS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESOURCEGROUPS_API QueryError & operator=(Aws::Utils::Json::JsonView jsonValue)
QueryError & WithMessage(Aws::String &&value)
void SetErrorCode(const QueryErrorCode &value)
const Aws::String & GetMessage() const
AWS_RESOURCEGROUPS_API QueryError(Aws::Utils::Json::JsonView jsonValue)
void SetErrorCode(QueryErrorCode &&value)
const QueryErrorCode & GetErrorCode() const
void SetMessage(Aws::String &&value)
QueryError & WithErrorCode(QueryErrorCode &&value)
void SetMessage(const Aws::String &value)
QueryError & WithErrorCode(const QueryErrorCode &value)
void SetMessage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue