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/PlayerLatency.h>
15#include <aws/gamelift/model/PriorityConfigurationOverride.h>
57 template <
typename PlacementIdT = Aws::String>
59 m_placementIdHasBeenSet =
true;
60 m_placementId = std::forward<PlacementIdT>(value);
62 template <
typename PlacementIdT = Aws::String>
76 template <
typename GameSessionQueueNameT = Aws::String>
78 m_gameSessionQueueNameHasBeenSet =
true;
79 m_gameSessionQueueName = std::forward<GameSessionQueueNameT>(value);
81 template <
typename GameSessionQueueNameT = Aws::String>
105 m_statusHasBeenSet =
true;
125 template <
typename GamePropertiesT = Aws::Vector<GameProperty>>
127 m_gamePropertiesHasBeenSet =
true;
128 m_gameProperties = std::forward<GamePropertiesT>(value);
130 template <
typename GamePropertiesT = Aws::Vector<GameProperty>>
135 template <
typename GamePropertiesT = GameProperty>
137 m_gamePropertiesHasBeenSet =
true;
138 m_gameProperties.emplace_back(std::forward<GamePropertiesT>(value));
151 m_maximumPlayerSessionCountHasBeenSet =
true;
152 m_maximumPlayerSessionCount = value;
167 template <
typename GameSessionNameT = Aws::String>
169 m_gameSessionNameHasBeenSet =
true;
170 m_gameSessionName = std::forward<GameSessionNameT>(value);
172 template <
typename GameSessionNameT = Aws::String>
186 template <
typename GameSessionIdT = Aws::String>
188 m_gameSessionIdHasBeenSet =
true;
189 m_gameSessionId = std::forward<GameSessionIdT>(value);
191 template <
typename GameSessionIdT = Aws::String>
206 template <
typename GameSessionArnT = Aws::String>
208 m_gameSessionArnHasBeenSet =
true;
209 m_gameSessionArn = std::forward<GameSessionArnT>(value);
211 template <
typename GameSessionArnT = Aws::String>
226 template <
typename GameSessionRegionT = Aws::String>
228 m_gameSessionRegionHasBeenSet =
true;
229 m_gameSessionRegion = std::forward<GameSessionRegionT>(value);
231 template <
typename GameSessionRegionT = Aws::String>
246 template <
typename PlayerLatenciesT = Aws::Vector<PlayerLatency>>
248 m_playerLatenciesHasBeenSet =
true;
249 m_playerLatencies = std::forward<PlayerLatenciesT>(value);
251 template <
typename PlayerLatenciesT = Aws::Vector<PlayerLatency>>
256 template <
typename PlayerLatenciesT = PlayerLatency>
258 m_playerLatenciesHasBeenSet =
true;
259 m_playerLatencies.emplace_back(std::forward<PlayerLatenciesT>(value));
272 template <
typename StartTimeT = Aws::Utils::DateTime>
274 m_startTimeHasBeenSet =
true;
275 m_startTime = std::forward<StartTimeT>(value);
277 template <
typename StartTimeT = Aws::Utils::DateTime>
291 template <
typename EndTimeT = Aws::Utils::DateTime>
293 m_endTimeHasBeenSet =
true;
294 m_endTime = std::forward<EndTimeT>(value);
296 template <
typename EndTimeT = Aws::Utils::DateTime>
311 template <
typename IpAddressT = Aws::String>
313 m_ipAddressHasBeenSet =
true;
314 m_ipAddress = std::forward<IpAddressT>(value);
316 template <
typename IpAddressT = Aws::String>
338 template <
typename DnsNameT = Aws::String>
340 m_dnsNameHasBeenSet =
true;
341 m_dnsName = std::forward<DnsNameT>(value);
343 template <
typename DnsNameT = Aws::String>
359 m_portHasBeenSet =
true;
378 template <
typename PlacedPlayerSessionsT = Aws::Vector<PlacedPlayerSession>>
380 m_placedPlayerSessionsHasBeenSet =
true;
381 m_placedPlayerSessions = std::forward<PlacedPlayerSessionsT>(value);
383 template <
typename PlacedPlayerSessionsT = Aws::Vector<PlacedPlayerSession>>
388 template <
typename PlacedPlayerSessionsT = PlacedPlayerSession>
390 m_placedPlayerSessionsHasBeenSet =
true;
391 m_placedPlayerSessions.emplace_back(std::forward<PlacedPlayerSessionsT>(value));
406 template <
typename GameSessionDataT = Aws::String>
408 m_gameSessionDataHasBeenSet =
true;
409 m_gameSessionData = std::forward<GameSessionDataT>(value);
411 template <
typename GameSessionDataT = Aws::String>
430 template <
typename MatchmakerDataT = Aws::String>
432 m_matchmakerDataHasBeenSet =
true;
433 m_matchmakerData = std::forward<MatchmakerDataT>(value);
435 template <
typename MatchmakerDataT = Aws::String>
453 template <
typename PriorityConfigurationOverr
ideT = PriorityConfigurationOverr
ide>
455 m_priorityConfigurationOverrideHasBeenSet =
true;
456 m_priorityConfigurationOverride = std::forward<PriorityConfigurationOverrideT>(value);
458 template <
typename PriorityConfigurationOverr
ideT = PriorityConfigurationOverr
ide>
473 int m_maximumPlayerSessionCount{0};
501 PriorityConfigurationOverride m_priorityConfigurationOverride;
502 bool m_placementIdHasBeenSet =
false;
503 bool m_gameSessionQueueNameHasBeenSet =
false;
504 bool m_statusHasBeenSet =
false;
505 bool m_gamePropertiesHasBeenSet =
false;
506 bool m_maximumPlayerSessionCountHasBeenSet =
false;
507 bool m_gameSessionNameHasBeenSet =
false;
508 bool m_gameSessionIdHasBeenSet =
false;
509 bool m_gameSessionArnHasBeenSet =
false;
510 bool m_gameSessionRegionHasBeenSet =
false;
511 bool m_playerLatenciesHasBeenSet =
false;
512 bool m_startTimeHasBeenSet =
false;
513 bool m_endTimeHasBeenSet =
false;
514 bool m_ipAddressHasBeenSet =
false;
515 bool m_dnsNameHasBeenSet =
false;
516 bool m_portHasBeenSet =
false;
517 bool m_placedPlayerSessionsHasBeenSet =
false;
518 bool m_gameSessionDataHasBeenSet =
false;
519 bool m_matchmakerDataHasBeenSet =
false;
520 bool m_priorityConfigurationOverrideHasBeenSet =
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
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)
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
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
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