AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetAggregateDiscoveredResourceCountsRequest.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16namespace ConfigService
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CONFIGSERVICE_API GetAggregateDiscoveredResourceCountsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "GetAggregateDiscoveredResourceCounts"; }
33
34 AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;
35
36 AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetConfigurationAggregatorName() const { return m_configurationAggregatorName; }
44 inline bool ConfigurationAggregatorNameHasBeenSet() const { return m_configurationAggregatorNameHasBeenSet; }
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>
48 GetAggregateDiscoveredResourceCountsRequest& WithConfigurationAggregatorName(ConfigurationAggregatorNameT&& value) { SetConfigurationAggregatorName(std::forward<ConfigurationAggregatorNameT>(value)); return *this;}
50
52
56 inline const ResourceCountFilters& GetFilters() const { return m_filters; }
57 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
58 template<typename FiltersT = ResourceCountFilters>
59 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
60 template<typename FiltersT = ResourceCountFilters>
61 GetAggregateDiscoveredResourceCountsRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
63
65
68 inline ResourceCountGroupKey GetGroupByKey() const { return m_groupByKey; }
69 inline bool GroupByKeyHasBeenSet() const { return m_groupByKeyHasBeenSet; }
70 inline void SetGroupByKey(ResourceCountGroupKey value) { m_groupByKeyHasBeenSet = true; m_groupByKey = value; }
73
75
80 inline int GetLimit() const { return m_limit; }
81 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
82 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
83 inline GetAggregateDiscoveredResourceCountsRequest& WithLimit(int value) { SetLimit(value); return *this;}
85
87
91 inline const Aws::String& GetNextToken() const { return m_nextToken; }
92 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
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>
96 GetAggregateDiscoveredResourceCountsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
98 private:
99
100 Aws::String m_configurationAggregatorName;
101 bool m_configurationAggregatorNameHasBeenSet = false;
102
103 ResourceCountFilters m_filters;
104 bool m_filtersHasBeenSet = false;
105
107 bool m_groupByKeyHasBeenSet = false;
108
109 int m_limit{0};
110 bool m_limitHasBeenSet = false;
111
112 Aws::String m_nextToken;
113 bool m_nextTokenHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace ConfigService
118} // namespace Aws
GetAggregateDiscoveredResourceCountsRequest & WithNextToken(NextTokenT &&value)
GetAggregateDiscoveredResourceCountsRequest & WithConfigurationAggregatorName(ConfigurationAggregatorNameT &&value)
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
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