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/crt/cbor/Cbor.h>
11#include <aws/gamelift/GameLift_EXPORTS.h>
12#include <aws/gamelift/model/GameProperty.h>
13#include <aws/gamelift/model/GameSessionPlacementState.h>
14#include <aws/gamelift/model/PlacedPlayerSession.h>
15#include <aws/gamelift/model/PlayerGatewayStatus.h>
16#include <aws/gamelift/model/PlayerLatency.h>
17#include <aws/gamelift/model/PriorityConfigurationOverride.h>
50 AWS_GAMELIFT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
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>
196 template <
typename GameSessionIdT = Aws::String>
198 m_gameSessionIdHasBeenSet =
true;
199 m_gameSessionId = std::forward<GameSessionIdT>(value);
201 template <
typename GameSessionIdT = Aws::String>
221 template <
typename GameSessionArnT = Aws::String>
223 m_gameSessionArnHasBeenSet =
true;
224 m_gameSessionArn = std::forward<GameSessionArnT>(value);
226 template <
typename GameSessionArnT = Aws::String>
241 template <
typename GameSessionRegionT = Aws::String>
243 m_gameSessionRegionHasBeenSet =
true;
244 m_gameSessionRegion = std::forward<GameSessionRegionT>(value);
246 template <
typename GameSessionRegionT = Aws::String>
262 template <
typename PlayerLatenciesT = Aws::Vector<PlayerLatency>>
264 m_playerLatenciesHasBeenSet =
true;
265 m_playerLatencies = std::forward<PlayerLatenciesT>(value);
267 template <
typename PlayerLatenciesT = Aws::Vector<PlayerLatency>>
272 template <
typename PlayerLatenciesT = PlayerLatency>
274 m_playerLatenciesHasBeenSet =
true;
275 m_playerLatencies.emplace_back(std::forward<PlayerLatenciesT>(value));
288 template <
typename StartTimeT = Aws::Utils::DateTime>
290 m_startTimeHasBeenSet =
true;
291 m_startTime = std::forward<StartTimeT>(value);
293 template <
typename StartTimeT = Aws::Utils::DateTime>
307 template <
typename EndTimeT = Aws::Utils::DateTime>
309 m_endTimeHasBeenSet =
true;
310 m_endTime = std::forward<EndTimeT>(value);
312 template <
typename EndTimeT = Aws::Utils::DateTime>
327 template <
typename IpAddressT = Aws::String>
329 m_ipAddressHasBeenSet =
true;
330 m_ipAddress = std::forward<IpAddressT>(value);
332 template <
typename IpAddressT = Aws::String>
354 template <
typename DnsNameT = Aws::String>
356 m_dnsNameHasBeenSet =
true;
357 m_dnsName = std::forward<DnsNameT>(value);
359 template <
typename DnsNameT = Aws::String>
372 inline int64_t
GetPort()
const {
return m_port; }
375 m_portHasBeenSet =
true;
394 template <
typename PlacedPlayerSessionsT = Aws::Vector<PlacedPlayerSession>>
396 m_placedPlayerSessionsHasBeenSet =
true;
397 m_placedPlayerSessions = std::forward<PlacedPlayerSessionsT>(value);
399 template <
typename PlacedPlayerSessionsT = Aws::Vector<PlacedPlayerSession>>
404 template <
typename PlacedPlayerSessionsT = PlacedPlayerSession>
406 m_placedPlayerSessionsHasBeenSet =
true;
407 m_placedPlayerSessions.emplace_back(std::forward<PlacedPlayerSessionsT>(value));
422 template <
typename GameSessionDataT = Aws::String>
424 m_gameSessionDataHasBeenSet =
true;
425 m_gameSessionData = std::forward<GameSessionDataT>(value);
427 template <
typename GameSessionDataT = Aws::String>
446 template <
typename MatchmakerDataT = Aws::String>
448 m_matchmakerDataHasBeenSet =
true;
449 m_matchmakerData = std::forward<MatchmakerDataT>(value);
451 template <
typename MatchmakerDataT = Aws::String>
469 template <
typename PriorityConfigurationOverr
ideT = PriorityConfigurationOverr
ide>
471 m_priorityConfigurationOverrideHasBeenSet =
true;
472 m_priorityConfigurationOverride = std::forward<PriorityConfigurationOverrideT>(value);
474 template <
typename PriorityConfigurationOverr
ideT = PriorityConfigurationOverr
ide>
496 m_playerGatewayStatusHasBeenSet =
true;
497 m_playerGatewayStatus = value;
513 int64_t m_maximumPlayerSessionCount{0};
541 PriorityConfigurationOverride m_priorityConfigurationOverride;
544 bool m_placementIdHasBeenSet =
false;
545 bool m_gameSessionQueueNameHasBeenSet =
false;
546 bool m_statusHasBeenSet =
false;
547 bool m_gamePropertiesHasBeenSet =
false;
548 bool m_maximumPlayerSessionCountHasBeenSet =
false;
549 bool m_gameSessionNameHasBeenSet =
false;
550 bool m_gameSessionIdHasBeenSet =
false;
551 bool m_gameSessionArnHasBeenSet =
false;
552 bool m_gameSessionRegionHasBeenSet =
false;
553 bool m_playerLatenciesHasBeenSet =
false;
554 bool m_startTimeHasBeenSet =
false;
555 bool m_endTimeHasBeenSet =
false;
556 bool m_ipAddressHasBeenSet =
false;
557 bool m_dnsNameHasBeenSet =
false;
558 bool m_portHasBeenSet =
false;
559 bool m_placedPlayerSessionsHasBeenSet =
false;
560 bool m_gameSessionDataHasBeenSet =
false;
561 bool m_matchmakerDataHasBeenSet =
false;
562 bool m_priorityConfigurationOverrideHasBeenSet =
false;
563 bool m_playerGatewayStatusHasBeenSet =
false;
const Aws::String & GetGameSessionData() const
void SetStatus(GameSessionPlacementState value)
GameSessionPlacement & AddPlayerLatencies(PlayerLatenciesT &&value)
GameSessionPlacement & WithPriorityConfigurationOverride(PriorityConfigurationOverrideT &&value)
void SetPort(int64_t value)
GameSessionPlacement & WithEndTime(EndTimeT &&value)
void SetEndTime(EndTimeT &&value)
GameSessionPlacement & WithGameSessionQueueName(GameSessionQueueNameT &&value)
bool GamePropertiesHasBeenSet() const
GameSessionPlacement & WithGameSessionName(GameSessionNameT &&value)
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 & WithMaximumPlayerSessionCount(int64_t value)
GameSessionPlacement & WithGameSessionRegion(GameSessionRegionT &&value)
bool GameSessionNameHasBeenSet() const
void SetPlacementId(PlacementIdT &&value)
GameSessionPlacement & WithPlacementId(PlacementIdT &&value)
PlayerGatewayStatus GetPlayerGatewayStatus() const
void SetPlayerLatencies(PlayerLatenciesT &&value)
bool PortHasBeenSet() const
bool PlayerLatenciesHasBeenSet() const
bool DnsNameHasBeenSet() const
bool GameSessionDataHasBeenSet() const
AWS_GAMELIFT_API GameSessionPlacement & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
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)
GameSessionPlacement & WithPort(int64_t 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)
int64_t GetMaximumPlayerSessionCount() const
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
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) 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)
AWS_GAMELIFT_API GameSessionPlacement(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetMaximumPlayerSessionCount(int64_t value)
bool PriorityConfigurationOverrideHasBeenSet() const
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