AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
DescribeFleetLocationAttributesRequest.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 DescribeFleetLocationAttributesRequest() = 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 "DescribeFleetLocationAttributes"; }
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
59 inline const Aws::Vector<Aws::String>& GetLocations() const { return m_locations; }
60 inline bool LocationsHasBeenSet() const { return m_locationsHasBeenSet; }
61 template <typename LocationsT = Aws::Vector<Aws::String>>
62 void SetLocations(LocationsT&& value) {
63 m_locationsHasBeenSet = true;
64 m_locations = std::forward<LocationsT>(value);
65 }
66 template <typename LocationsT = Aws::Vector<Aws::String>>
68 SetLocations(std::forward<LocationsT>(value));
69 return *this;
70 }
71 template <typename LocationsT = Aws::String>
73 m_locationsHasBeenSet = true;
74 m_locations.emplace_back(std::forward<LocationsT>(value));
75 return *this;
76 }
78
80
85 inline int GetLimit() const { return m_limit; }
86 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
87 inline void SetLimit(int value) {
88 m_limitHasBeenSet = true;
89 m_limit = value;
90 }
92 SetLimit(value);
93 return *this;
94 }
96
98
103 inline const Aws::String& GetNextToken() const { return m_nextToken; }
104 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
105 template <typename NextTokenT = Aws::String>
106 void SetNextToken(NextTokenT&& value) {
107 m_nextTokenHasBeenSet = true;
108 m_nextToken = std::forward<NextTokenT>(value);
109 }
110 template <typename NextTokenT = Aws::String>
112 SetNextToken(std::forward<NextTokenT>(value));
113 return *this;
114 }
116 private:
117 Aws::String m_fleetId;
118
119 Aws::Vector<Aws::String> m_locations;
120
121 int m_limit{0};
122
123 Aws::String m_nextToken;
124 bool m_fleetIdHasBeenSet = false;
125 bool m_locationsHasBeenSet = false;
126 bool m_limitHasBeenSet = false;
127 bool m_nextTokenHasBeenSet = false;
128};
129
130} // namespace Model
131} // namespace GameLift
132} // namespace Aws
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeFleetLocationAttributesRequest & WithLocations(LocationsT &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
DescribeFleetLocationAttributesRequest & WithFleetId(FleetIdT &&value)
DescribeFleetLocationAttributesRequest & AddLocations(LocationsT &&value)
DescribeFleetLocationAttributesRequest & WithNextToken(NextTokenT &&value)
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