AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DescribeScalingActivitiesRequest.h
1
6#pragma once
7#include <aws/application-autoscaling/ApplicationAutoScalingRequest.h>
8#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
9#include <aws/application-autoscaling/model/ScalableDimension.h>
10#include <aws/application-autoscaling/model/ServiceNamespace.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ApplicationAutoScaling {
17namespace Model {
18
22 public:
23 AWS_APPLICATIONAUTOSCALING_API DescribeScalingActivitiesRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeScalingActivities"; }
30
31 AWS_APPLICATIONAUTOSCALING_API Aws::String SerializePayload() const override;
32
33 AWS_APPLICATIONAUTOSCALING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
41 inline ServiceNamespace GetServiceNamespace() const { return m_serviceNamespace; }
42 inline bool ServiceNamespaceHasBeenSet() const { return m_serviceNamespaceHasBeenSet; }
44 m_serviceNamespaceHasBeenSet = true;
45 m_serviceNamespace = value;
46 }
49 return *this;
50 }
52
54
118 inline const Aws::String& GetResourceId() const { return m_resourceId; }
119 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
120 template <typename ResourceIdT = Aws::String>
121 void SetResourceId(ResourceIdT&& value) {
122 m_resourceIdHasBeenSet = true;
123 m_resourceId = std::forward<ResourceIdT>(value);
124 }
125 template <typename ResourceIdT = Aws::String>
127 SetResourceId(std::forward<ResourceIdT>(value));
128 return *this;
129 }
131
133
186 inline ScalableDimension GetScalableDimension() const { return m_scalableDimension; }
187 inline bool ScalableDimensionHasBeenSet() const { return m_scalableDimensionHasBeenSet; }
189 m_scalableDimensionHasBeenSet = true;
190 m_scalableDimension = value;
191 }
194 return *this;
195 }
197
199
208 inline int GetMaxResults() const { return m_maxResults; }
209 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
210 inline void SetMaxResults(int value) {
211 m_maxResultsHasBeenSet = true;
212 m_maxResults = value;
213 }
215 SetMaxResults(value);
216 return *this;
217 }
219
221
224 inline const Aws::String& GetNextToken() const { return m_nextToken; }
225 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
226 template <typename NextTokenT = Aws::String>
227 void SetNextToken(NextTokenT&& value) {
228 m_nextTokenHasBeenSet = true;
229 m_nextToken = std::forward<NextTokenT>(value);
230 }
231 template <typename NextTokenT = Aws::String>
233 SetNextToken(std::forward<NextTokenT>(value));
234 return *this;
235 }
237
239
248 inline bool GetIncludeNotScaledActivities() const { return m_includeNotScaledActivities; }
249 inline bool IncludeNotScaledActivitiesHasBeenSet() const { return m_includeNotScaledActivitiesHasBeenSet; }
250 inline void SetIncludeNotScaledActivities(bool value) {
251 m_includeNotScaledActivitiesHasBeenSet = true;
252 m_includeNotScaledActivities = value;
253 }
256 return *this;
257 }
259 private:
261
262 Aws::String m_resourceId;
263
265
266 int m_maxResults{0};
267
268 Aws::String m_nextToken;
269
270 bool m_includeNotScaledActivities{false};
271 bool m_serviceNamespaceHasBeenSet = false;
272 bool m_resourceIdHasBeenSet = false;
273 bool m_scalableDimensionHasBeenSet = false;
274 bool m_maxResultsHasBeenSet = false;
275 bool m_nextTokenHasBeenSet = false;
276 bool m_includeNotScaledActivitiesHasBeenSet = false;
277};
278
279} // namespace Model
280} // namespace ApplicationAutoScaling
281} // namespace Aws
DescribeScalingActivitiesRequest & WithScalableDimension(ScalableDimension value)
AWS_APPLICATIONAUTOSCALING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_APPLICATIONAUTOSCALING_API Aws::String SerializePayload() const override
DescribeScalingActivitiesRequest & WithServiceNamespace(ServiceNamespace value)
AWS_APPLICATIONAUTOSCALING_API DescribeScalingActivitiesRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String