AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeScalingPlanResourcesRequest.h
1
6#pragma once
7#include <aws/autoscaling-plans/AutoScalingPlansRequest.h>
8#include <aws/autoscaling-plans/AutoScalingPlans_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace AutoScalingPlans {
15namespace Model {
16
20 public:
21 AWS_AUTOSCALINGPLANS_API DescribeScalingPlanResourcesRequest() = 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 "DescribeScalingPlanResources"; }
28
29 AWS_AUTOSCALINGPLANS_API Aws::String SerializePayload() const override;
30
31 AWS_AUTOSCALINGPLANS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
37 inline const Aws::String& GetScalingPlanName() const { return m_scalingPlanName; }
38 inline bool ScalingPlanNameHasBeenSet() const { return m_scalingPlanNameHasBeenSet; }
39 template <typename ScalingPlanNameT = Aws::String>
40 void SetScalingPlanName(ScalingPlanNameT&& value) {
41 m_scalingPlanNameHasBeenSet = true;
42 m_scalingPlanName = std::forward<ScalingPlanNameT>(value);
43 }
44 template <typename ScalingPlanNameT = Aws::String>
46 SetScalingPlanName(std::forward<ScalingPlanNameT>(value));
47 return *this;
48 }
50
52
56 inline long long GetScalingPlanVersion() const { return m_scalingPlanVersion; }
57 inline bool ScalingPlanVersionHasBeenSet() const { return m_scalingPlanVersionHasBeenSet; }
58 inline void SetScalingPlanVersion(long long value) {
59 m_scalingPlanVersionHasBeenSet = true;
60 m_scalingPlanVersion = value;
61 }
64 return *this;
65 }
67
69
73 inline int GetMaxResults() const { return m_maxResults; }
74 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
75 inline void SetMaxResults(int value) {
76 m_maxResultsHasBeenSet = true;
77 m_maxResults = value;
78 }
80 SetMaxResults(value);
81 return *this;
82 }
84
86
89 inline const Aws::String& GetNextToken() const { return m_nextToken; }
90 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
91 template <typename NextTokenT = Aws::String>
92 void SetNextToken(NextTokenT&& value) {
93 m_nextTokenHasBeenSet = true;
94 m_nextToken = std::forward<NextTokenT>(value);
95 }
96 template <typename NextTokenT = Aws::String>
98 SetNextToken(std::forward<NextTokenT>(value));
99 return *this;
100 }
102 private:
103 Aws::String m_scalingPlanName;
104
105 long long m_scalingPlanVersion{0};
106
107 int m_maxResults{0};
108
109 Aws::String m_nextToken;
110 bool m_scalingPlanNameHasBeenSet = false;
111 bool m_scalingPlanVersionHasBeenSet = false;
112 bool m_maxResultsHasBeenSet = false;
113 bool m_nextTokenHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace AutoScalingPlans
118} // namespace Aws
AWS_AUTOSCALINGPLANS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_AUTOSCALINGPLANS_API DescribeScalingPlanResourcesRequest()=default
DescribeScalingPlanResourcesRequest & WithNextToken(NextTokenT &&value)
DescribeScalingPlanResourcesRequest & WithScalingPlanVersion(long long value)
AWS_AUTOSCALINGPLANS_API Aws::String SerializePayload() const override
DescribeScalingPlanResourcesRequest & WithScalingPlanName(ScalingPlanNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String