7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gamelift/model/GameSessionPlacementState.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/gamelift/model/PriorityConfigurationOverride.h>
13#include <aws/gamelift/model/GameProperty.h>
14#include <aws/gamelift/model/PlayerLatency.h>
15#include <aws/gamelift/model/PlacedPlayerSession.h>
63 template<
typename PlacementIdT = Aws::String>
64 void SetPlacementId(PlacementIdT&& value) { m_placementIdHasBeenSet =
true; m_placementId = std::forward<PlacementIdT>(value); }
65 template<
typename PlacementIdT = Aws::String>
76 template<
typename GameSessionQueueNameT = Aws::String>
77 void SetGameSessionQueueName(GameSessionQueueNameT&& value) { m_gameSessionQueueNameHasBeenSet =
true; m_gameSessionQueueName = std::forward<GameSessionQueueNameT>(value); }
78 template<
typename GameSessionQueueNameT = Aws::String>
109 template<
typename GamePropertiesT = Aws::Vector<GameProperty>>
110 void SetGameProperties(GamePropertiesT&& value) { m_gamePropertiesHasBeenSet =
true; m_gameProperties = std::forward<GamePropertiesT>(value); }
111 template<
typename GamePropertiesT = Aws::Vector<GameProperty>>
113 template<
typename GamePropertiesT = GameProperty>
135 template<
typename GameSessionNameT = Aws::String>
136 void SetGameSessionName(GameSessionNameT&& value) { m_gameSessionNameHasBeenSet =
true; m_gameSessionName = std::forward<GameSessionNameT>(value); }
137 template<
typename GameSessionNameT = Aws::String>
148 template<
typename GameSessionIdT = Aws::String>
149 void SetGameSessionId(GameSessionIdT&& value) { m_gameSessionIdHasBeenSet =
true; m_gameSessionId = std::forward<GameSessionIdT>(value); }
150 template<
typename GameSessionIdT = Aws::String>
162 template<
typename GameSessionArnT = Aws::String>
163 void SetGameSessionArn(GameSessionArnT&& value) { m_gameSessionArnHasBeenSet =
true; m_gameSessionArn = std::forward<GameSessionArnT>(value); }
164 template<
typename GameSessionArnT = Aws::String>
176 template<
typename GameSessionRegionT = Aws::String>
177 void SetGameSessionRegion(GameSessionRegionT&& value) { m_gameSessionRegionHasBeenSet =
true; m_gameSessionRegion = std::forward<GameSessionRegionT>(value); }
178 template<
typename GameSessionRegionT = Aws::String>
190 template<
typename PlayerLatenciesT = Aws::Vector<PlayerLatency>>
191 void SetPlayerLatencies(PlayerLatenciesT&& value) { m_playerLatenciesHasBeenSet =
true; m_playerLatencies = std::forward<PlayerLatenciesT>(value); }
192 template<
typename PlayerLatenciesT = Aws::Vector<PlayerLatency>>
194 template<
typename PlayerLatenciesT = PlayerLatency>
206 template<
typename StartTimeT = Aws::Utils::DateTime>
207 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
208 template<
typename StartTimeT = Aws::Utils::DateTime>
219 template<
typename EndTimeT = Aws::Utils::DateTime>
220 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
221 template<
typename EndTimeT = Aws::Utils::DateTime>
233 template<
typename IpAddressT = Aws::String>
234 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet =
true; m_ipAddress = std::forward<IpAddressT>(value); }
235 template<
typename IpAddressT = Aws::String>
254 template<
typename DnsNameT = Aws::String>
255 void SetDnsName(DnsNameT&& value) { m_dnsNameHasBeenSet =
true; m_dnsName = std::forward<DnsNameT>(value); }
256 template<
typename DnsNameT = Aws::String>
268 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
282 template<
typename PlacedPlayerSessionsT = Aws::Vector<PlacedPlayerSession>>
283 void SetPlacedPlayerSessions(PlacedPlayerSessionsT&& value) { m_placedPlayerSessionsHasBeenSet =
true; m_placedPlayerSessions = std::forward<PlacedPlayerSessionsT>(value); }
284 template<
typename PlacedPlayerSessionsT = Aws::Vector<PlacedPlayerSession>>
286 template<
typename PlacedPlayerSessionsT = PlacedPlayerSession>
300 template<
typename GameSessionDataT = Aws::String>
301 void SetGameSessionData(GameSessionDataT&& value) { m_gameSessionDataHasBeenSet =
true; m_gameSessionData = std::forward<GameSessionDataT>(value); }
302 template<
typename GameSessionDataT = Aws::String>
318 template<
typename MatchmakerDataT = Aws::String>
319 void SetMatchmakerData(MatchmakerDataT&& value) { m_matchmakerDataHasBeenSet =
true; m_matchmakerData = std::forward<MatchmakerDataT>(value); }
320 template<
typename MatchmakerDataT = Aws::String>
335 template<
typename PriorityConfigurationOverr
ideT = PriorityConfigurationOverr
ide>
336 void SetPriorityConfigurationOverride(PriorityConfigurationOverrideT&& value) { m_priorityConfigurationOverrideHasBeenSet =
true; m_priorityConfigurationOverride = std::forward<PriorityConfigurationOverrideT>(value); }
337 template<
typename PriorityConfigurationOverr
ideT = PriorityConfigurationOverr
ide>
343 bool m_placementIdHasBeenSet =
false;
346 bool m_gameSessionQueueNameHasBeenSet =
false;
349 bool m_statusHasBeenSet =
false;
352 bool m_gamePropertiesHasBeenSet =
false;
354 int m_maximumPlayerSessionCount{0};
355 bool m_maximumPlayerSessionCountHasBeenSet =
false;
358 bool m_gameSessionNameHasBeenSet =
false;
361 bool m_gameSessionIdHasBeenSet =
false;
364 bool m_gameSessionArnHasBeenSet =
false;
367 bool m_gameSessionRegionHasBeenSet =
false;
370 bool m_playerLatenciesHasBeenSet =
false;
373 bool m_startTimeHasBeenSet =
false;
376 bool m_endTimeHasBeenSet =
false;
379 bool m_ipAddressHasBeenSet =
false;
382 bool m_dnsNameHasBeenSet =
false;
385 bool m_portHasBeenSet =
false;
388 bool m_placedPlayerSessionsHasBeenSet =
false;
391 bool m_gameSessionDataHasBeenSet =
false;
394 bool m_matchmakerDataHasBeenSet =
false;
396 PriorityConfigurationOverride m_priorityConfigurationOverride;
397 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