AWS SDK for C++

AWS SDK for C++ Version 1.11.753

Loading...
Searching...
No Matches
DescribeScheduledActionsRequest.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#include <aws/core/utils/memory/stl/AWSVector.h>
13
14#include <utility>
15
16namespace Aws {
17namespace ApplicationAutoScaling {
18namespace Model {
19
23 public:
24 AWS_APPLICATIONAUTOSCALING_API DescribeScheduledActionsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeScheduledActions"; }
31
32 AWS_APPLICATIONAUTOSCALING_API Aws::String SerializePayload() const override;
33
34 AWS_APPLICATIONAUTOSCALING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
37
40 inline const Aws::Vector<Aws::String>& GetScheduledActionNames() const { return m_scheduledActionNames; }
41 inline bool ScheduledActionNamesHasBeenSet() const { return m_scheduledActionNamesHasBeenSet; }
42 template <typename ScheduledActionNamesT = Aws::Vector<Aws::String>>
43 void SetScheduledActionNames(ScheduledActionNamesT&& value) {
44 m_scheduledActionNamesHasBeenSet = true;
45 m_scheduledActionNames = std::forward<ScheduledActionNamesT>(value);
46 }
47 template <typename ScheduledActionNamesT = Aws::Vector<Aws::String>>
49 SetScheduledActionNames(std::forward<ScheduledActionNamesT>(value));
50 return *this;
51 }
52 template <typename ScheduledActionNamesT = Aws::String>
54 m_scheduledActionNamesHasBeenSet = true;
55 m_scheduledActionNames.emplace_back(std::forward<ScheduledActionNamesT>(value));
56 return *this;
57 }
59
61
66 inline ServiceNamespace GetServiceNamespace() const { return m_serviceNamespace; }
67 inline bool ServiceNamespaceHasBeenSet() const { return m_serviceNamespaceHasBeenSet; }
69 m_serviceNamespaceHasBeenSet = true;
70 m_serviceNamespace = value;
71 }
74 return *this;
75 }
77
79
143 inline const Aws::String& GetResourceId() const { return m_resourceId; }
144 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
145 template <typename ResourceIdT = Aws::String>
146 void SetResourceId(ResourceIdT&& value) {
147 m_resourceIdHasBeenSet = true;
148 m_resourceId = std::forward<ResourceIdT>(value);
149 }
150 template <typename ResourceIdT = Aws::String>
152 SetResourceId(std::forward<ResourceIdT>(value));
153 return *this;
154 }
156
158
211 inline ScalableDimension GetScalableDimension() const { return m_scalableDimension; }
212 inline bool ScalableDimensionHasBeenSet() const { return m_scalableDimensionHasBeenSet; }
214 m_scalableDimensionHasBeenSet = true;
215 m_scalableDimension = value;
216 }
219 return *this;
220 }
222
224
233 inline int GetMaxResults() const { return m_maxResults; }
234 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
235 inline void SetMaxResults(int value) {
236 m_maxResultsHasBeenSet = true;
237 m_maxResults = value;
238 }
240 SetMaxResults(value);
241 return *this;
242 }
244
246
249 inline const Aws::String& GetNextToken() const { return m_nextToken; }
250 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
251 template <typename NextTokenT = Aws::String>
252 void SetNextToken(NextTokenT&& value) {
253 m_nextTokenHasBeenSet = true;
254 m_nextToken = std::forward<NextTokenT>(value);
255 }
256 template <typename NextTokenT = Aws::String>
258 SetNextToken(std::forward<NextTokenT>(value));
259 return *this;
260 }
262 private:
263 Aws::Vector<Aws::String> m_scheduledActionNames;
264
266
267 Aws::String m_resourceId;
268
270
271 int m_maxResults{0};
272
273 Aws::String m_nextToken;
274 bool m_scheduledActionNamesHasBeenSet = false;
275 bool m_serviceNamespaceHasBeenSet = false;
276 bool m_resourceIdHasBeenSet = false;
277 bool m_scalableDimensionHasBeenSet = false;
278 bool m_maxResultsHasBeenSet = false;
279 bool m_nextTokenHasBeenSet = false;
280};
281
282} // namespace Model
283} // namespace ApplicationAutoScaling
284} // namespace Aws
AWS_APPLICATIONAUTOSCALING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeScheduledActionsRequest & WithScalableDimension(ScalableDimension value)
DescribeScheduledActionsRequest & WithScheduledActionNames(ScheduledActionNamesT &&value)
AWS_APPLICATIONAUTOSCALING_API Aws::String SerializePayload() const override
DescribeScheduledActionsRequest & WithResourceId(ResourceIdT &&value)
DescribeScheduledActionsRequest & WithServiceNamespace(ServiceNamespace value)
AWS_APPLICATIONAUTOSCALING_API DescribeScheduledActionsRequest()=default
DescribeScheduledActionsRequest & AddScheduledActionNames(ScheduledActionNamesT &&value)
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