7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/gamelift/model/GameProperty.h>
47 template<
typename FleetIdT = Aws::String>
48 void SetFleetId(FleetIdT&& value) { m_fleetIdHasBeenSet =
true; m_fleetId = std::forward<FleetIdT>(value); }
49 template<
typename FleetIdT = Aws::String>
61 template<
typename AliasIdT = Aws::String>
62 void SetAliasId(AliasIdT&& value) { m_aliasIdHasBeenSet =
true; m_aliasId = std::forward<AliasIdT>(value); }
63 template<
typename AliasIdT = Aws::String>
85 template<
typename NameT = Aws::String>
86 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
87 template<
typename NameT = Aws::String>
101 template<
typename GamePropertiesT = Aws::Vector<GameProperty>>
102 void SetGameProperties(GamePropertiesT&& value) { m_gamePropertiesHasBeenSet =
true; m_gameProperties = std::forward<GamePropertiesT>(value); }
103 template<
typename GamePropertiesT = Aws::Vector<GameProperty>>
105 template<
typename GamePropertiesT = GameProperty>
125 template<
typename CreatorIdT = Aws::String>
126 void SetCreatorId(CreatorIdT&& value) { m_creatorIdHasBeenSet =
true; m_creatorId = std::forward<CreatorIdT>(value); }
127 template<
typename CreatorIdT = Aws::String>
140 template<
typename GameSessionIdT = Aws::String>
141 void SetGameSessionId(GameSessionIdT&& value) { m_gameSessionIdHasBeenSet =
true; m_gameSessionId = std::forward<GameSessionIdT>(value); }
142 template<
typename GameSessionIdT = Aws::String>
161 template<
typename IdempotencyTokenT = Aws::String>
162 void SetIdempotencyToken(IdempotencyTokenT&& value) { m_idempotencyTokenHasBeenSet =
true; m_idempotencyToken = std::forward<IdempotencyTokenT>(value); }
163 template<
typename IdempotencyTokenT = Aws::String>
177 template<
typename GameSessionDataT = Aws::String>
178 void SetGameSessionData(GameSessionDataT&& value) { m_gameSessionDataHasBeenSet =
true; m_gameSessionData = std::forward<GameSessionDataT>(value); }
179 template<
typename GameSessionDataT = Aws::String>
193 template<
typename LocationT = Aws::String>
194 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
195 template<
typename LocationT = Aws::String>
201 bool m_fleetIdHasBeenSet =
false;
204 bool m_aliasIdHasBeenSet =
false;
206 int m_maximumPlayerSessionCount{0};
207 bool m_maximumPlayerSessionCountHasBeenSet =
false;
210 bool m_nameHasBeenSet =
false;
213 bool m_gamePropertiesHasBeenSet =
false;
216 bool m_creatorIdHasBeenSet =
false;
219 bool m_gameSessionIdHasBeenSet =
false;
222 bool m_idempotencyTokenHasBeenSet =
false;
225 bool m_gameSessionDataHasBeenSet =
false;
228 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