AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeScalingActivitiesRequest.h
1
6#pragma once
7#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
8#include <aws/application-autoscaling/ApplicationAutoScalingRequest.h>
9#include <aws/application-autoscaling/model/ServiceNamespace.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/application-autoscaling/model/ScalableDimension.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ApplicationAutoScaling
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_APPLICATIONAUTOSCALING_API DescribeScalingActivitiesRequest();
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 "DescribeScalingActivities"; }
33
34 AWS_APPLICATIONAUTOSCALING_API Aws::String SerializePayload() const override;
35
36 AWS_APPLICATIONAUTOSCALING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
45 inline const ServiceNamespace& GetServiceNamespace() const{ return m_serviceNamespace; }
46 inline bool ServiceNamespaceHasBeenSet() const { return m_serviceNamespaceHasBeenSet; }
47 inline void SetServiceNamespace(const ServiceNamespace& value) { m_serviceNamespaceHasBeenSet = true; m_serviceNamespace = value; }
48 inline void SetServiceNamespace(ServiceNamespace&& value) { m_serviceNamespaceHasBeenSet = true; m_serviceNamespace = std::move(value); }
52
54
115 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
116 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
117 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
118 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
119 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
120 inline DescribeScalingActivitiesRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
121 inline DescribeScalingActivitiesRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
122 inline DescribeScalingActivitiesRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
124
126
177 inline const ScalableDimension& GetScalableDimension() const{ return m_scalableDimension; }
178 inline bool ScalableDimensionHasBeenSet() const { return m_scalableDimensionHasBeenSet; }
179 inline void SetScalableDimension(const ScalableDimension& value) { m_scalableDimensionHasBeenSet = true; m_scalableDimension = value; }
180 inline void SetScalableDimension(ScalableDimension&& value) { m_scalableDimensionHasBeenSet = true; m_scalableDimension = std::move(value); }
184
186
195 inline int GetMaxResults() const{ return m_maxResults; }
196 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
197 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
198 inline DescribeScalingActivitiesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
200
202
205 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
206 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
207 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
208 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
209 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
210 inline DescribeScalingActivitiesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
211 inline DescribeScalingActivitiesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
212 inline DescribeScalingActivitiesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
214
216
225 inline bool GetIncludeNotScaledActivities() const{ return m_includeNotScaledActivities; }
226 inline bool IncludeNotScaledActivitiesHasBeenSet() const { return m_includeNotScaledActivitiesHasBeenSet; }
227 inline void SetIncludeNotScaledActivities(bool value) { m_includeNotScaledActivitiesHasBeenSet = true; m_includeNotScaledActivities = value; }
230 private:
231
232 ServiceNamespace m_serviceNamespace;
233 bool m_serviceNamespaceHasBeenSet = false;
234
235 Aws::String m_resourceId;
236 bool m_resourceIdHasBeenSet = false;
237
238 ScalableDimension m_scalableDimension;
239 bool m_scalableDimensionHasBeenSet = false;
240
241 int m_maxResults;
242 bool m_maxResultsHasBeenSet = false;
243
244 Aws::String m_nextToken;
245 bool m_nextTokenHasBeenSet = false;
246
247 bool m_includeNotScaledActivities;
248 bool m_includeNotScaledActivitiesHasBeenSet = false;
249 };
250
251} // namespace Model
252} // namespace ApplicationAutoScaling
253} // namespace Aws
DescribeScalingActivitiesRequest & WithScalableDimension(const ScalableDimension &value)
DescribeScalingActivitiesRequest & WithResourceId(const Aws::String &value)
DescribeScalingActivitiesRequest & WithServiceNamespace(ServiceNamespace &&value)
AWS_APPLICATIONAUTOSCALING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeScalingActivitiesRequest & WithServiceNamespace(const ServiceNamespace &value)
AWS_APPLICATIONAUTOSCALING_API Aws::String SerializePayload() const override
DescribeScalingActivitiesRequest & WithNextToken(const Aws::String &value)
DescribeScalingActivitiesRequest & WithScalableDimension(ScalableDimension &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String