AWS SDK for C++

AWS SDK for C++ Version 1.11.709

Loading...
Searching...
No Matches
DescribeScalingPoliciesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10#include <aws/gamelift/model/ScalingStatusType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace GameLift {
16namespace Model {
17
21 public:
22 AWS_GAMELIFT_API DescribeScalingPoliciesRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeScalingPolicies"; }
29
30 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetFleetId() const { return m_fleetId; }
40 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
41 template <typename FleetIdT = Aws::String>
42 void SetFleetId(FleetIdT&& value) {
43 m_fleetIdHasBeenSet = true;
44 m_fleetId = std::forward<FleetIdT>(value);
45 }
46 template <typename FleetIdT = Aws::String>
48 SetFleetId(std::forward<FleetIdT>(value));
49 return *this;
50 }
52
54
66 inline ScalingStatusType GetStatusFilter() const { return m_statusFilter; }
67 inline bool StatusFilterHasBeenSet() const { return m_statusFilterHasBeenSet; }
69 m_statusFilterHasBeenSet = true;
70 m_statusFilter = value;
71 }
73 SetStatusFilter(value);
74 return *this;
75 }
77
79
83 inline int GetLimit() const { return m_limit; }
84 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
85 inline void SetLimit(int value) {
86 m_limitHasBeenSet = true;
87 m_limit = value;
88 }
90 SetLimit(value);
91 return *this;
92 }
94
96
101 inline const Aws::String& GetNextToken() const { return m_nextToken; }
102 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
103 template <typename NextTokenT = Aws::String>
104 void SetNextToken(NextTokenT&& value) {
105 m_nextTokenHasBeenSet = true;
106 m_nextToken = std::forward<NextTokenT>(value);
107 }
108 template <typename NextTokenT = Aws::String>
110 SetNextToken(std::forward<NextTokenT>(value));
111 return *this;
112 }
114
116
120 inline const Aws::String& GetLocation() const { return m_location; }
121 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
122 template <typename LocationT = Aws::String>
123 void SetLocation(LocationT&& value) {
124 m_locationHasBeenSet = true;
125 m_location = std::forward<LocationT>(value);
126 }
127 template <typename LocationT = Aws::String>
129 SetLocation(std::forward<LocationT>(value));
130 return *this;
131 }
133 private:
134 Aws::String m_fleetId;
135
137
138 int m_limit{0};
139
140 Aws::String m_nextToken;
141
142 Aws::String m_location;
143 bool m_fleetIdHasBeenSet = false;
144 bool m_statusFilterHasBeenSet = false;
145 bool m_limitHasBeenSet = false;
146 bool m_nextTokenHasBeenSet = false;
147 bool m_locationHasBeenSet = false;
148};
149
150} // namespace Model
151} // namespace GameLift
152} // namespace Aws
DescribeScalingPoliciesRequest & WithFleetId(FleetIdT &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
DescribeScalingPoliciesRequest & WithLocation(LocationT &&value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeScalingPoliciesRequest & WithStatusFilter(ScalingStatusType value)
AWS_GAMELIFT_API DescribeScalingPoliciesRequest()=default
DescribeScalingPoliciesRequest & WithNextToken(NextTokenT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String