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/DesiredPlayerSession.h>
12#include <aws/gamelift/model/GameProperty.h>
13#include <aws/gamelift/model/PlayerLatency.h>
14#include <aws/gamelift/model/PriorityConfigurationOverride.h>
46 template <
typename PlacementIdT = Aws::String>
48 m_placementIdHasBeenSet =
true;
49 m_placementId = std::forward<PlacementIdT>(value);
51 template <
typename PlacementIdT = Aws::String>
65 template <
typename GameSessionQueueNameT = Aws::String>
67 m_gameSessionQueueNameHasBeenSet =
true;
68 m_gameSessionQueueName = std::forward<GameSessionQueueNameT>(value);
70 template <
typename GameSessionQueueNameT = Aws::String>
91 template <
typename GamePropertiesT = Aws::Vector<GameProperty>>
93 m_gamePropertiesHasBeenSet =
true;
94 m_gameProperties = std::forward<GamePropertiesT>(value);
96 template <
typename GamePropertiesT = Aws::Vector<GameProperty>>
101 template <
typename GamePropertiesT = GameProperty>
103 m_gamePropertiesHasBeenSet =
true;
104 m_gameProperties.emplace_back(std::forward<GamePropertiesT>(value));
117 m_maximumPlayerSessionCountHasBeenSet =
true;
118 m_maximumPlayerSessionCount = value;
133 template <
typename GameSessionNameT = Aws::String>
135 m_gameSessionNameHasBeenSet =
true;
136 m_gameSessionName = std::forward<GameSessionNameT>(value);
138 template <
typename GameSessionNameT = Aws::String>
154 template <
typename PlayerLatenciesT = Aws::Vector<PlayerLatency>>
156 m_playerLatenciesHasBeenSet =
true;
157 m_playerLatencies = std::forward<PlayerLatenciesT>(value);
159 template <
typename PlayerLatenciesT = Aws::Vector<PlayerLatency>>
164 template <
typename PlayerLatenciesT = PlayerLatency>
166 m_playerLatenciesHasBeenSet =
true;
167 m_playerLatencies.emplace_back(std::forward<PlayerLatenciesT>(value));
178 template <
typename DesiredPlayerSessionsT = Aws::Vector<DesiredPlayerSession>>
180 m_desiredPlayerSessionsHasBeenSet =
true;
181 m_desiredPlayerSessions = std::forward<DesiredPlayerSessionsT>(value);
183 template <
typename DesiredPlayerSessionsT = Aws::Vector<DesiredPlayerSession>>
188 template <
typename DesiredPlayerSessionsT = DesiredPlayerSession>
190 m_desiredPlayerSessionsHasBeenSet =
true;
191 m_desiredPlayerSessions.emplace_back(std::forward<DesiredPlayerSessionsT>(value));
206 template <
typename GameSessionDataT = Aws::String>
208 m_gameSessionDataHasBeenSet =
true;
209 m_gameSessionData = std::forward<GameSessionDataT>(value);
211 template <
typename GameSessionDataT = Aws::String>
232 template <
typename PriorityConfigurationOverr
ideT = PriorityConfigurationOverr
ide>
234 m_priorityConfigurationOverrideHasBeenSet =
true;
235 m_priorityConfigurationOverride = std::forward<PriorityConfigurationOverrideT>(value);
237 template <
typename PriorityConfigurationOverr
ideT = PriorityConfigurationOverr
ide>
250 int m_maximumPlayerSessionCount{0};
260 PriorityConfigurationOverride m_priorityConfigurationOverride;
261 bool m_placementIdHasBeenSet =
false;
262 bool m_gameSessionQueueNameHasBeenSet =
false;
263 bool m_gamePropertiesHasBeenSet =
false;
264 bool m_maximumPlayerSessionCountHasBeenSet =
false;
265 bool m_gameSessionNameHasBeenSet =
false;
266 bool m_playerLatenciesHasBeenSet =
false;
267 bool m_desiredPlayerSessionsHasBeenSet =
false;
268 bool m_gameSessionDataHasBeenSet =
false;
269 bool m_priorityConfigurationOverrideHasBeenSet =
false;
const PriorityConfigurationOverride & GetPriorityConfigurationOverride() const
const Aws::String & GetPlacementId() const
StartGameSessionPlacementRequest & AddDesiredPlayerSessions(DesiredPlayerSessionsT &&value)
void SetPlayerLatencies(PlayerLatenciesT &&value)
StartGameSessionPlacementRequest & WithPlacementId(PlacementIdT &&value)
bool GameSessionNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetPlacementId(PlacementIdT &&value)
StartGameSessionPlacementRequest & AddPlayerLatencies(PlayerLatenciesT &&value)
const Aws::Vector< GameProperty > & GetGameProperties() const
const Aws::Vector< PlayerLatency > & GetPlayerLatencies() const
void SetPriorityConfigurationOverride(PriorityConfigurationOverrideT &&value)
StartGameSessionPlacementRequest & WithPlayerLatencies(PlayerLatenciesT &&value)
StartGameSessionPlacementRequest & WithGameSessionQueueName(GameSessionQueueNameT &&value)
bool PlayerLatenciesHasBeenSet() const
const Aws::String & GetGameSessionQueueName() const
bool DesiredPlayerSessionsHasBeenSet() const
StartGameSessionPlacementRequest & WithDesiredPlayerSessions(DesiredPlayerSessionsT &&value)
AWS_GAMELIFT_API StartGameSessionPlacementRequest()=default
bool PlacementIdHasBeenSet() const
void SetGameProperties(GamePropertiesT &&value)
void SetGameSessionQueueName(GameSessionQueueNameT &&value)
void SetDesiredPlayerSessions(DesiredPlayerSessionsT &&value)
StartGameSessionPlacementRequest & WithGameSessionData(GameSessionDataT &&value)
StartGameSessionPlacementRequest & WithPriorityConfigurationOverride(PriorityConfigurationOverrideT &&value)
bool GameSessionQueueNameHasBeenSet() const
StartGameSessionPlacementRequest & AddGameProperties(GamePropertiesT &&value)
const Aws::String & GetGameSessionName() const
bool GameSessionDataHasBeenSet() const
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetMaximumPlayerSessionCount(int value)
StartGameSessionPlacementRequest & WithGameSessionName(GameSessionNameT &&value)
bool GamePropertiesHasBeenSet() const
void SetGameSessionData(GameSessionDataT &&value)
StartGameSessionPlacementRequest & WithMaximumPlayerSessionCount(int value)
bool PriorityConfigurationOverrideHasBeenSet() const
void SetGameSessionName(GameSessionNameT &&value)
const Aws::String & GetGameSessionData() const
int GetMaximumPlayerSessionCount() const
AWS_GAMELIFT_API Aws::String SerializePayload() const override
StartGameSessionPlacementRequest & WithGameProperties(GamePropertiesT &&value)
const Aws::Vector< DesiredPlayerSession > & GetDesiredPlayerSessions() const
bool MaximumPlayerSessionCountHasBeenSet() 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