7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resource-groups/ResourceGroupsRequest.h>
9#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
10#include <aws/resource-groups/model/ResourceQuery.h>
15namespace ResourceGroups {
39 template <
typename ResourceQueryT = ResourceQuery>
41 m_resourceQueryHasBeenSet =
true;
42 m_resourceQuery = std::forward<ResourceQueryT>(value);
44 template <
typename ResourceQueryT = ResourceQuery>
66 m_maxResultsHasBeenSet =
true;
85 template <
typename NextTokenT = Aws::String>
87 m_nextTokenHasBeenSet =
true;
88 m_nextToken = std::forward<NextTokenT>(value);
90 template <
typename NextTokenT = Aws::String>
98 bool m_resourceQueryHasBeenSet =
false;
101 bool m_maxResultsHasBeenSet =
false;
104 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