AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DescribeConfigurationAggregatorsRequest.h
1
6#pragma once
7#include <aws/config/ConfigServiceRequest.h>
8#include <aws/config/ConfigService_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ConfigService {
16namespace Model {
17
21 public:
22 AWS_CONFIGSERVICE_API DescribeConfigurationAggregatorsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeConfigurationAggregators"; }
29
30 AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;
31
32 AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
38 inline const Aws::Vector<Aws::String>& GetConfigurationAggregatorNames() const { return m_configurationAggregatorNames; }
39 inline bool ConfigurationAggregatorNamesHasBeenSet() const { return m_configurationAggregatorNamesHasBeenSet; }
40 template <typename ConfigurationAggregatorNamesT = Aws::Vector<Aws::String>>
41 void SetConfigurationAggregatorNames(ConfigurationAggregatorNamesT&& value) {
42 m_configurationAggregatorNamesHasBeenSet = true;
43 m_configurationAggregatorNames = std::forward<ConfigurationAggregatorNamesT>(value);
44 }
45 template <typename ConfigurationAggregatorNamesT = Aws::Vector<Aws::String>>
47 SetConfigurationAggregatorNames(std::forward<ConfigurationAggregatorNamesT>(value));
48 return *this;
49 }
50 template <typename ConfigurationAggregatorNamesT = Aws::String>
52 m_configurationAggregatorNamesHasBeenSet = true;
53 m_configurationAggregatorNames.emplace_back(std::forward<ConfigurationAggregatorNamesT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetNextToken() const { return m_nextToken; }
64 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
65 template <typename NextTokenT = Aws::String>
66 void SetNextToken(NextTokenT&& value) {
67 m_nextTokenHasBeenSet = true;
68 m_nextToken = std::forward<NextTokenT>(value);
69 }
70 template <typename NextTokenT = Aws::String>
72 SetNextToken(std::forward<NextTokenT>(value));
73 return *this;
74 }
76
78
82 inline int GetLimit() const { return m_limit; }
83 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
84 inline void SetLimit(int value) {
85 m_limitHasBeenSet = true;
86 m_limit = value;
87 }
89 SetLimit(value);
90 return *this;
91 }
93 private:
94 Aws::Vector<Aws::String> m_configurationAggregatorNames;
95
96 Aws::String m_nextToken;
97
98 int m_limit{0};
99 bool m_configurationAggregatorNamesHasBeenSet = false;
100 bool m_nextTokenHasBeenSet = false;
101 bool m_limitHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace ConfigService
106} // namespace Aws
DescribeConfigurationAggregatorsRequest & WithNextToken(NextTokenT &&value)
DescribeConfigurationAggregatorsRequest & AddConfigurationAggregatorNames(ConfigurationAggregatorNamesT &&value)
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
DescribeConfigurationAggregatorsRequest & WithConfigurationAggregatorNames(ConfigurationAggregatorNamesT &&value)
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector