AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
DescribeGameSessionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace GameLift {
15namespace Model {
16
20 public:
21 AWS_GAMELIFT_API DescribeGameSessionsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeGameSessions"; }
28
29 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
30
32
34
38 inline const Aws::String& GetFleetId() const { return m_fleetId; }
39 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
40 template <typename FleetIdT = Aws::String>
41 void SetFleetId(FleetIdT&& value) {
42 m_fleetIdHasBeenSet = true;
43 m_fleetId = std::forward<FleetIdT>(value);
44 }
45 template <typename FleetIdT = Aws::String>
47 SetFleetId(std::forward<FleetIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetGameSessionId() const { return m_gameSessionId; }
57 inline bool GameSessionIdHasBeenSet() const { return m_gameSessionIdHasBeenSet; }
58 template <typename GameSessionIdT = Aws::String>
59 void SetGameSessionId(GameSessionIdT&& value) {
60 m_gameSessionIdHasBeenSet = true;
61 m_gameSessionId = std::forward<GameSessionIdT>(value);
62 }
63 template <typename GameSessionIdT = Aws::String>
65 SetGameSessionId(std::forward<GameSessionIdT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetAliasId() const { return m_aliasId; }
76 inline bool AliasIdHasBeenSet() const { return m_aliasIdHasBeenSet; }
77 template <typename AliasIdT = Aws::String>
78 void SetAliasId(AliasIdT&& value) {
79 m_aliasIdHasBeenSet = true;
80 m_aliasId = std::forward<AliasIdT>(value);
81 }
82 template <typename AliasIdT = Aws::String>
84 SetAliasId(std::forward<AliasIdT>(value));
85 return *this;
86 }
88
90
95 inline const Aws::String& GetLocation() const { return m_location; }
96 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
97 template <typename LocationT = Aws::String>
98 void SetLocation(LocationT&& value) {
99 m_locationHasBeenSet = true;
100 m_location = std::forward<LocationT>(value);
101 }
102 template <typename LocationT = Aws::String>
104 SetLocation(std::forward<LocationT>(value));
105 return *this;
106 }
108
110
116 inline const Aws::String& GetStatusFilter() const { return m_statusFilter; }
117 inline bool StatusFilterHasBeenSet() const { return m_statusFilterHasBeenSet; }
118 template <typename StatusFilterT = Aws::String>
119 void SetStatusFilter(StatusFilterT&& value) {
120 m_statusFilterHasBeenSet = true;
121 m_statusFilter = std::forward<StatusFilterT>(value);
122 }
123 template <typename StatusFilterT = Aws::String>
125 SetStatusFilter(std::forward<StatusFilterT>(value));
126 return *this;
127 }
129
131
135 inline int GetLimit() const { return m_limit; }
136 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
137 inline void SetLimit(int value) {
138 m_limitHasBeenSet = true;
139 m_limit = value;
140 }
142 SetLimit(value);
143 return *this;
144 }
146
148
153 inline const Aws::String& GetNextToken() const { return m_nextToken; }
154 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
155 template <typename NextTokenT = Aws::String>
156 void SetNextToken(NextTokenT&& value) {
157 m_nextTokenHasBeenSet = true;
158 m_nextToken = std::forward<NextTokenT>(value);
159 }
160 template <typename NextTokenT = Aws::String>
162 SetNextToken(std::forward<NextTokenT>(value));
163 return *this;
164 }
166 private:
167 Aws::String m_fleetId;
168 bool m_fleetIdHasBeenSet = false;
169
170 Aws::String m_gameSessionId;
171 bool m_gameSessionIdHasBeenSet = 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_statusFilter;
180 bool m_statusFilterHasBeenSet = false;
181
182 int m_limit{0};
183 bool m_limitHasBeenSet = false;
184
185 Aws::String m_nextToken;
186 bool m_nextTokenHasBeenSet = false;
187};
188
189} // namespace Model
190} // namespace GameLift
191} // namespace Aws
virtual const char * GetServiceRequestName() const override
DescribeGameSessionsRequest & WithLocation(LocationT &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
DescribeGameSessionsRequest & WithGameSessionId(GameSessionIdT &&value)
AWS_GAMELIFT_API DescribeGameSessionsRequest()=default
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeGameSessionsRequest & WithAliasId(AliasIdT &&value)
DescribeGameSessionsRequest & WithStatusFilter(StatusFilterT &&value)
DescribeGameSessionsRequest & WithFleetId(FleetIdT &&value)
DescribeGameSessionsRequest & WithNextToken(NextTokenT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String