AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetConfigurationAggregatorName(const Aws::String& value) { m_configurationAggregatorNameHasBeenSet = true; m_configurationAggregatorName = value; }
46 inline void SetConfigurationAggregatorName(Aws::String&& value) { m_configurationAggregatorNameHasBeenSet = true; m_configurationAggregatorName = std::move(value); }
47 inline void SetConfigurationAggregatorName(const char* value) { m_configurationAggregatorNameHasBeenSet = true; m_configurationAggregatorName.assign(value); }
52
54
58 inline const ResourceCountFilters& GetFilters() const{ return m_filters; }
59 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
60 inline void SetFilters(const ResourceCountFilters& value) { m_filtersHasBeenSet = true; m_filters = value; }
61 inline void SetFilters(ResourceCountFilters&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
65
67
70 inline const ResourceCountGroupKey& GetGroupByKey() const{ return m_groupByKey; }
71 inline bool GroupByKeyHasBeenSet() const { return m_groupByKeyHasBeenSet; }
72 inline void SetGroupByKey(const ResourceCountGroupKey& value) { m_groupByKeyHasBeenSet = true; m_groupByKey = value; }
73 inline void SetGroupByKey(ResourceCountGroupKey&& value) { m_groupByKeyHasBeenSet = true; m_groupByKey = std::move(value); }
77
79
84 inline int GetLimit() const{ return m_limit; }
85 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
86 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
87 inline GetAggregateDiscoveredResourceCountsRequest& WithLimit(int value) { SetLimit(value); return *this;}
89
91
95 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
96 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
97 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
98 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
99 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
101 inline GetAggregateDiscoveredResourceCountsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 inline GetAggregateDiscoveredResourceCountsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
104 private:
105
106 Aws::String m_configurationAggregatorName;
107 bool m_configurationAggregatorNameHasBeenSet = false;
108
109 ResourceCountFilters m_filters;
110 bool m_filtersHasBeenSet = false;
111
112 ResourceCountGroupKey m_groupByKey;
113 bool m_groupByKeyHasBeenSet = false;
114
115 int m_limit;
116 bool m_limitHasBeenSet = false;
117
118 Aws::String m_nextToken;
119 bool m_nextTokenHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace ConfigService
124} // namespace Aws
GetAggregateDiscoveredResourceCountsRequest & WithConfigurationAggregatorName(const char *value)
GetAggregateDiscoveredResourceCountsRequest & WithGroupByKey(const ResourceCountGroupKey &value)
GetAggregateDiscoveredResourceCountsRequest & WithFilters(const ResourceCountFilters &value)
GetAggregateDiscoveredResourceCountsRequest & WithFilters(ResourceCountFilters &&value)
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
GetAggregateDiscoveredResourceCountsRequest & WithNextToken(Aws::String &&value)
GetAggregateDiscoveredResourceCountsRequest & WithNextToken(const Aws::String &value)
GetAggregateDiscoveredResourceCountsRequest & WithConfigurationAggregatorName(Aws::String &&value)
GetAggregateDiscoveredResourceCountsRequest & WithConfigurationAggregatorName(const Aws::String &value)
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