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/PriorityConfigurationOverride.h>
12#include <aws/gamelift/model/GameProperty.h>
13#include <aws/gamelift/model/PlayerLatency.h>
14#include <aws/gamelift/model/DesiredPlayerSession.h>
50 template<
typename PlacementIdT = Aws::String>
51 void SetPlacementId(PlacementIdT&& value) { m_placementIdHasBeenSet =
true; m_placementId = std::forward<PlacementIdT>(value); }
52 template<
typename PlacementIdT = Aws::String>
63 template<
typename GameSessionQueueNameT = Aws::String>
64 void SetGameSessionQueueName(GameSessionQueueNameT&& value) { m_gameSessionQueueNameHasBeenSet =
true; m_gameSessionQueueName = std::forward<GameSessionQueueNameT>(value); }
65 template<
typename GameSessionQueueNameT = Aws::String>
76 template<
typename GamePropertiesT = Aws::Vector<GameProperty>>
77 void SetGameProperties(GamePropertiesT&& value) { m_gamePropertiesHasBeenSet =
true; m_gameProperties = std::forward<GamePropertiesT>(value); }
78 template<
typename GamePropertiesT = Aws::Vector<GameProperty>>
80 template<
typename GamePropertiesT = GameProperty>
102 template<
typename GameSessionNameT = Aws::String>
103 void SetGameSessionName(GameSessionNameT&& value) { m_gameSessionNameHasBeenSet =
true; m_gameSessionName = std::forward<GameSessionNameT>(value); }
104 template<
typename GameSessionNameT = Aws::String>
117 template<
typename PlayerLatenciesT = Aws::Vector<PlayerLatency>>
118 void SetPlayerLatencies(PlayerLatenciesT&& value) { m_playerLatenciesHasBeenSet =
true; m_playerLatencies = std::forward<PlayerLatenciesT>(value); }
119 template<
typename PlayerLatenciesT = Aws::Vector<PlayerLatency>>
121 template<
typename PlayerLatenciesT = PlayerLatency>
131 template<
typename DesiredPlayerSessionsT = Aws::Vector<DesiredPlayerSession>>
132 void SetDesiredPlayerSessions(DesiredPlayerSessionsT&& value) { m_desiredPlayerSessionsHasBeenSet =
true; m_desiredPlayerSessions = std::forward<DesiredPlayerSessionsT>(value); }
133 template<
typename DesiredPlayerSessionsT = Aws::Vector<DesiredPlayerSession>>
135 template<
typename DesiredPlayerSessionsT = DesiredPlayerSession>
149 template<
typename GameSessionDataT = Aws::String>
150 void SetGameSessionData(GameSessionDataT&& value) { m_gameSessionDataHasBeenSet =
true; m_gameSessionData = std::forward<GameSessionDataT>(value); }
151 template<
typename GameSessionDataT = Aws::String>
169 template<
typename PriorityConfigurationOverr
ideT = PriorityConfigurationOverr
ide>
170 void SetPriorityConfigurationOverride(PriorityConfigurationOverrideT&& value) { m_priorityConfigurationOverrideHasBeenSet =
true; m_priorityConfigurationOverride = std::forward<PriorityConfigurationOverrideT>(value); }
171 template<
typename PriorityConfigurationOverr
ideT = PriorityConfigurationOverr
ide>
177 bool m_placementIdHasBeenSet =
false;
180 bool m_gameSessionQueueNameHasBeenSet =
false;
183 bool m_gamePropertiesHasBeenSet =
false;
185 int m_maximumPlayerSessionCount{0};
186 bool m_maximumPlayerSessionCountHasBeenSet =
false;
189 bool m_gameSessionNameHasBeenSet =
false;
192 bool m_playerLatenciesHasBeenSet =
false;
195 bool m_desiredPlayerSessionsHasBeenSet =
false;
198 bool m_gameSessionDataHasBeenSet =
false;
200 PriorityConfigurationOverride m_priorityConfigurationOverride;
201 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