7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/gamelift/GameLiftRequest.h>
10#include <aws/gamelift/GameLift_EXPORTS.h>
11#include <aws/gamelift/model/GameProperty.h>
43 template <
typename FleetIdT = Aws::String>
45 m_fleetIdHasBeenSet =
true;
46 m_fleetId = std::forward<FleetIdT>(value);
48 template <
typename FleetIdT = Aws::String>
63 template <
typename AliasIdT = Aws::String>
65 m_aliasIdHasBeenSet =
true;
66 m_aliasId = std::forward<AliasIdT>(value);
68 template <
typename AliasIdT = Aws::String>
83 m_maximumPlayerSessionCountHasBeenSet =
true;
84 m_maximumPlayerSessionCount = value;
99 template <
typename NameT = Aws::String>
101 m_nameHasBeenSet =
true;
102 m_name = std::forward<NameT>(value);
104 template <
typename NameT = Aws::String>
106 SetName(std::forward<NameT>(value));
124 template <
typename GamePropertiesT = Aws::Vector<GameProperty>>
126 m_gamePropertiesHasBeenSet =
true;
127 m_gameProperties = std::forward<GamePropertiesT>(value);
129 template <
typename GamePropertiesT = Aws::Vector<GameProperty>>
134 template <
typename GamePropertiesT = GameProperty>
136 m_gamePropertiesHasBeenSet =
true;
137 m_gameProperties.emplace_back(std::forward<GamePropertiesT>(value));
158 template <
typename CreatorIdT = Aws::String>
160 m_creatorIdHasBeenSet =
true;
161 m_creatorId = std::forward<CreatorIdT>(value);
163 template <
typename CreatorIdT = Aws::String>
179 template <
typename GameSessionIdT = Aws::String>
181 m_gameSessionIdHasBeenSet =
true;
182 m_gameSessionId = std::forward<GameSessionIdT>(value);
184 template <
typename GameSessionIdT = Aws::String>
206 template <
typename IdempotencyTokenT = Aws::String>
208 m_idempotencyTokenHasBeenSet =
true;
209 m_idempotencyToken = std::forward<IdempotencyTokenT>(value);
211 template <
typename IdempotencyTokenT = Aws::String>
228 template <
typename GameSessionDataT = Aws::String>
230 m_gameSessionDataHasBeenSet =
true;
231 m_gameSessionData = std::forward<GameSessionDataT>(value);
233 template <
typename GameSessionDataT = Aws::String>
250 template <
typename LocationT = Aws::String>
252 m_locationHasBeenSet =
true;
253 m_location = std::forward<LocationT>(value);
255 template <
typename LocationT = Aws::String>
266 int m_maximumPlayerSessionCount{0};
281 bool m_fleetIdHasBeenSet =
false;
282 bool m_aliasIdHasBeenSet =
false;
283 bool m_maximumPlayerSessionCountHasBeenSet =
false;
284 bool m_nameHasBeenSet =
false;
285 bool m_gamePropertiesHasBeenSet =
false;
286 bool m_creatorIdHasBeenSet =
false;
287 bool m_gameSessionIdHasBeenSet =
false;
288 bool m_idempotencyTokenHasBeenSet =
false;
289 bool m_gameSessionDataHasBeenSet =
false;
290 bool m_locationHasBeenSet =
false;
void SetName(NameT &&value)
void SetAliasId(AliasIdT &&value)
CreateGameSessionRequest & WithIdempotencyToken(IdempotencyTokenT &&value)
const Aws::String & GetCreatorId() const
AWS_GAMELIFT_API CreateGameSessionRequest()=default
const Aws::Vector< GameProperty > & GetGameProperties() const
const Aws::String & GetLocation() const
bool NameHasBeenSet() const
int GetMaximumPlayerSessionCount() const
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetMaximumPlayerSessionCount(int value)
CreateGameSessionRequest & WithLocation(LocationT &&value)
CreateGameSessionRequest & WithGameSessionId(GameSessionIdT &&value)
CreateGameSessionRequest & WithGameSessionData(GameSessionDataT &&value)
bool LocationHasBeenSet() const
const Aws::String & GetFleetId() const
void SetGameSessionData(GameSessionDataT &&value)
void SetGameSessionId(GameSessionIdT &&value)
bool AliasIdHasBeenSet() const
CreateGameSessionRequest & WithGameProperties(GamePropertiesT &&value)
virtual const char * GetServiceRequestName() const override
bool FleetIdHasBeenSet() const
AWS_GAMELIFT_API Aws::String SerializePayload() const override
void SetGameProperties(GamePropertiesT &&value)
bool IdempotencyTokenHasBeenSet() const
CreateGameSessionRequest & WithName(NameT &&value)
CreateGameSessionRequest & WithFleetId(FleetIdT &&value)
bool MaximumPlayerSessionCountHasBeenSet() const
const Aws::String & GetName() const
CreateGameSessionRequest & WithAliasId(AliasIdT &&value)
bool GameSessionIdHasBeenSet() const
const Aws::String & GetGameSessionId() const
void SetFleetId(FleetIdT &&value)
bool CreatorIdHasBeenSet() const
const Aws::String & GetGameSessionData() const
CreateGameSessionRequest & AddGameProperties(GamePropertiesT &&value)
bool GamePropertiesHasBeenSet() const
void SetIdempotencyToken(IdempotencyTokenT &&value)
CreateGameSessionRequest & WithMaximumPlayerSessionCount(int value)
void SetLocation(LocationT &&value)
bool GameSessionDataHasBeenSet() const
CreateGameSessionRequest & WithCreatorId(CreatorIdT &&value)
const Aws::String & GetAliasId() const
void SetCreatorId(CreatorIdT &&value)
const Aws::String & GetIdempotencyToken() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector