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>
84 template <
typename GamePropertiesT = Aws::Vector<GameProperty>>
86 m_gamePropertiesHasBeenSet =
true;
87 m_gameProperties = std::forward<GamePropertiesT>(value);
89 template <
typename GamePropertiesT = Aws::Vector<GameProperty>>
94 template <
typename GamePropertiesT = GameProperty>
96 m_gamePropertiesHasBeenSet =
true;
97 m_gameProperties.emplace_back(std::forward<GamePropertiesT>(value));
110 m_maximumPlayerSessionCountHasBeenSet =
true;
111 m_maximumPlayerSessionCount = value;
126 template <
typename GameSessionNameT = Aws::String>
128 m_gameSessionNameHasBeenSet =
true;
129 m_gameSessionName = std::forward<GameSessionNameT>(value);
131 template <
typename GameSessionNameT = Aws::String>
147 template <
typename PlayerLatenciesT = Aws::Vector<PlayerLatency>>
149 m_playerLatenciesHasBeenSet =
true;
150 m_playerLatencies = std::forward<PlayerLatenciesT>(value);
152 template <
typename PlayerLatenciesT = Aws::Vector<PlayerLatency>>
157 template <
typename PlayerLatenciesT = PlayerLatency>
159 m_playerLatenciesHasBeenSet =
true;
160 m_playerLatencies.emplace_back(std::forward<PlayerLatenciesT>(value));
171 template <
typename DesiredPlayerSessionsT = Aws::Vector<DesiredPlayerSession>>
173 m_desiredPlayerSessionsHasBeenSet =
true;
174 m_desiredPlayerSessions = std::forward<DesiredPlayerSessionsT>(value);
176 template <
typename DesiredPlayerSessionsT = Aws::Vector<DesiredPlayerSession>>
181 template <
typename DesiredPlayerSessionsT = DesiredPlayerSession>
183 m_desiredPlayerSessionsHasBeenSet =
true;
184 m_desiredPlayerSessions.emplace_back(std::forward<DesiredPlayerSessionsT>(value));
199 template <
typename GameSessionDataT = Aws::String>
201 m_gameSessionDataHasBeenSet =
true;
202 m_gameSessionData = std::forward<GameSessionDataT>(value);
204 template <
typename GameSessionDataT = Aws::String>
225 template <
typename PriorityConfigurationOverr
ideT = PriorityConfigurationOverr
ide>
227 m_priorityConfigurationOverrideHasBeenSet =
true;
228 m_priorityConfigurationOverride = std::forward<PriorityConfigurationOverrideT>(value);
230 template <
typename PriorityConfigurationOverr
ideT = PriorityConfigurationOverr
ide>
243 int m_maximumPlayerSessionCount{0};
253 PriorityConfigurationOverride m_priorityConfigurationOverride;
254 bool m_placementIdHasBeenSet =
false;
255 bool m_gameSessionQueueNameHasBeenSet =
false;
256 bool m_gamePropertiesHasBeenSet =
false;
257 bool m_maximumPlayerSessionCountHasBeenSet =
false;
258 bool m_gameSessionNameHasBeenSet =
false;
259 bool m_playerLatenciesHasBeenSet =
false;
260 bool m_desiredPlayerSessionsHasBeenSet =
false;
261 bool m_gameSessionDataHasBeenSet =
false;
262 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