AWS SDK for C++  1.9.108
AWS SDK for C++
SearchGameSessionsRequest.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 "SearchGameSessions"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
45  inline const Aws::String& GetFleetId() const{ return m_fleetId; }
46 
52  inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
53 
59  inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
60 
66  inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
67 
73  inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
74 
80  inline SearchGameSessionsRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
81 
87  inline SearchGameSessionsRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
88 
94  inline SearchGameSessionsRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
95 
96 
102  inline const Aws::String& GetAliasId() const{ return m_aliasId; }
103 
109  inline bool AliasIdHasBeenSet() const { return m_aliasIdHasBeenSet; }
110 
116  inline void SetAliasId(const Aws::String& value) { m_aliasIdHasBeenSet = true; m_aliasId = value; }
117 
123  inline void SetAliasId(Aws::String&& value) { m_aliasIdHasBeenSet = true; m_aliasId = std::move(value); }
124 
130  inline void SetAliasId(const char* value) { m_aliasIdHasBeenSet = true; m_aliasId.assign(value); }
131 
137  inline SearchGameSessionsRequest& WithAliasId(const Aws::String& value) { SetAliasId(value); return *this;}
138 
144  inline SearchGameSessionsRequest& WithAliasId(Aws::String&& value) { SetAliasId(std::move(value)); return *this;}
145 
151  inline SearchGameSessionsRequest& WithAliasId(const char* value) { SetAliasId(value); return *this;}
152 
153 
159  inline const Aws::String& GetLocation() const{ return m_location; }
160 
166  inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
167 
173  inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
174 
180  inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
181 
187  inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
188 
194  inline SearchGameSessionsRequest& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
195 
201  inline SearchGameSessionsRequest& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
202 
208  inline SearchGameSessionsRequest& WithLocation(const char* value) { SetLocation(value); return *this;}
209 
210 
242  inline const Aws::String& GetFilterExpression() const{ return m_filterExpression; }
243 
275  inline bool FilterExpressionHasBeenSet() const { return m_filterExpressionHasBeenSet; }
276 
308  inline void SetFilterExpression(const Aws::String& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = value; }
309 
341  inline void SetFilterExpression(Aws::String&& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = std::move(value); }
342 
374  inline void SetFilterExpression(const char* value) { m_filterExpressionHasBeenSet = true; m_filterExpression.assign(value); }
375 
407  inline SearchGameSessionsRequest& WithFilterExpression(const Aws::String& value) { SetFilterExpression(value); return *this;}
408 
440  inline SearchGameSessionsRequest& WithFilterExpression(Aws::String&& value) { SetFilterExpression(std::move(value)); return *this;}
441 
473  inline SearchGameSessionsRequest& WithFilterExpression(const char* value) { SetFilterExpression(value); return *this;}
474 
475 
490  inline const Aws::String& GetSortExpression() const{ return m_sortExpression; }
491 
506  inline bool SortExpressionHasBeenSet() const { return m_sortExpressionHasBeenSet; }
507 
522  inline void SetSortExpression(const Aws::String& value) { m_sortExpressionHasBeenSet = true; m_sortExpression = value; }
523 
538  inline void SetSortExpression(Aws::String&& value) { m_sortExpressionHasBeenSet = true; m_sortExpression = std::move(value); }
539 
554  inline void SetSortExpression(const char* value) { m_sortExpressionHasBeenSet = true; m_sortExpression.assign(value); }
555 
570  inline SearchGameSessionsRequest& WithSortExpression(const Aws::String& value) { SetSortExpression(value); return *this;}
571 
586  inline SearchGameSessionsRequest& WithSortExpression(Aws::String&& value) { SetSortExpression(std::move(value)); return *this;}
587 
602  inline SearchGameSessionsRequest& WithSortExpression(const char* value) { SetSortExpression(value); return *this;}
603 
604 
611  inline int GetLimit() const{ return m_limit; }
612 
619  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
620 
627  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
628 
635  inline SearchGameSessionsRequest& WithLimit(int value) { SetLimit(value); return *this;}
636 
637 
643  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
644 
650  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
651 
657  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
658 
664  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
665 
671  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
672 
678  inline SearchGameSessionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
679 
685  inline SearchGameSessionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
686 
692  inline SearchGameSessionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
693 
694  private:
695 
696  Aws::String m_fleetId;
697  bool m_fleetIdHasBeenSet;
698 
699  Aws::String m_aliasId;
700  bool m_aliasIdHasBeenSet;
701 
702  Aws::String m_location;
703  bool m_locationHasBeenSet;
704 
705  Aws::String m_filterExpression;
706  bool m_filterExpressionHasBeenSet;
707 
708  Aws::String m_sortExpression;
709  bool m_sortExpressionHasBeenSet;
710 
711  int m_limit;
712  bool m_limitHasBeenSet;
713 
714  Aws::String m_nextToken;
715  bool m_nextTokenHasBeenSet;
716  };
717 
718 } // namespace Model
719 } // namespace GameLift
720 } // namespace Aws
Aws::GameLift::Model::SearchGameSessionsRequest::WithSortExpression
SearchGameSessionsRequest & WithSortExpression(const char *value)
Definition: SearchGameSessionsRequest.h:602
Aws::GameLift::Model::SearchGameSessionsRequest::WithLocation
SearchGameSessionsRequest & WithLocation(Aws::String &&value)
Definition: SearchGameSessionsRequest.h:201
Aws::GameLift::Model::SearchGameSessionsRequest::SetFleetId
void SetFleetId(Aws::String &&value)
Definition: SearchGameSessionsRequest.h:66
Aws::GameLift::Model::SearchGameSessionsRequest::WithSortExpression
SearchGameSessionsRequest & WithSortExpression(const Aws::String &value)
Definition: SearchGameSessionsRequest.h:570
Aws::GameLift::Model::SearchGameSessionsRequest::SetLocation
void SetLocation(const Aws::String &value)
Definition: SearchGameSessionsRequest.h:173
Aws::GameLift::Model::SearchGameSessionsRequest::FleetIdHasBeenSet
bool FleetIdHasBeenSet() const
Definition: SearchGameSessionsRequest.h:52
Aws::GameLift::Model::SearchGameSessionsRequest::SetLocation
void SetLocation(const char *value)
Definition: SearchGameSessionsRequest.h:187
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::SearchGameSessionsRequest::WithAliasId
SearchGameSessionsRequest & WithAliasId(const char *value)
Definition: SearchGameSessionsRequest.h:151
Aws::GameLift::Model::SearchGameSessionsRequest::GetSortExpression
const Aws::String & GetSortExpression() const
Definition: SearchGameSessionsRequest.h:490
Aws::GameLift::Model::SearchGameSessionsRequest::WithFleetId
SearchGameSessionsRequest & WithFleetId(const char *value)
Definition: SearchGameSessionsRequest.h:94
Aws::GameLift::Model::SearchGameSessionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: SearchGameSessionsRequest.h:650
Aws::GameLift::Model::SearchGameSessionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::SearchGameSessionsRequest::GetFilterExpression
const Aws::String & GetFilterExpression() const
Definition: SearchGameSessionsRequest.h:242
Aws::GameLift::Model::SearchGameSessionsRequest::SetFilterExpression
void SetFilterExpression(Aws::String &&value)
Definition: SearchGameSessionsRequest.h:341
Aws::GameLift::Model::SearchGameSessionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: SearchGameSessionsRequest.h:657
Aws::GameLift::Model::SearchGameSessionsRequest::SetLocation
void SetLocation(Aws::String &&value)
Definition: SearchGameSessionsRequest.h:180
Aws::GameLift::Model::SearchGameSessionsRequest::WithLocation
SearchGameSessionsRequest & WithLocation(const Aws::String &value)
Definition: SearchGameSessionsRequest.h:194
Aws::GameLift::Model::SearchGameSessionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: SearchGameSessionsRequest.h:664
Aws::GameLift::Model::SearchGameSessionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SearchGameSessionsRequest.h:33
Aws::GameLift::Model::SearchGameSessionsRequest::LocationHasBeenSet
bool LocationHasBeenSet() const
Definition: SearchGameSessionsRequest.h:166
Aws::GameLift::Model::SearchGameSessionsRequest::WithLocation
SearchGameSessionsRequest & WithLocation(const char *value)
Definition: SearchGameSessionsRequest.h:208
Aws::GameLift::Model::SearchGameSessionsRequest::GetFleetId
const Aws::String & GetFleetId() const
Definition: SearchGameSessionsRequest.h:45
Aws::GameLift::Model::SearchGameSessionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: SearchGameSessionsRequest.h:643
Aws::GameLift::Model::SearchGameSessionsRequest::SetAliasId
void SetAliasId(Aws::String &&value)
Definition: SearchGameSessionsRequest.h:123
Aws::GameLift::Model::SearchGameSessionsRequest::WithAliasId
SearchGameSessionsRequest & WithAliasId(const Aws::String &value)
Definition: SearchGameSessionsRequest.h:137
Aws::GameLift::Model::SearchGameSessionsRequest::WithFleetId
SearchGameSessionsRequest & WithFleetId(const Aws::String &value)
Definition: SearchGameSessionsRequest.h:80
Aws::GameLift::Model::SearchGameSessionsRequest::SetSortExpression
void SetSortExpression(const char *value)
Definition: SearchGameSessionsRequest.h:554
Aws::GameLift::Model::SearchGameSessionsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: SearchGameSessionsRequest.h:619
Aws::GameLift::Model::SearchGameSessionsRequest::FilterExpressionHasBeenSet
bool FilterExpressionHasBeenSet() const
Definition: SearchGameSessionsRequest.h:275
Aws::GameLift::Model::SearchGameSessionsRequest::WithNextToken
SearchGameSessionsRequest & WithNextToken(const char *value)
Definition: SearchGameSessionsRequest.h:692
GameLift_EXPORTS.h
Aws::GameLift::Model::SearchGameSessionsRequest::SetSortExpression
void SetSortExpression(const Aws::String &value)
Definition: SearchGameSessionsRequest.h:522
Aws::GameLift::Model::SearchGameSessionsRequest::SetAliasId
void SetAliasId(const char *value)
Definition: SearchGameSessionsRequest.h:130
GameLiftRequest.h
Aws::GameLift::Model::SearchGameSessionsRequest::WithFleetId
SearchGameSessionsRequest & WithFleetId(Aws::String &&value)
Definition: SearchGameSessionsRequest.h:87
Aws::GameLift::Model::SearchGameSessionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GameLift::Model::SearchGameSessionsRequest::SetLimit
void SetLimit(int value)
Definition: SearchGameSessionsRequest.h:627
Aws::GameLift::Model::SearchGameSessionsRequest::WithLimit
SearchGameSessionsRequest & WithLimit(int value)
Definition: SearchGameSessionsRequest.h:635
Aws::GameLift::Model::SearchGameSessionsRequest::SetAliasId
void SetAliasId(const Aws::String &value)
Definition: SearchGameSessionsRequest.h:116
Aws::GameLift::Model::SearchGameSessionsRequest::WithSortExpression
SearchGameSessionsRequest & WithSortExpression(Aws::String &&value)
Definition: SearchGameSessionsRequest.h:586
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
AWSString.h
Aws::GameLift::Model::SearchGameSessionsRequest
Definition: SearchGameSessionsRequest.h:25
Aws::GameLift::Model::SearchGameSessionsRequest::SearchGameSessionsRequest
SearchGameSessionsRequest()
Aws::GameLift::Model::SearchGameSessionsRequest::SetFleetId
void SetFleetId(const char *value)
Definition: SearchGameSessionsRequest.h:73
Aws::GameLift::Model::SearchGameSessionsRequest::WithNextToken
SearchGameSessionsRequest & WithNextToken(Aws::String &&value)
Definition: SearchGameSessionsRequest.h:685
Aws::GameLift::Model::SearchGameSessionsRequest::GetLocation
const Aws::String & GetLocation() const
Definition: SearchGameSessionsRequest.h:159
Aws::GameLift::Model::SearchGameSessionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: SearchGameSessionsRequest.h:671
Aws::GameLift::Model::SearchGameSessionsRequest::WithFilterExpression
SearchGameSessionsRequest & WithFilterExpression(const Aws::String &value)
Definition: SearchGameSessionsRequest.h:407
Aws::GameLift::Model::SearchGameSessionsRequest::SetFilterExpression
void SetFilterExpression(const Aws::String &value)
Definition: SearchGameSessionsRequest.h:308
Aws::GameLift::Model::SearchGameSessionsRequest::SortExpressionHasBeenSet
bool SortExpressionHasBeenSet() const
Definition: SearchGameSessionsRequest.h:506
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::SearchGameSessionsRequest::WithAliasId
SearchGameSessionsRequest & WithAliasId(Aws::String &&value)
Definition: SearchGameSessionsRequest.h:144
Aws::GameLift::Model::SearchGameSessionsRequest::WithNextToken
SearchGameSessionsRequest & WithNextToken(const Aws::String &value)
Definition: SearchGameSessionsRequest.h:678
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::SearchGameSessionsRequest::AliasIdHasBeenSet
bool AliasIdHasBeenSet() const
Definition: SearchGameSessionsRequest.h:109
Aws::GameLift::Model::SearchGameSessionsRequest::GetLimit
int GetLimit() const
Definition: SearchGameSessionsRequest.h:611
Aws::GameLift::Model::SearchGameSessionsRequest::WithFilterExpression
SearchGameSessionsRequest & WithFilterExpression(Aws::String &&value)
Definition: SearchGameSessionsRequest.h:440
Aws::GameLift::Model::SearchGameSessionsRequest::GetAliasId
const Aws::String & GetAliasId() const
Definition: SearchGameSessionsRequest.h:102
Aws::GameLift::Model::SearchGameSessionsRequest::SetSortExpression
void SetSortExpression(Aws::String &&value)
Definition: SearchGameSessionsRequest.h:538
Aws::GameLift::Model::SearchGameSessionsRequest::SetFilterExpression
void SetFilterExpression(const char *value)
Definition: SearchGameSessionsRequest.h:374
Aws::GameLift::Model::SearchGameSessionsRequest::SetFleetId
void SetFleetId(const Aws::String &value)
Definition: SearchGameSessionsRequest.h:59
Aws::GameLift::Model::SearchGameSessionsRequest::WithFilterExpression
SearchGameSessionsRequest & WithFilterExpression(const char *value)
Definition: SearchGameSessionsRequest.h:473