AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
DescribeGameSessionDetailsRequest.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 DescribeGameSessionDetailsRequest() = 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 "DescribeGameSessionDetails"; }
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
115 inline const Aws::String& GetStatusFilter() const { return m_statusFilter; }
116 inline bool StatusFilterHasBeenSet() const { return m_statusFilterHasBeenSet; }
117 template <typename StatusFilterT = Aws::String>
118 void SetStatusFilter(StatusFilterT&& value) {
119 m_statusFilterHasBeenSet = true;
120 m_statusFilter = std::forward<StatusFilterT>(value);
121 }
122 template <typename StatusFilterT = Aws::String>
124 SetStatusFilter(std::forward<StatusFilterT>(value));
125 return *this;
126 }
128
130
134 inline int GetLimit() const { return m_limit; }
135 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
136 inline void SetLimit(int value) {
137 m_limitHasBeenSet = true;
138 m_limit = value;
139 }
141 SetLimit(value);
142 return *this;
143 }
145
147
152 inline const Aws::String& GetNextToken() const { return m_nextToken; }
153 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
154 template <typename NextTokenT = Aws::String>
155 void SetNextToken(NextTokenT&& value) {
156 m_nextTokenHasBeenSet = true;
157 m_nextToken = std::forward<NextTokenT>(value);
158 }
159 template <typename NextTokenT = Aws::String>
161 SetNextToken(std::forward<NextTokenT>(value));
162 return *this;
163 }
165 private:
166 Aws::String m_fleetId;
167 bool m_fleetIdHasBeenSet = false;
168
169 Aws::String m_gameSessionId;
170 bool m_gameSessionIdHasBeenSet = false;
171
172 Aws::String m_aliasId;
173 bool m_aliasIdHasBeenSet = false;
174
175 Aws::String m_location;
176 bool m_locationHasBeenSet = false;
177
178 Aws::String m_statusFilter;
179 bool m_statusFilterHasBeenSet = false;
180
181 int m_limit{0};
182 bool m_limitHasBeenSet = false;
183
184 Aws::String m_nextToken;
185 bool m_nextTokenHasBeenSet = false;
186};
187
188} // namespace Model
189} // namespace GameLift
190} // namespace Aws
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeGameSessionDetailsRequest & WithNextToken(NextTokenT &&value)
DescribeGameSessionDetailsRequest & WithAliasId(AliasIdT &&value)
AWS_GAMELIFT_API DescribeGameSessionDetailsRequest()=default
DescribeGameSessionDetailsRequest & WithGameSessionId(GameSessionIdT &&value)
DescribeGameSessionDetailsRequest & WithStatusFilter(StatusFilterT &&value)
DescribeGameSessionDetailsRequest & WithLocation(LocationT &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
DescribeGameSessionDetailsRequest & WithFleetId(FleetIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String