AWS SDK for C++  1.9.105
AWS SDK for C++
DescribeFleetLocationAttributesRequest.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 "DescribeFleetLocationAttributes"; }
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 DescribeFleetLocationAttributesRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
76 
81  inline DescribeFleetLocationAttributesRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
82 
87  inline DescribeFleetLocationAttributesRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
88 
89 
94  inline const Aws::Vector<Aws::String>& GetLocations() const{ return m_locations; }
95 
100  inline bool LocationsHasBeenSet() const { return m_locationsHasBeenSet; }
101 
106  inline void SetLocations(const Aws::Vector<Aws::String>& value) { m_locationsHasBeenSet = true; m_locations = value; }
107 
112  inline void SetLocations(Aws::Vector<Aws::String>&& value) { m_locationsHasBeenSet = true; m_locations = std::move(value); }
113 
118  inline DescribeFleetLocationAttributesRequest& WithLocations(const Aws::Vector<Aws::String>& value) { SetLocations(value); return *this;}
119 
124  inline DescribeFleetLocationAttributesRequest& WithLocations(Aws::Vector<Aws::String>&& value) { SetLocations(std::move(value)); return *this;}
125 
130  inline DescribeFleetLocationAttributesRequest& AddLocations(const Aws::String& value) { m_locationsHasBeenSet = true; m_locations.push_back(value); return *this; }
131 
136  inline DescribeFleetLocationAttributesRequest& AddLocations(Aws::String&& value) { m_locationsHasBeenSet = true; m_locations.push_back(std::move(value)); return *this; }
137 
142  inline DescribeFleetLocationAttributesRequest& AddLocations(const char* value) { m_locationsHasBeenSet = true; m_locations.push_back(value); return *this; }
143 
144 
150  inline int GetLimit() const{ return m_limit; }
151 
157  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
158 
164  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
165 
171  inline DescribeFleetLocationAttributesRequest& WithLimit(int value) { SetLimit(value); return *this;}
172 
173 
179  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
180 
186  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
187 
193  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
194 
200  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
201 
207  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
208 
214  inline DescribeFleetLocationAttributesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
215 
221  inline DescribeFleetLocationAttributesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
222 
228  inline DescribeFleetLocationAttributesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
229 
230  private:
231 
232  Aws::String m_fleetId;
233  bool m_fleetIdHasBeenSet;
234 
235  Aws::Vector<Aws::String> m_locations;
236  bool m_locationsHasBeenSet;
237 
238  int m_limit;
239  bool m_limitHasBeenSet;
240 
241  Aws::String m_nextToken;
242  bool m_nextTokenHasBeenSet;
243  };
244 
245 } // namespace Model
246 } // namespace GameLift
247 } // namespace Aws
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeFleetLocationAttributesRequest.h:186
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::AddLocations
DescribeFleetLocationAttributesRequest & AddLocations(Aws::String &&value)
Definition: DescribeFleetLocationAttributesRequest.h:136
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::DescribeFleetLocationAttributesRequest
DescribeFleetLocationAttributesRequest()
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::WithFleetId
DescribeFleetLocationAttributesRequest & WithFleetId(Aws::String &&value)
Definition: DescribeFleetLocationAttributesRequest.h:81
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::SetLocations
void SetLocations(Aws::Vector< Aws::String > &&value)
Definition: DescribeFleetLocationAttributesRequest.h:112
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::SetLimit
void SetLimit(int value)
Definition: DescribeFleetLocationAttributesRequest.h:164
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest
Definition: DescribeFleetLocationAttributesRequest.h:26
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::SetLocations
void SetLocations(const Aws::Vector< Aws::String > &value)
Definition: DescribeFleetLocationAttributesRequest.h:106
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::WithFleetId
DescribeFleetLocationAttributesRequest & WithFleetId(const Aws::String &value)
Definition: DescribeFleetLocationAttributesRequest.h:75
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::WithLocations
DescribeFleetLocationAttributesRequest & WithLocations(Aws::Vector< Aws::String > &&value)
Definition: DescribeFleetLocationAttributesRequest.h:124
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::WithNextToken
DescribeFleetLocationAttributesRequest & WithNextToken(const Aws::String &value)
Definition: DescribeFleetLocationAttributesRequest.h:214
AWSVector.h
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeFleetLocationAttributesRequest.h:207
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeFleetLocationAttributesRequest.h:34
GameLift_EXPORTS.h
GameLiftRequest.h
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::WithFleetId
DescribeFleetLocationAttributesRequest & WithFleetId(const char *value)
Definition: DescribeFleetLocationAttributesRequest.h:87
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeFleetLocationAttributesRequest.h:200
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
AWSString.h
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::AddLocations
DescribeFleetLocationAttributesRequest & AddLocations(const char *value)
Definition: DescribeFleetLocationAttributesRequest.h:142
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::GetFleetId
const Aws::String & GetFleetId() const
Definition: DescribeFleetLocationAttributesRequest.h:45
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::FleetIdHasBeenSet
bool FleetIdHasBeenSet() const
Definition: DescribeFleetLocationAttributesRequest.h:51
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::WithNextToken
DescribeFleetLocationAttributesRequest & WithNextToken(Aws::String &&value)
Definition: DescribeFleetLocationAttributesRequest.h:221
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::LocationsHasBeenSet
bool LocationsHasBeenSet() const
Definition: DescribeFleetLocationAttributesRequest.h:100
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::SetFleetId
void SetFleetId(const char *value)
Definition: DescribeFleetLocationAttributesRequest.h:69
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::GetLocations
const Aws::Vector< Aws::String > & GetLocations() const
Definition: DescribeFleetLocationAttributesRequest.h:94
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeFleetLocationAttributesRequest.h:193
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::GetLimit
int GetLimit() const
Definition: DescribeFleetLocationAttributesRequest.h:150
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeFleetLocationAttributesRequest.h:179
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::WithLimit
DescribeFleetLocationAttributesRequest & WithLimit(int value)
Definition: DescribeFleetLocationAttributesRequest.h:171
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::SetFleetId
void SetFleetId(const Aws::String &value)
Definition: DescribeFleetLocationAttributesRequest.h:57
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::SetFleetId
void SetFleetId(Aws::String &&value)
Definition: DescribeFleetLocationAttributesRequest.h:63
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::WithLocations
DescribeFleetLocationAttributesRequest & WithLocations(const Aws::Vector< Aws::String > &value)
Definition: DescribeFleetLocationAttributesRequest.h:118
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::WithNextToken
DescribeFleetLocationAttributesRequest & WithNextToken(const char *value)
Definition: DescribeFleetLocationAttributesRequest.h:228
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::AddLocations
DescribeFleetLocationAttributesRequest & AddLocations(const Aws::String &value)
Definition: DescribeFleetLocationAttributesRequest.h:130
Aws::GameLift::Model::DescribeFleetLocationAttributesRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: DescribeFleetLocationAttributesRequest.h:157