AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeScalingPoliciesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace GameLift
16 {
17 namespace Model
18 {
19 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeScalingPolicies"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
45  inline const Aws::String& GetFleetId() const{ return m_fleetId; }
46 
51  inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
52 
57  inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
58 
63  inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
64 
69  inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
70 
75  inline DescribeScalingPoliciesRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
76 
81  inline DescribeScalingPoliciesRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
82 
87  inline DescribeScalingPoliciesRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
88 
89 
102  inline const ScalingStatusType& GetStatusFilter() const{ return m_statusFilter; }
103 
116  inline bool StatusFilterHasBeenSet() const { return m_statusFilterHasBeenSet; }
117 
130  inline void SetStatusFilter(const ScalingStatusType& value) { m_statusFilterHasBeenSet = true; m_statusFilter = value; }
131 
144  inline void SetStatusFilter(ScalingStatusType&& value) { m_statusFilterHasBeenSet = true; m_statusFilter = std::move(value); }
145 
158  inline DescribeScalingPoliciesRequest& WithStatusFilter(const ScalingStatusType& value) { SetStatusFilter(value); return *this;}
159 
172  inline DescribeScalingPoliciesRequest& WithStatusFilter(ScalingStatusType&& value) { SetStatusFilter(std::move(value)); return *this;}
173 
174 
179  inline int GetLimit() const{ return m_limit; }
180 
185  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
186 
191  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
192 
197  inline DescribeScalingPoliciesRequest& WithLimit(int value) { SetLimit(value); return *this;}
198 
199 
205  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
206 
212  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
213 
219  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
220 
226  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
227 
233  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
234 
240  inline DescribeScalingPoliciesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
241 
247  inline DescribeScalingPoliciesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
248 
254  inline DescribeScalingPoliciesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
255 
256 
260  inline const Aws::String& GetLocation() const{ return m_location; }
261 
265  inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
266 
270  inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
271 
275  inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
276 
280  inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
281 
285  inline DescribeScalingPoliciesRequest& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
286 
290  inline DescribeScalingPoliciesRequest& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
291 
295  inline DescribeScalingPoliciesRequest& WithLocation(const char* value) { SetLocation(value); return *this;}
296 
297  private:
298 
299  Aws::String m_fleetId;
300  bool m_fleetIdHasBeenSet;
301 
302  ScalingStatusType m_statusFilter;
303  bool m_statusFilterHasBeenSet;
304 
305  int m_limit;
306  bool m_limitHasBeenSet;
307 
308  Aws::String m_nextToken;
309  bool m_nextTokenHasBeenSet;
310 
311  Aws::String m_location;
312  bool m_locationHasBeenSet;
313  };
314 
315 } // namespace Model
316 } // namespace GameLift
317 } // namespace Aws
Aws::GameLift::Model::DescribeScalingPoliciesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeScalingPoliciesRequest.h:205
Aws::GameLift::Model::DescribeScalingPoliciesRequest::WithLocation
DescribeScalingPoliciesRequest & WithLocation(const Aws::String &value)
Definition: DescribeScalingPoliciesRequest.h:285
Aws::GameLift::Model::DescribeScalingPoliciesRequest::StatusFilterHasBeenSet
bool StatusFilterHasBeenSet() const
Definition: DescribeScalingPoliciesRequest.h:116
Aws::GameLift::Model::DescribeScalingPoliciesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeScalingPoliciesRequest.h:219
Aws::GameLift::Model::DescribeScalingPoliciesRequest::WithLimit
DescribeScalingPoliciesRequest & WithLimit(int value)
Definition: DescribeScalingPoliciesRequest.h:197
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::DescribeScalingPoliciesRequest
Definition: DescribeScalingPoliciesRequest.h:26
Aws::GameLift::Model::DescribeScalingPoliciesRequest::SetStatusFilter
void SetStatusFilter(ScalingStatusType &&value)
Definition: DescribeScalingPoliciesRequest.h:144
Aws::GameLift::Model::DescribeScalingPoliciesRequest::WithFleetId
DescribeScalingPoliciesRequest & WithFleetId(const Aws::String &value)
Definition: DescribeScalingPoliciesRequest.h:75
Aws::GameLift::Model::DescribeScalingPoliciesRequest::GetFleetId
const Aws::String & GetFleetId() const
Definition: DescribeScalingPoliciesRequest.h:45
Aws::GameLift::Model::DescribeScalingPoliciesRequest::SetLocation
void SetLocation(const char *value)
Definition: DescribeScalingPoliciesRequest.h:280
Aws::GameLift::Model::DescribeScalingPoliciesRequest::WithFleetId
DescribeScalingPoliciesRequest & WithFleetId(const char *value)
Definition: DescribeScalingPoliciesRequest.h:87
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DescribeScalingPoliciesRequest::SetFleetId
void SetFleetId(const char *value)
Definition: DescribeScalingPoliciesRequest.h:69
Aws::GameLift::Model::DescribeScalingPoliciesRequest::FleetIdHasBeenSet
bool FleetIdHasBeenSet() const
Definition: DescribeScalingPoliciesRequest.h:51
Aws::GameLift::Model::DescribeScalingPoliciesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeScalingPoliciesRequest.h:34
Aws::GameLift::Model::DescribeScalingPoliciesRequest::GetLimit
int GetLimit() const
Definition: DescribeScalingPoliciesRequest.h:179
Aws::GameLift::Model::DescribeScalingPoliciesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GameLift::Model::DescribeScalingPoliciesRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: DescribeScalingPoliciesRequest.h:185
Aws::GameLift::Model::DescribeScalingPoliciesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeScalingPoliciesRequest.h:233
GameLift_EXPORTS.h
ScalingStatusType.h
Aws::GameLift::Model::DescribeScalingPoliciesRequest::GetStatusFilter
const ScalingStatusType & GetStatusFilter() const
Definition: DescribeScalingPoliciesRequest.h:102
Aws::GameLift::Model::DescribeScalingPoliciesRequest::SetLocation
void SetLocation(Aws::String &&value)
Definition: DescribeScalingPoliciesRequest.h:275
GameLiftRequest.h
Aws::GameLift::Model::DescribeScalingPoliciesRequest::GetLocation
const Aws::String & GetLocation() const
Definition: DescribeScalingPoliciesRequest.h:260
Aws::GameLift::Model::DescribeScalingPoliciesRequest::WithFleetId
DescribeScalingPoliciesRequest & WithFleetId(Aws::String &&value)
Definition: DescribeScalingPoliciesRequest.h:81
Aws::GameLift::Model::DescribeScalingPoliciesRequest::WithNextToken
DescribeScalingPoliciesRequest & WithNextToken(const Aws::String &value)
Definition: DescribeScalingPoliciesRequest.h:240
Aws::GameLift::Model::DescribeScalingPoliciesRequest::WithNextToken
DescribeScalingPoliciesRequest & WithNextToken(Aws::String &&value)
Definition: DescribeScalingPoliciesRequest.h:247
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
AWSString.h
Aws::GameLift::Model::DescribeScalingPoliciesRequest::SetFleetId
void SetFleetId(Aws::String &&value)
Definition: DescribeScalingPoliciesRequest.h:63
Aws::GameLift::Model::DescribeScalingPoliciesRequest::SetStatusFilter
void SetStatusFilter(const ScalingStatusType &value)
Definition: DescribeScalingPoliciesRequest.h:130
Aws::GameLift::Model::DescribeScalingPoliciesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeScalingPoliciesRequest.h:212
Aws::GameLift::Model::DescribeScalingPoliciesRequest::LocationHasBeenSet
bool LocationHasBeenSet() const
Definition: DescribeScalingPoliciesRequest.h:265
Aws::GameLift::Model::DescribeScalingPoliciesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::GameLift::Model::DescribeScalingPoliciesRequest::WithLocation
DescribeScalingPoliciesRequest & WithLocation(const char *value)
Definition: DescribeScalingPoliciesRequest.h:295
Aws::GameLift::Model::DescribeScalingPoliciesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeScalingPoliciesRequest.h:226
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::DescribeScalingPoliciesRequest::WithNextToken
DescribeScalingPoliciesRequest & WithNextToken(const char *value)
Definition: DescribeScalingPoliciesRequest.h:254
Aws::GameLift::Model::DescribeScalingPoliciesRequest::DescribeScalingPoliciesRequest
DescribeScalingPoliciesRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::DescribeScalingPoliciesRequest::WithStatusFilter
DescribeScalingPoliciesRequest & WithStatusFilter(ScalingStatusType &&value)
Definition: DescribeScalingPoliciesRequest.h:172
Aws::GameLift::Model::DescribeScalingPoliciesRequest::WithStatusFilter
DescribeScalingPoliciesRequest & WithStatusFilter(const ScalingStatusType &value)
Definition: DescribeScalingPoliciesRequest.h:158
Aws::GameLift::Model::DescribeScalingPoliciesRequest::SetFleetId
void SetFleetId(const Aws::String &value)
Definition: DescribeScalingPoliciesRequest.h:57
Aws::GameLift::Model::ScalingStatusType
ScalingStatusType
Definition: ScalingStatusType.h:17
Aws::GameLift::Model::DescribeScalingPoliciesRequest::SetLocation
void SetLocation(const Aws::String &value)
Definition: DescribeScalingPoliciesRequest.h:270
Aws::GameLift::Model::DescribeScalingPoliciesRequest::SetLimit
void SetLimit(int value)
Definition: DescribeScalingPoliciesRequest.h:191
Aws::GameLift::Model::DescribeScalingPoliciesRequest::WithLocation
DescribeScalingPoliciesRequest & WithLocation(Aws::String &&value)
Definition: DescribeScalingPoliciesRequest.h:290