AWS SDK for C++  0.14.3
AWS SDK for C++
SearchGameSessionsRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 namespace GameLift
23 {
24 namespace Model
25 {
26 
31  {
32  public:
34  Aws::String SerializePayload() const override;
35 
36  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37 
42  inline const Aws::String& GetFleetId() const{ return m_fleetId; }
43 
48  inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
49 
54  inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
55 
60  inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
61 
66  inline SearchGameSessionsRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
67 
72  inline SearchGameSessionsRequest& WithFleetId(Aws::String&& value) { SetFleetId(value); return *this;}
73 
78  inline SearchGameSessionsRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
79 
84  inline const Aws::String& GetAliasId() const{ return m_aliasId; }
85 
90  inline void SetAliasId(const Aws::String& value) { m_aliasIdHasBeenSet = true; m_aliasId = value; }
91 
96  inline void SetAliasId(Aws::String&& value) { m_aliasIdHasBeenSet = true; m_aliasId = value; }
97 
102  inline void SetAliasId(const char* value) { m_aliasIdHasBeenSet = true; m_aliasId.assign(value); }
103 
108  inline SearchGameSessionsRequest& WithAliasId(const Aws::String& value) { SetAliasId(value); return *this;}
109 
114  inline SearchGameSessionsRequest& WithAliasId(Aws::String&& value) { SetAliasId(value); return *this;}
115 
120  inline SearchGameSessionsRequest& WithAliasId(const char* value) { SetAliasId(value); return *this;}
121 
152  inline const Aws::String& GetFilterExpression() const{ return m_filterExpression; }
153 
184  inline void SetFilterExpression(const Aws::String& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = value; }
185 
216  inline void SetFilterExpression(Aws::String&& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = value; }
217 
248  inline void SetFilterExpression(const char* value) { m_filterExpressionHasBeenSet = true; m_filterExpression.assign(value); }
249 
280  inline SearchGameSessionsRequest& WithFilterExpression(const Aws::String& value) { SetFilterExpression(value); return *this;}
281 
312  inline SearchGameSessionsRequest& WithFilterExpression(Aws::String&& value) { SetFilterExpression(value); return *this;}
313 
344  inline SearchGameSessionsRequest& WithFilterExpression(const char* value) { SetFilterExpression(value); return *this;}
345 
359  inline const Aws::String& GetSortExpression() const{ return m_sortExpression; }
360 
374  inline void SetSortExpression(const Aws::String& value) { m_sortExpressionHasBeenSet = true; m_sortExpression = value; }
375 
389  inline void SetSortExpression(Aws::String&& value) { m_sortExpressionHasBeenSet = true; m_sortExpression = value; }
390 
404  inline void SetSortExpression(const char* value) { m_sortExpressionHasBeenSet = true; m_sortExpression.assign(value); }
405 
419  inline SearchGameSessionsRequest& WithSortExpression(const Aws::String& value) { SetSortExpression(value); return *this;}
420 
434  inline SearchGameSessionsRequest& WithSortExpression(Aws::String&& value) { SetSortExpression(value); return *this;}
435 
449  inline SearchGameSessionsRequest& WithSortExpression(const char* value) { SetSortExpression(value); return *this;}
450 
457  inline int GetLimit() const{ return m_limit; }
458 
465  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
466 
473  inline SearchGameSessionsRequest& WithLimit(int value) { SetLimit(value); return *this;}
474 
480  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
481 
487  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
488 
494  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
495 
501  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
502 
508  inline SearchGameSessionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
509 
515  inline SearchGameSessionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(value); return *this;}
516 
522  inline SearchGameSessionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
523 
524  private:
525  Aws::String m_fleetId;
526  bool m_fleetIdHasBeenSet;
527  Aws::String m_aliasId;
528  bool m_aliasIdHasBeenSet;
529  Aws::String m_filterExpression;
530  bool m_filterExpressionHasBeenSet;
531  Aws::String m_sortExpression;
532  bool m_sortExpressionHasBeenSet;
533  int m_limit;
534  bool m_limitHasBeenSet;
535  Aws::String m_nextToken;
536  bool m_nextTokenHasBeenSet;
537  };
538 
539 } // namespace Model
540 } // namespace GameLift
541 } // namespace Aws
SearchGameSessionsRequest & WithFleetId(const Aws::String &value)
SearchGameSessionsRequest & WithFilterExpression(Aws::String &&value)
SearchGameSessionsRequest & WithFleetId(Aws::String &&value)
#define AWS_GAMELIFT_API
SearchGameSessionsRequest & WithSortExpression(Aws::String &&value)
SearchGameSessionsRequest & WithNextToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
SearchGameSessionsRequest & WithNextToken(const Aws::String &value)
SearchGameSessionsRequest & WithSortExpression(const Aws::String &value)
SearchGameSessionsRequest & WithAliasId(Aws::String &&value)
SearchGameSessionsRequest & WithFleetId(const char *value)
SearchGameSessionsRequest & WithAliasId(const Aws::String &value)
SearchGameSessionsRequest & WithLimit(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SearchGameSessionsRequest & WithAliasId(const char *value)
SearchGameSessionsRequest & WithSortExpression(const char *value)
SearchGameSessionsRequest & WithFilterExpression(const Aws::String &value)
SearchGameSessionsRequest & WithNextToken(const char *value)
SearchGameSessionsRequest & WithFilterExpression(const char *value)
JSON (JavaScript Object Notation).