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>
193 template <
typename GameSessionIdT = Aws::String>
195 m_gameSessionIdHasBeenSet =
true;
196 m_gameSessionId = std::forward<GameSessionIdT>(value);
198 template <
typename GameSessionIdT = Aws::String>
215 template <
typename GameSessionArnT = Aws::String>
217 m_gameSessionArnHasBeenSet =
true;
218 m_gameSessionArn = std::forward<GameSessionArnT>(value);
220 template <
typename GameSessionArnT = Aws::String>
235 template <
typename GameSessionRegionT = Aws::String>
237 m_gameSessionRegionHasBeenSet =
true;
238 m_gameSessionRegion = std::forward<GameSessionRegionT>(value);
240 template <
typename GameSessionRegionT = Aws::String>
255 template <
typename PlayerLatenciesT = Aws::Vector<PlayerLatency>>
257 m_playerLatenciesHasBeenSet =
true;
258 m_playerLatencies = std::forward<PlayerLatenciesT>(value);
260 template <
typename PlayerLatenciesT = Aws::Vector<PlayerLatency>>
265 template <
typename PlayerLatenciesT = PlayerLatency>
267 m_playerLatenciesHasBeenSet =
true;
268 m_playerLatencies.emplace_back(std::forward<PlayerLatenciesT>(value));
281 template <
typename StartTimeT = Aws::Utils::DateTime>
283 m_startTimeHasBeenSet =
true;
284 m_startTime = std::forward<StartTimeT>(value);
286 template <
typename StartTimeT = Aws::Utils::DateTime>
300 template <
typename EndTimeT = Aws::Utils::DateTime>
302 m_endTimeHasBeenSet =
true;
303 m_endTime = std::forward<EndTimeT>(value);
305 template <
typename EndTimeT = Aws::Utils::DateTime>
320 template <
typename IpAddressT = Aws::String>
322 m_ipAddressHasBeenSet =
true;
323 m_ipAddress = std::forward<IpAddressT>(value);
325 template <
typename IpAddressT = Aws::String>
347 template <
typename DnsNameT = Aws::String>
349 m_dnsNameHasBeenSet =
true;
350 m_dnsName = std::forward<DnsNameT>(value);
352 template <
typename DnsNameT = Aws::String>
365 inline int64_t
GetPort()
const {
return m_port; }
368 m_portHasBeenSet =
true;
387 template <
typename PlacedPlayerSessionsT = Aws::Vector<PlacedPlayerSession>>
389 m_placedPlayerSessionsHasBeenSet =
true;
390 m_placedPlayerSessions = std::forward<PlacedPlayerSessionsT>(value);
392 template <
typename PlacedPlayerSessionsT = Aws::Vector<PlacedPlayerSession>>
397 template <
typename PlacedPlayerSessionsT = PlacedPlayerSession>
399 m_placedPlayerSessionsHasBeenSet =
true;
400 m_placedPlayerSessions.emplace_back(std::forward<PlacedPlayerSessionsT>(value));
415 template <
typename GameSessionDataT = Aws::String>
417 m_gameSessionDataHasBeenSet =
true;
418 m_gameSessionData = std::forward<GameSessionDataT>(value);
420 template <
typename GameSessionDataT = Aws::String>
439 template <
typename MatchmakerDataT = Aws::String>
441 m_matchmakerDataHasBeenSet =
true;
442 m_matchmakerData = std::forward<MatchmakerDataT>(value);
444 template <
typename MatchmakerDataT = Aws::String>
462 template <
typename PriorityConfigurationOverr
ideT = PriorityConfigurationOverr
ide>
464 m_priorityConfigurationOverrideHasBeenSet =
true;
465 m_priorityConfigurationOverride = std::forward<PriorityConfigurationOverrideT>(value);
467 template <
typename PriorityConfigurationOverr
ideT = PriorityConfigurationOverr
ide>
489 m_playerGatewayStatusHasBeenSet =
true;
490 m_playerGatewayStatus = value;
506 int64_t m_maximumPlayerSessionCount{0};
534 PriorityConfigurationOverride m_priorityConfigurationOverride;
537 bool m_placementIdHasBeenSet =
false;
538 bool m_gameSessionQueueNameHasBeenSet =
false;
539 bool m_statusHasBeenSet =
false;
540 bool m_gamePropertiesHasBeenSet =
false;
541 bool m_maximumPlayerSessionCountHasBeenSet =
false;
542 bool m_gameSessionNameHasBeenSet =
false;
543 bool m_gameSessionIdHasBeenSet =
false;
544 bool m_gameSessionArnHasBeenSet =
false;
545 bool m_gameSessionRegionHasBeenSet =
false;
546 bool m_playerLatenciesHasBeenSet =
false;
547 bool m_startTimeHasBeenSet =
false;
548 bool m_endTimeHasBeenSet =
false;
549 bool m_ipAddressHasBeenSet =
false;
550 bool m_dnsNameHasBeenSet =
false;
551 bool m_portHasBeenSet =
false;
552 bool m_placedPlayerSessionsHasBeenSet =
false;
553 bool m_gameSessionDataHasBeenSet =
false;
554 bool m_matchmakerDataHasBeenSet =
false;
555 bool m_priorityConfigurationOverrideHasBeenSet =
false;
556 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