7#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
8#include <aws/resource-groups/ResourceGroupsRequest.h>
9#include <aws/resource-groups/model/ResourceQuery.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15namespace ResourceGroups
43 template<
typename ResourceQueryT = ResourceQuery>
44 void SetResourceQuery(ResourceQueryT&& value) { m_resourceQueryHasBeenSet =
true; m_resourceQuery = std::forward<ResourceQueryT>(value); }
45 template<
typename ResourceQueryT = ResourceQuery>
63 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
77 template<
typename NextTokenT = Aws::String>
78 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
79 template<
typename NextTokenT = Aws::String>
85 bool m_resourceQueryHasBeenSet =
false;
88 bool m_maxResultsHasBeenSet =
false;
91 bool m_nextTokenHasBeenSet =
false;
bool NextTokenHasBeenSet() const
SearchResourcesRequest & WithMaxResults(int value)
AWS_RESOURCEGROUPS_API SearchResourcesRequest()=default
virtual const char * GetServiceRequestName() const override
SearchResourcesRequest & WithNextToken(NextTokenT &&value)
int GetMaxResults() const
void SetResourceQuery(ResourceQueryT &&value)
const ResourceQuery & GetResourceQuery() const
void SetNextToken(NextTokenT &&value)
void SetMaxResults(int value)
const Aws::String & GetNextToken() const
SearchResourcesRequest & WithResourceQuery(ResourceQueryT &&value)
bool ResourceQueryHasBeenSet() const
AWS_RESOURCEGROUPS_API Aws::String SerializePayload() const override
bool MaxResultsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String