AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
DescribeFleetCapacityRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/gamelift/GameLiftRequest.h>
10#include <aws/gamelift/GameLift_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace GameLift {
16namespace Model {
17
21 public:
22 AWS_GAMELIFT_API DescribeFleetCapacityRequest() = 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 "DescribeFleetCapacity"; }
29
30 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
31
33
35
40 inline const Aws::Vector<Aws::String>& GetFleetIds() const { return m_fleetIds; }
41 inline bool FleetIdsHasBeenSet() const { return m_fleetIdsHasBeenSet; }
42 template <typename FleetIdsT = Aws::Vector<Aws::String>>
43 void SetFleetIds(FleetIdsT&& value) {
44 m_fleetIdsHasBeenSet = true;
45 m_fleetIds = std::forward<FleetIdsT>(value);
46 }
47 template <typename FleetIdsT = Aws::Vector<Aws::String>>
49 SetFleetIds(std::forward<FleetIdsT>(value));
50 return *this;
51 }
52 template <typename FleetIdsT = Aws::String>
54 m_fleetIdsHasBeenSet = true;
55 m_fleetIds.emplace_back(std::forward<FleetIdsT>(value));
56 return *this;
57 }
59
61
66 inline int GetLimit() const { return m_limit; }
67 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
68 inline void SetLimit(int value) {
69 m_limitHasBeenSet = true;
70 m_limit = value;
71 }
73 SetLimit(value);
74 return *this;
75 }
77
79
85 inline const Aws::String& GetNextToken() const { return m_nextToken; }
86 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
87 template <typename NextTokenT = Aws::String>
88 void SetNextToken(NextTokenT&& value) {
89 m_nextTokenHasBeenSet = true;
90 m_nextToken = std::forward<NextTokenT>(value);
91 }
92 template <typename NextTokenT = Aws::String>
94 SetNextToken(std::forward<NextTokenT>(value));
95 return *this;
96 }
98 private:
99 Aws::Vector<Aws::String> m_fleetIds;
100 bool m_fleetIdsHasBeenSet = false;
101
102 int m_limit{0};
103 bool m_limitHasBeenSet = false;
104
105 Aws::String m_nextToken;
106 bool m_nextTokenHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace GameLift
111} // namespace Aws
AWS_GAMELIFT_API Aws::String SerializePayload() const override
AWS_GAMELIFT_API DescribeFleetCapacityRequest()=default
DescribeFleetCapacityRequest & WithFleetIds(FleetIdsT &&value)
const Aws::Vector< Aws::String > & GetFleetIds() const
DescribeFleetCapacityRequest & WithNextToken(NextTokenT &&value)
DescribeFleetCapacityRequest & AddFleetIds(FleetIdsT &&value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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