AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SearchGameSessionsRequest.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace GameLift
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_GAMELIFT_API SearchGameSessionsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "SearchGameSessions"; }
31
32 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
33
35
36
38
43 inline const Aws::String& GetFleetId() const { return m_fleetId; }
44 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
45 template<typename FleetIdT = Aws::String>
46 void SetFleetId(FleetIdT&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::forward<FleetIdT>(value); }
47 template<typename FleetIdT = Aws::String>
48 SearchGameSessionsRequest& WithFleetId(FleetIdT&& value) { SetFleetId(std::forward<FleetIdT>(value)); return *this;}
50
52
57 inline const Aws::String& GetAliasId() const { return m_aliasId; }
58 inline bool AliasIdHasBeenSet() const { return m_aliasIdHasBeenSet; }
59 template<typename AliasIdT = Aws::String>
60 void SetAliasId(AliasIdT&& value) { m_aliasIdHasBeenSet = true; m_aliasId = std::forward<AliasIdT>(value); }
61 template<typename AliasIdT = Aws::String>
62 SearchGameSessionsRequest& WithAliasId(AliasIdT&& value) { SetAliasId(std::forward<AliasIdT>(value)); return *this;}
64
66
71 inline const Aws::String& GetLocation() const { return m_location; }
72 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
73 template<typename LocationT = Aws::String>
74 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
75 template<typename LocationT = Aws::String>
76 SearchGameSessionsRequest& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
78
80
111 inline const Aws::String& GetFilterExpression() const { return m_filterExpression; }
112 inline bool FilterExpressionHasBeenSet() const { return m_filterExpressionHasBeenSet; }
113 template<typename FilterExpressionT = Aws::String>
114 void SetFilterExpression(FilterExpressionT&& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = std::forward<FilterExpressionT>(value); }
115 template<typename FilterExpressionT = Aws::String>
116 SearchGameSessionsRequest& WithFilterExpression(FilterExpressionT&& value) { SetFilterExpression(std::forward<FilterExpressionT>(value)); return *this;}
118
120
134 inline const Aws::String& GetSortExpression() const { return m_sortExpression; }
135 inline bool SortExpressionHasBeenSet() const { return m_sortExpressionHasBeenSet; }
136 template<typename SortExpressionT = Aws::String>
137 void SetSortExpression(SortExpressionT&& value) { m_sortExpressionHasBeenSet = true; m_sortExpression = std::forward<SortExpressionT>(value); }
138 template<typename SortExpressionT = Aws::String>
139 SearchGameSessionsRequest& WithSortExpression(SortExpressionT&& value) { SetSortExpression(std::forward<SortExpressionT>(value)); return *this;}
141
143
149 inline int GetLimit() const { return m_limit; }
150 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
151 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
152 inline SearchGameSessionsRequest& WithLimit(int value) { SetLimit(value); return *this;}
154
156
161 inline const Aws::String& GetNextToken() const { return m_nextToken; }
162 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
163 template<typename NextTokenT = Aws::String>
164 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
165 template<typename NextTokenT = Aws::String>
166 SearchGameSessionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
168 private:
169
170 Aws::String m_fleetId;
171 bool m_fleetIdHasBeenSet = false;
172
173 Aws::String m_aliasId;
174 bool m_aliasIdHasBeenSet = false;
175
176 Aws::String m_location;
177 bool m_locationHasBeenSet = false;
178
179 Aws::String m_filterExpression;
180 bool m_filterExpressionHasBeenSet = false;
181
182 Aws::String m_sortExpression;
183 bool m_sortExpressionHasBeenSet = false;
184
185 int m_limit{0};
186 bool m_limitHasBeenSet = false;
187
188 Aws::String m_nextToken;
189 bool m_nextTokenHasBeenSet = false;
190 };
191
192} // namespace Model
193} // namespace GameLift
194} // namespace Aws
SearchGameSessionsRequest & WithNextToken(NextTokenT &&value)
SearchGameSessionsRequest & WithAliasId(AliasIdT &&value)
SearchGameSessionsRequest & WithFleetId(FleetIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SearchGameSessionsRequest & WithFilterExpression(FilterExpressionT &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
AWS_GAMELIFT_API SearchGameSessionsRequest()=default
SearchGameSessionsRequest & WithSortExpression(SortExpressionT &&value)
SearchGameSessionsRequest & WithLocation(LocationT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String