7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/ConfigServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/config/model/ResourceCountFilters.h>
11#include <aws/config/model/ResourceCountGroupKey.h>
16namespace ConfigService
32 inline virtual const char*
GetServiceRequestName()
const override {
return "GetAggregateDiscoveredResourceCounts"; }
45 template<
typename ConfigurationAggregatorNameT = Aws::String>
46 void SetConfigurationAggregatorName(ConfigurationAggregatorNameT&& value) { m_configurationAggregatorNameHasBeenSet =
true; m_configurationAggregatorName = std::forward<ConfigurationAggregatorNameT>(value); }
47 template<
typename ConfigurationAggregatorNameT = Aws::String>
58 template<
typename FiltersT = ResourceCountFilters>
59 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
60 template<
typename FiltersT = ResourceCountFilters>
80 inline int GetLimit()
const {
return m_limit; }
82 inline void SetLimit(
int value) { m_limitHasBeenSet =
true; m_limit = value; }
93 template<
typename NextTokenT = Aws::String>
94 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
95 template<
typename NextTokenT = Aws::String>
101 bool m_configurationAggregatorNameHasBeenSet =
false;
104 bool m_filtersHasBeenSet =
false;
107 bool m_groupByKeyHasBeenSet =
false;
110 bool m_limitHasBeenSet =
false;
113 bool m_nextTokenHasBeenSet =
false;
void SetConfigurationAggregatorName(ConfigurationAggregatorNameT &&value)
GetAggregateDiscoveredResourceCountsRequest & WithNextToken(NextTokenT &&value)
GetAggregateDiscoveredResourceCountsRequest & WithFilters(FiltersT &&value)
bool GroupByKeyHasBeenSet() const
void SetGroupByKey(ResourceCountGroupKey value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetConfigurationAggregatorName() const
GetAggregateDiscoveredResourceCountsRequest & WithConfigurationAggregatorName(ConfigurationAggregatorNameT &&value)
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
const ResourceCountFilters & GetFilters() const
const Aws::String & GetNextToken() const
bool LimitHasBeenSet() const
bool NextTokenHasBeenSet() const
void SetNextToken(NextTokenT &&value)
ResourceCountGroupKey GetGroupByKey() const
void SetFilters(FiltersT &&value)
GetAggregateDiscoveredResourceCountsRequest & WithLimit(int value)
bool ConfigurationAggregatorNameHasBeenSet() const
AWS_CONFIGSERVICE_API GetAggregateDiscoveredResourceCountsRequest()=default
bool FiltersHasBeenSet() const
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetAggregateDiscoveredResourceCountsRequest & WithGroupByKey(ResourceCountGroupKey value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String