AWS SDK for C++  1.9.155
AWS SDK for C++
DescribeGameSessionDetailsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace GameLift
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DescribeGameSessionDetails"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
44  inline const Aws::String& GetFleetId() const{ return m_fleetId; }
45 
50  inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
51 
56  inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
57 
62  inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
63 
68  inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
69 
74  inline DescribeGameSessionDetailsRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
75 
80  inline DescribeGameSessionDetailsRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
81 
86  inline DescribeGameSessionDetailsRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
87 
88 
92  inline const Aws::String& GetGameSessionId() const{ return m_gameSessionId; }
93 
97  inline bool GameSessionIdHasBeenSet() const { return m_gameSessionIdHasBeenSet; }
98 
102  inline void SetGameSessionId(const Aws::String& value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId = value; }
103 
107  inline void SetGameSessionId(Aws::String&& value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId = std::move(value); }
108 
112  inline void SetGameSessionId(const char* value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId.assign(value); }
113 
117  inline DescribeGameSessionDetailsRequest& WithGameSessionId(const Aws::String& value) { SetGameSessionId(value); return *this;}
118 
122  inline DescribeGameSessionDetailsRequest& WithGameSessionId(Aws::String&& value) { SetGameSessionId(std::move(value)); return *this;}
123 
127  inline DescribeGameSessionDetailsRequest& WithGameSessionId(const char* value) { SetGameSessionId(value); return *this;}
128 
129 
134  inline const Aws::String& GetAliasId() const{ return m_aliasId; }
135 
140  inline bool AliasIdHasBeenSet() const { return m_aliasIdHasBeenSet; }
141 
146  inline void SetAliasId(const Aws::String& value) { m_aliasIdHasBeenSet = true; m_aliasId = value; }
147 
152  inline void SetAliasId(Aws::String&& value) { m_aliasIdHasBeenSet = true; m_aliasId = std::move(value); }
153 
158  inline void SetAliasId(const char* value) { m_aliasIdHasBeenSet = true; m_aliasId.assign(value); }
159 
164  inline DescribeGameSessionDetailsRequest& WithAliasId(const Aws::String& value) { SetAliasId(value); return *this;}
165 
170  inline DescribeGameSessionDetailsRequest& WithAliasId(Aws::String&& value) { SetAliasId(std::move(value)); return *this;}
171 
176  inline DescribeGameSessionDetailsRequest& WithAliasId(const char* value) { SetAliasId(value); return *this;}
177 
178 
184  inline const Aws::String& GetLocation() const{ return m_location; }
185 
191  inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
192 
198  inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
199 
205  inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
206 
212  inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
213 
219  inline DescribeGameSessionDetailsRequest& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
220 
226  inline DescribeGameSessionDetailsRequest& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
227 
233  inline DescribeGameSessionDetailsRequest& WithLocation(const char* value) { SetLocation(value); return *this;}
234 
235 
241  inline const Aws::String& GetStatusFilter() const{ return m_statusFilter; }
242 
248  inline bool StatusFilterHasBeenSet() const { return m_statusFilterHasBeenSet; }
249 
255  inline void SetStatusFilter(const Aws::String& value) { m_statusFilterHasBeenSet = true; m_statusFilter = value; }
256 
262  inline void SetStatusFilter(Aws::String&& value) { m_statusFilterHasBeenSet = true; m_statusFilter = std::move(value); }
263 
269  inline void SetStatusFilter(const char* value) { m_statusFilterHasBeenSet = true; m_statusFilter.assign(value); }
270 
276  inline DescribeGameSessionDetailsRequest& WithStatusFilter(const Aws::String& value) { SetStatusFilter(value); return *this;}
277 
283  inline DescribeGameSessionDetailsRequest& WithStatusFilter(Aws::String&& value) { SetStatusFilter(std::move(value)); return *this;}
284 
290  inline DescribeGameSessionDetailsRequest& WithStatusFilter(const char* value) { SetStatusFilter(value); return *this;}
291 
292 
297  inline int GetLimit() const{ return m_limit; }
298 
303  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
304 
309  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
310 
315  inline DescribeGameSessionDetailsRequest& WithLimit(int value) { SetLimit(value); return *this;}
316 
317 
323  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
324 
330  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
331 
337  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
338 
344  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
345 
351  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
352 
358  inline DescribeGameSessionDetailsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
359 
365  inline DescribeGameSessionDetailsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
366 
372  inline DescribeGameSessionDetailsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
373 
374  private:
375 
376  Aws::String m_fleetId;
377  bool m_fleetIdHasBeenSet;
378 
379  Aws::String m_gameSessionId;
380  bool m_gameSessionIdHasBeenSet;
381 
382  Aws::String m_aliasId;
383  bool m_aliasIdHasBeenSet;
384 
385  Aws::String m_location;
386  bool m_locationHasBeenSet;
387 
388  Aws::String m_statusFilter;
389  bool m_statusFilterHasBeenSet;
390 
391  int m_limit;
392  bool m_limitHasBeenSet;
393 
394  Aws::String m_nextToken;
395  bool m_nextTokenHasBeenSet;
396  };
397 
398 } // namespace Model
399 } // namespace GameLift
400 } // namespace Aws
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::SetStatusFilter
void SetStatusFilter(const char *value)
Definition: DescribeGameSessionDetailsRequest.h:269
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::GetLimit
int GetLimit() const
Definition: DescribeGameSessionDetailsRequest.h:297
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::SetFleetId
void SetFleetId(Aws::String &&value)
Definition: DescribeGameSessionDetailsRequest.h:62
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::WithAliasId
DescribeGameSessionDetailsRequest & WithAliasId(const Aws::String &value)
Definition: DescribeGameSessionDetailsRequest.h:164
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::WithGameSessionId
DescribeGameSessionDetailsRequest & WithGameSessionId(Aws::String &&value)
Definition: DescribeGameSessionDetailsRequest.h:122
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::SetLocation
void SetLocation(const Aws::String &value)
Definition: DescribeGameSessionDetailsRequest.h:198
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::GetAliasId
const Aws::String & GetAliasId() const
Definition: DescribeGameSessionDetailsRequest.h:134
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::SetLocation
void SetLocation(Aws::String &&value)
Definition: DescribeGameSessionDetailsRequest.h:205
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::SetFleetId
void SetFleetId(const Aws::String &value)
Definition: DescribeGameSessionDetailsRequest.h:56
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::SetGameSessionId
void SetGameSessionId(Aws::String &&value)
Definition: DescribeGameSessionDetailsRequest.h:107
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::WithFleetId
DescribeGameSessionDetailsRequest & WithFleetId(const char *value)
Definition: DescribeGameSessionDetailsRequest.h:86
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::SetFleetId
void SetFleetId(const char *value)
Definition: DescribeGameSessionDetailsRequest.h:68
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::StatusFilterHasBeenSet
bool StatusFilterHasBeenSet() const
Definition: DescribeGameSessionDetailsRequest.h:248
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::SetAliasId
void SetAliasId(const char *value)
Definition: DescribeGameSessionDetailsRequest.h:158
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::WithAliasId
DescribeGameSessionDetailsRequest & WithAliasId(const char *value)
Definition: DescribeGameSessionDetailsRequest.h:176
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeGameSessionDetailsRequest.h:323
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::GetFleetId
const Aws::String & GetFleetId() const
Definition: DescribeGameSessionDetailsRequest.h:44
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::WithGameSessionId
DescribeGameSessionDetailsRequest & WithGameSessionId(const char *value)
Definition: DescribeGameSessionDetailsRequest.h:127
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::SetGameSessionId
void SetGameSessionId(const Aws::String &value)
Definition: DescribeGameSessionDetailsRequest.h:102
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::GetLocation
const Aws::String & GetLocation() const
Definition: DescribeGameSessionDetailsRequest.h:184
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::WithLimit
DescribeGameSessionDetailsRequest & WithLimit(int value)
Definition: DescribeGameSessionDetailsRequest.h:315
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::GetGameSessionId
const Aws::String & GetGameSessionId() const
Definition: DescribeGameSessionDetailsRequest.h:92
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::WithStatusFilter
DescribeGameSessionDetailsRequest & WithStatusFilter(Aws::String &&value)
Definition: DescribeGameSessionDetailsRequest.h:283
GameLift_EXPORTS.h
GameLiftRequest.h
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::WithAliasId
DescribeGameSessionDetailsRequest & WithAliasId(Aws::String &&value)
Definition: DescribeGameSessionDetailsRequest.h:170
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::WithFleetId
DescribeGameSessionDetailsRequest & WithFleetId(const Aws::String &value)
Definition: DescribeGameSessionDetailsRequest.h:74
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeGameSessionDetailsRequest.h:330
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::WithStatusFilter
DescribeGameSessionDetailsRequest & WithStatusFilter(const Aws::String &value)
Definition: DescribeGameSessionDetailsRequest.h:276
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::FleetIdHasBeenSet
bool FleetIdHasBeenSet() const
Definition: DescribeGameSessionDetailsRequest.h:50
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::SetStatusFilter
void SetStatusFilter(Aws::String &&value)
Definition: DescribeGameSessionDetailsRequest.h:262
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::WithLocation
DescribeGameSessionDetailsRequest & WithLocation(const char *value)
Definition: DescribeGameSessionDetailsRequest.h:233
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::DescribeGameSessionDetailsRequest
DescribeGameSessionDetailsRequest()
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::SetStatusFilter
void SetStatusFilter(const Aws::String &value)
Definition: DescribeGameSessionDetailsRequest.h:255
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::WithStatusFilter
DescribeGameSessionDetailsRequest & WithStatusFilter(const char *value)
Definition: DescribeGameSessionDetailsRequest.h:290
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::SetLocation
void SetLocation(const char *value)
Definition: DescribeGameSessionDetailsRequest.h:212
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::SetLimit
void SetLimit(int value)
Definition: DescribeGameSessionDetailsRequest.h:309
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::SetAliasId
void SetAliasId(const Aws::String &value)
Definition: DescribeGameSessionDetailsRequest.h:146
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::WithNextToken
DescribeGameSessionDetailsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeGameSessionDetailsRequest.h:365
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeGameSessionDetailsRequest.h:33
AWSString.h
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeGameSessionDetailsRequest.h:351
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::AliasIdHasBeenSet
bool AliasIdHasBeenSet() const
Definition: DescribeGameSessionDetailsRequest.h:140
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::WithFleetId
DescribeGameSessionDetailsRequest & WithFleetId(Aws::String &&value)
Definition: DescribeGameSessionDetailsRequest.h:80
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::LocationHasBeenSet
bool LocationHasBeenSet() const
Definition: DescribeGameSessionDetailsRequest.h:191
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::GetStatusFilter
const Aws::String & GetStatusFilter() const
Definition: DescribeGameSessionDetailsRequest.h:241
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeGameSessionDetailsRequest.h:344
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::WithLocation
DescribeGameSessionDetailsRequest & WithLocation(const Aws::String &value)
Definition: DescribeGameSessionDetailsRequest.h:219
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::DescribeGameSessionDetailsRequest
Definition: DescribeGameSessionDetailsRequest.h:25
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::WithLocation
DescribeGameSessionDetailsRequest & WithLocation(Aws::String &&value)
Definition: DescribeGameSessionDetailsRequest.h:226
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::SetAliasId
void SetAliasId(Aws::String &&value)
Definition: DescribeGameSessionDetailsRequest.h:152
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::WithNextToken
DescribeGameSessionDetailsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeGameSessionDetailsRequest.h:358
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::GameSessionIdHasBeenSet
bool GameSessionIdHasBeenSet() const
Definition: DescribeGameSessionDetailsRequest.h:97
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: DescribeGameSessionDetailsRequest.h:303
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeGameSessionDetailsRequest.h:337
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::WithGameSessionId
DescribeGameSessionDetailsRequest & WithGameSessionId(const Aws::String &value)
Definition: DescribeGameSessionDetailsRequest.h:117
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::WithNextToken
DescribeGameSessionDetailsRequest & WithNextToken(const char *value)
Definition: DescribeGameSessionDetailsRequest.h:372
Aws::GameLift::Model::DescribeGameSessionDetailsRequest::SetGameSessionId
void SetGameSessionId(const char *value)
Definition: DescribeGameSessionDetailsRequest.h:112