7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
9#include <aws/resource-groups/model/QueryType.h>
20namespace ResourceGroups {
73 m_typeHasBeenSet =
true;
136 template <
typename QueryT = Aws::String>
138 m_queryHasBeenSet =
true;
139 m_query = std::forward<QueryT>(value);
141 template <
typename QueryT = Aws::String>
143 SetQuery(std::forward<QueryT>(value));
151 bool m_typeHasBeenSet =
false;
152 bool m_queryHasBeenSet =
false;
AWS_RESOURCEGROUPS_API ResourceQuery()=default
ResourceQuery & WithType(QueryType value)
AWS_RESOURCEGROUPS_API ResourceQuery(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
const Aws::String & GetQuery() const
AWS_RESOURCEGROUPS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetQuery(QueryT &&value)
void SetType(QueryType value)
bool QueryHasBeenSet() const
ResourceQuery & WithQuery(QueryT &&value)
AWS_RESOURCEGROUPS_API ResourceQuery & operator=(Aws::Utils::Json::JsonView jsonValue)
QueryType GetType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue