AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
SelectAggregateResourceConfigRequest.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
11#include <utility>
12
13namespace Aws {
14namespace ConfigService {
15namespace Model {
16
20 public:
21 AWS_CONFIGSERVICE_API SelectAggregateResourceConfigRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "SelectAggregateResourceConfig"; }
28
29 AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;
30
31 AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
37 inline const Aws::String& GetExpression() const { return m_expression; }
38 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
39 template <typename ExpressionT = Aws::String>
40 void SetExpression(ExpressionT&& value) {
41 m_expressionHasBeenSet = true;
42 m_expression = std::forward<ExpressionT>(value);
43 }
44 template <typename ExpressionT = Aws::String>
46 SetExpression(std::forward<ExpressionT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetConfigurationAggregatorName() const { return m_configurationAggregatorName; }
56 inline bool ConfigurationAggregatorNameHasBeenSet() const { return m_configurationAggregatorNameHasBeenSet; }
57 template <typename ConfigurationAggregatorNameT = Aws::String>
58 void SetConfigurationAggregatorName(ConfigurationAggregatorNameT&& value) {
59 m_configurationAggregatorNameHasBeenSet = true;
60 m_configurationAggregatorName = std::forward<ConfigurationAggregatorNameT>(value);
61 }
62 template <typename ConfigurationAggregatorNameT = Aws::String>
64 SetConfigurationAggregatorName(std::forward<ConfigurationAggregatorNameT>(value));
65 return *this;
66 }
68
70
73 inline int GetLimit() const { return m_limit; }
74 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
75 inline void SetLimit(int value) {
76 m_limitHasBeenSet = true;
77 m_limit = value;
78 }
80 SetLimit(value);
81 return *this;
82 }
84
86
90 inline int GetMaxResults() const { return m_maxResults; }
91 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
92 inline void SetMaxResults(int value) {
93 m_maxResultsHasBeenSet = true;
94 m_maxResults = value;
95 }
97 SetMaxResults(value);
98 return *this;
99 }
101
103
107 inline const Aws::String& GetNextToken() const { return m_nextToken; }
108 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
109 template <typename NextTokenT = Aws::String>
110 void SetNextToken(NextTokenT&& value) {
111 m_nextTokenHasBeenSet = true;
112 m_nextToken = std::forward<NextTokenT>(value);
113 }
114 template <typename NextTokenT = Aws::String>
116 SetNextToken(std::forward<NextTokenT>(value));
117 return *this;
118 }
120 private:
121 Aws::String m_expression;
122
123 Aws::String m_configurationAggregatorName;
124
125 int m_limit{0};
126
127 int m_maxResults{0};
128
129 Aws::String m_nextToken;
130 bool m_expressionHasBeenSet = false;
131 bool m_configurationAggregatorNameHasBeenSet = false;
132 bool m_limitHasBeenSet = false;
133 bool m_maxResultsHasBeenSet = false;
134 bool m_nextTokenHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace ConfigService
139} // namespace Aws
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SelectAggregateResourceConfigRequest & WithExpression(ExpressionT &&value)
SelectAggregateResourceConfigRequest & WithConfigurationAggregatorName(ConfigurationAggregatorNameT &&value)
AWS_CONFIGSERVICE_API SelectAggregateResourceConfigRequest()=default
SelectAggregateResourceConfigRequest & WithNextToken(NextTokenT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String