AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeScalingPoliciesRequest.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/gamelift/model/ScalingStatusType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace GameLift
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeScalingPolicies"; }
32
33 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
44 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
45 inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
46 inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
47 inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
48 inline DescribeScalingPoliciesRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
49 inline DescribeScalingPoliciesRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
50 inline DescribeScalingPoliciesRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
52
54
66 inline const ScalingStatusType& GetStatusFilter() const{ return m_statusFilter; }
67 inline bool StatusFilterHasBeenSet() const { return m_statusFilterHasBeenSet; }
68 inline void SetStatusFilter(const ScalingStatusType& value) { m_statusFilterHasBeenSet = true; m_statusFilter = value; }
69 inline void SetStatusFilter(ScalingStatusType&& value) { m_statusFilterHasBeenSet = true; m_statusFilter = std::move(value); }
71 inline DescribeScalingPoliciesRequest& WithStatusFilter(ScalingStatusType&& value) { SetStatusFilter(std::move(value)); return *this;}
73
75
79 inline int GetLimit() const{ return m_limit; }
80 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
81 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
82 inline DescribeScalingPoliciesRequest& WithLimit(int value) { SetLimit(value); return *this;}
84
86
91 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
92 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
93 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
94 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
95 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
96 inline DescribeScalingPoliciesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 inline DescribeScalingPoliciesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
98 inline DescribeScalingPoliciesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
100
102
106 inline const Aws::String& GetLocation() const{ return m_location; }
107 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
108 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
109 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
110 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
111 inline DescribeScalingPoliciesRequest& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
112 inline DescribeScalingPoliciesRequest& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
113 inline DescribeScalingPoliciesRequest& WithLocation(const char* value) { SetLocation(value); return *this;}
115 private:
116
117 Aws::String m_fleetId;
118 bool m_fleetIdHasBeenSet = false;
119
120 ScalingStatusType m_statusFilter;
121 bool m_statusFilterHasBeenSet = false;
122
123 int m_limit;
124 bool m_limitHasBeenSet = false;
125
126 Aws::String m_nextToken;
127 bool m_nextTokenHasBeenSet = false;
128
129 Aws::String m_location;
130 bool m_locationHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace GameLift
135} // namespace Aws
DescribeScalingPoliciesRequest & WithNextToken(const Aws::String &value)
DescribeScalingPoliciesRequest & WithFleetId(const Aws::String &value)
DescribeScalingPoliciesRequest & WithLocation(const Aws::String &value)
DescribeScalingPoliciesRequest & WithNextToken(Aws::String &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
DescribeScalingPoliciesRequest & WithLocation(Aws::String &&value)
DescribeScalingPoliciesRequest & WithFleetId(const char *value)
DescribeScalingPoliciesRequest & WithNextToken(const char *value)
DescribeScalingPoliciesRequest & WithLocation(const char *value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeScalingPoliciesRequest & WithStatusFilter(const ScalingStatusType &value)
DescribeScalingPoliciesRequest & WithStatusFilter(ScalingStatusType &&value)
DescribeScalingPoliciesRequest & WithFleetId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String