7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/gamelift/GameLift_EXPORTS.h>
11#include <aws/gamelift/model/GameProperty.h>
12#include <aws/gamelift/model/GameSessionPlacementState.h>
13#include <aws/gamelift/model/PlacedPlayerSession.h>
14#include <aws/gamelift/model/PlayerGatewayStatus.h>
15#include <aws/gamelift/model/PlayerLatency.h>
16#include <aws/gamelift/model/PriorityConfigurationOverride.h>
58 template <
typename PlacementIdT = Aws::String>
60 m_placementIdHasBeenSet =
true;
61 m_placementId = std::forward<PlacementIdT>(value);
63 template <
typename PlacementIdT = Aws::String>
77 template <
typename GameSessionQueueNameT = Aws::String>
79 m_gameSessionQueueNameHasBeenSet =
true;
80 m_gameSessionQueueName = std::forward<GameSessionQueueNameT>(value);
82 template <
typename GameSessionQueueNameT = Aws::String>
106 m_statusHasBeenSet =
true;
129 template <
typename GamePropertiesT = Aws::Vector<GameProperty>>
131 m_gamePropertiesHasBeenSet =
true;
132 m_gameProperties = std::forward<GamePropertiesT>(value);
134 template <
typename GamePropertiesT = Aws::Vector<GameProperty>>
139 template <
typename GamePropertiesT = GameProperty>
141 m_gamePropertiesHasBeenSet =
true;
142 m_gameProperties.emplace_back(std::forward<GamePropertiesT>(value));
155 m_maximumPlayerSessionCountHasBeenSet =
true;
156 m_maximumPlayerSessionCount = value;
171 template <
typename GameSessionNameT = Aws::String>
173 m_gameSessionNameHasBeenSet =
true;
174 m_gameSessionName = std::forward<GameSessionNameT>(value);
176 template <
typename GameSessionNameT = Aws::String>
190 template <
typename GameSessionIdT = Aws::String>
192 m_gameSessionIdHasBeenSet =
true;
193 m_gameSessionId = std::forward<GameSessionIdT>(value);
195 template <
typename GameSessionIdT = Aws::String>
210 template <
typename GameSessionArnT = Aws::String>
212 m_gameSessionArnHasBeenSet =
true;
213 m_gameSessionArn = std::forward<GameSessionArnT>(value);
215 template <
typename GameSessionArnT = Aws::String>
230 template <
typename GameSessionRegionT = Aws::String>
232 m_gameSessionRegionHasBeenSet =
true;
233 m_gameSessionRegion = std::forward<GameSessionRegionT>(value);
235 template <
typename GameSessionRegionT = Aws::String>
250 template <
typename PlayerLatenciesT = Aws::Vector<PlayerLatency>>
252 m_playerLatenciesHasBeenSet =
true;
253 m_playerLatencies = std::forward<PlayerLatenciesT>(value);
255 template <
typename PlayerLatenciesT = Aws::Vector<PlayerLatency>>
260 template <
typename PlayerLatenciesT = PlayerLatency>
262 m_playerLatenciesHasBeenSet =
true;
263 m_playerLatencies.emplace_back(std::forward<PlayerLatenciesT>(value));
276 template <
typename StartTimeT = Aws::Utils::DateTime>
278 m_startTimeHasBeenSet =
true;
279 m_startTime = std::forward<StartTimeT>(value);
281 template <
typename StartTimeT = Aws::Utils::DateTime>
295 template <
typename EndTimeT = Aws::Utils::DateTime>
297 m_endTimeHasBeenSet =
true;
298 m_endTime = std::forward<EndTimeT>(value);
300 template <
typename EndTimeT = Aws::Utils::DateTime>
315 template <
typename IpAddressT = Aws::String>
317 m_ipAddressHasBeenSet =
true;
318 m_ipAddress = std::forward<IpAddressT>(value);
320 template <
typename IpAddressT = Aws::String>
342 template <
typename DnsNameT = Aws::String>
344 m_dnsNameHasBeenSet =
true;
345 m_dnsName = std::forward<DnsNameT>(value);
347 template <
typename DnsNameT = Aws::String>
363 m_portHasBeenSet =
true;
382 template <
typename PlacedPlayerSessionsT = Aws::Vector<PlacedPlayerSession>>
384 m_placedPlayerSessionsHasBeenSet =
true;
385 m_placedPlayerSessions = std::forward<PlacedPlayerSessionsT>(value);
387 template <
typename PlacedPlayerSessionsT = Aws::Vector<PlacedPlayerSession>>
392 template <
typename PlacedPlayerSessionsT = PlacedPlayerSession>
394 m_placedPlayerSessionsHasBeenSet =
true;
395 m_placedPlayerSessions.emplace_back(std::forward<PlacedPlayerSessionsT>(value));
410 template <
typename GameSessionDataT = Aws::String>
412 m_gameSessionDataHasBeenSet =
true;
413 m_gameSessionData = std::forward<GameSessionDataT>(value);
415 template <
typename GameSessionDataT = Aws::String>
434 template <
typename MatchmakerDataT = Aws::String>
436 m_matchmakerDataHasBeenSet =
true;
437 m_matchmakerData = std::forward<MatchmakerDataT>(value);
439 template <
typename MatchmakerDataT = Aws::String>
457 template <
typename PriorityConfigurationOverr
ideT = PriorityConfigurationOverr
ide>
459 m_priorityConfigurationOverrideHasBeenSet =
true;
460 m_priorityConfigurationOverride = std::forward<PriorityConfigurationOverrideT>(value);
462 template <
typename PriorityConfigurationOverr
ideT = PriorityConfigurationOverr
ide>
484 m_playerGatewayStatusHasBeenSet =
true;
485 m_playerGatewayStatus = value;
501 int m_maximumPlayerSessionCount{0};
529 PriorityConfigurationOverride m_priorityConfigurationOverride;
532 bool m_placementIdHasBeenSet =
false;
533 bool m_gameSessionQueueNameHasBeenSet =
false;
534 bool m_statusHasBeenSet =
false;
535 bool m_gamePropertiesHasBeenSet =
false;
536 bool m_maximumPlayerSessionCountHasBeenSet =
false;
537 bool m_gameSessionNameHasBeenSet =
false;
538 bool m_gameSessionIdHasBeenSet =
false;
539 bool m_gameSessionArnHasBeenSet =
false;
540 bool m_gameSessionRegionHasBeenSet =
false;
541 bool m_playerLatenciesHasBeenSet =
false;
542 bool m_startTimeHasBeenSet =
false;
543 bool m_endTimeHasBeenSet =
false;
544 bool m_ipAddressHasBeenSet =
false;
545 bool m_dnsNameHasBeenSet =
false;
546 bool m_portHasBeenSet =
false;
547 bool m_placedPlayerSessionsHasBeenSet =
false;
548 bool m_gameSessionDataHasBeenSet =
false;
549 bool m_matchmakerDataHasBeenSet =
false;
550 bool m_priorityConfigurationOverrideHasBeenSet =
false;
551 bool m_playerGatewayStatusHasBeenSet =
false;
const Aws::String & GetGameSessionData() const
int GetMaximumPlayerSessionCount() const
void SetStatus(GameSessionPlacementState value)
GameSessionPlacement & AddPlayerLatencies(PlayerLatenciesT &&value)
GameSessionPlacement & WithPriorityConfigurationOverride(PriorityConfigurationOverrideT &&value)
GameSessionPlacement & WithEndTime(EndTimeT &&value)
void SetEndTime(EndTimeT &&value)
GameSessionPlacement & WithGameSessionQueueName(GameSessionQueueNameT &&value)
bool GamePropertiesHasBeenSet() const
GameSessionPlacement & WithGameSessionName(GameSessionNameT &&value)
AWS_GAMELIFT_API GameSessionPlacement & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDnsName() const
bool PlacedPlayerSessionsHasBeenSet() const
const Aws::Utils::DateTime & GetEndTime() const
bool IpAddressHasBeenSet() const
const Aws::String & GetGameSessionQueueName() const
const Aws::Vector< PlacedPlayerSession > & GetPlacedPlayerSessions() const
GameSessionPlacement & WithIpAddress(IpAddressT &&value)
GameSessionPlacement & WithPlacedPlayerSessions(PlacedPlayerSessionsT &&value)
const Aws::Vector< GameProperty > & GetGameProperties() const
const Aws::String & GetGameSessionName() const
bool PlayerGatewayStatusHasBeenSet() const
void SetGameSessionQueueName(GameSessionQueueNameT &&value)
void SetIpAddress(IpAddressT &&value)
GameSessionPlacement & WithPlayerLatencies(PlayerLatenciesT &&value)
void SetGameSessionData(GameSessionDataT &&value)
GameSessionPlacement & WithMatchmakerData(MatchmakerDataT &&value)
GameSessionPlacement & WithGameSessionRegion(GameSessionRegionT &&value)
bool GameSessionNameHasBeenSet() const
void SetPlacementId(PlacementIdT &&value)
GameSessionPlacement & WithPlacementId(PlacementIdT &&value)
PlayerGatewayStatus GetPlayerGatewayStatus() const
void SetPlayerLatencies(PlayerLatenciesT &&value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
bool PortHasBeenSet() const
bool PlayerLatenciesHasBeenSet() const
bool DnsNameHasBeenSet() const
void SetMaximumPlayerSessionCount(int value)
bool GameSessionDataHasBeenSet() const
void SetPlayerGatewayStatus(PlayerGatewayStatus value)
GameSessionPlacement & WithDnsName(DnsNameT &&value)
GameSessionPlacement & WithStartTime(StartTimeT &&value)
GameSessionPlacement & WithGameProperties(GamePropertiesT &&value)
GameSessionPlacement & AddPlacedPlayerSessions(PlacedPlayerSessionsT &&value)
bool MatchmakerDataHasBeenSet() const
GameSessionPlacement & WithGameSessionId(GameSessionIdT &&value)
void SetDnsName(DnsNameT &&value)
GameSessionPlacement & WithGameSessionArn(GameSessionArnT &&value)
const Aws::Vector< PlayerLatency > & GetPlayerLatencies() const
bool GameSessionQueueNameHasBeenSet() const
void SetGameSessionRegion(GameSessionRegionT &&value)
void SetPriorityConfigurationOverride(PriorityConfigurationOverrideT &&value)
bool PlacementIdHasBeenSet() const
bool GameSessionArnHasBeenSet() const
GameSessionPlacement & WithGameSessionData(GameSessionDataT &&value)
bool StartTimeHasBeenSet() const
void SetMatchmakerData(MatchmakerDataT &&value)
GameSessionPlacementState GetStatus() const
AWS_GAMELIFT_API GameSessionPlacement()=default
GameSessionPlacement & AddGameProperties(GamePropertiesT &&value)
AWS_GAMELIFT_API GameSessionPlacement(Aws::Utils::Json::JsonView jsonValue)
bool EndTimeHasBeenSet() const
void SetGameSessionName(GameSessionNameT &&value)
void SetGameProperties(GamePropertiesT &&value)
const Aws::String & GetPlacementId() const
const Aws::String & GetGameSessionRegion() const
const Aws::String & GetGameSessionArn() const
GameSessionPlacement & WithStatus(GameSessionPlacementState value)
const Aws::String & GetIpAddress() const
bool StatusHasBeenSet() const
bool GameSessionIdHasBeenSet() const
void SetPlacedPlayerSessions(PlacedPlayerSessionsT &&value)
bool MaximumPlayerSessionCountHasBeenSet() const
GameSessionPlacement & WithPlayerGatewayStatus(PlayerGatewayStatus value)
void SetGameSessionArn(GameSessionArnT &&value)
const PriorityConfigurationOverride & GetPriorityConfigurationOverride() const
const Aws::Utils::DateTime & GetStartTime() const
void SetGameSessionId(GameSessionIdT &&value)
bool GameSessionRegionHasBeenSet() const
void SetStartTime(StartTimeT &&value)
GameSessionPlacement & WithMaximumPlayerSessionCount(int value)
bool PriorityConfigurationOverrideHasBeenSet() const
GameSessionPlacement & WithPort(int value)
const Aws::String & GetGameSessionId() const
const Aws::String & GetMatchmakerData() const
GameSessionPlacementState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue