7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gamelift/model/MatchmakingConfigurationStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/gamelift/model/GameSessionConnectionInfo.h>
13#include <aws/gamelift/model/Player.h>
53 template<
typename TicketIdT = Aws::String>
54 void SetTicketId(TicketIdT&& value) { m_ticketIdHasBeenSet =
true; m_ticketId = std::forward<TicketIdT>(value); }
55 template<
typename TicketIdT = Aws::String>
67 template<
typename ConfigurationNameT = Aws::String>
68 void SetConfigurationName(ConfigurationNameT&& value) { m_configurationNameHasBeenSet =
true; m_configurationName = std::forward<ConfigurationNameT>(value); }
69 template<
typename ConfigurationNameT = Aws::String>
82 template<
typename ConfigurationArnT = Aws::String>
83 void SetConfigurationArn(ConfigurationArnT&& value) { m_configurationArnHasBeenSet =
true; m_configurationArn = std::forward<ConfigurationArnT>(value); }
84 template<
typename ConfigurationArnT = Aws::String>
124 template<
typename StatusReasonT = Aws::String>
125 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
126 template<
typename StatusReasonT = Aws::String>
136 template<
typename StatusMessageT = Aws::String>
137 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
138 template<
typename StatusMessageT = Aws::String>
150 template<
typename StartTimeT = Aws::Utils::DateTime>
151 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
152 template<
typename StartTimeT = Aws::Utils::DateTime>
165 template<
typename EndTimeT = Aws::Utils::DateTime>
166 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
167 template<
typename EndTimeT = Aws::Utils::DateTime>
181 template<
typename PlayersT = Aws::Vector<Player>>
182 void SetPlayers(PlayersT&& value) { m_playersHasBeenSet =
true; m_players = std::forward<PlayersT>(value); }
183 template<
typename PlayersT = Aws::Vector<Player>>
185 template<
typename PlayersT = Player>
186 MatchmakingTicket&
AddPlayers(PlayersT&& value) { m_playersHasBeenSet =
true; m_players.emplace_back(std::forward<PlayersT>(value));
return *
this; }
199 template<
typename GameSessionConnectionInfoT = GameSessionConnectionInfo>
200 void SetGameSessionConnectionInfo(GameSessionConnectionInfoT&& value) { m_gameSessionConnectionInfoHasBeenSet =
true; m_gameSessionConnectionInfo = std::forward<GameSessionConnectionInfoT>(value); }
201 template<
typename GameSessionConnectionInfoT = GameSessionConnectionInfo>
212 inline void SetEstimatedWaitTime(
int value) { m_estimatedWaitTimeHasBeenSet =
true; m_estimatedWaitTime = value; }
218 bool m_ticketIdHasBeenSet =
false;
221 bool m_configurationNameHasBeenSet =
false;
224 bool m_configurationArnHasBeenSet =
false;
227 bool m_statusHasBeenSet =
false;
230 bool m_statusReasonHasBeenSet =
false;
233 bool m_statusMessageHasBeenSet =
false;
236 bool m_startTimeHasBeenSet =
false;
239 bool m_endTimeHasBeenSet =
false;
242 bool m_playersHasBeenSet =
false;
244 GameSessionConnectionInfo m_gameSessionConnectionInfo;
245 bool m_gameSessionConnectionInfoHasBeenSet =
false;
247 int m_estimatedWaitTime{0};
248 bool m_estimatedWaitTimeHasBeenSet =
false;
MatchmakingConfigurationStatus GetStatus() const
void SetStatusReason(StatusReasonT &&value)
MatchmakingTicket & WithEndTime(EndTimeT &&value)
bool EndTimeHasBeenSet() const
bool ConfigurationNameHasBeenSet() const
MatchmakingTicket & WithEstimatedWaitTime(int value)
MatchmakingTicket & WithTicketId(TicketIdT &&value)
MatchmakingTicket & WithStatusMessage(StatusMessageT &&value)
bool StatusReasonHasBeenSet() const
const Aws::String & GetStatusMessage() const
const Aws::Vector< Player > & GetPlayers() const
void SetConfigurationName(ConfigurationNameT &&value)
bool GameSessionConnectionInfoHasBeenSet() const
bool PlayersHasBeenSet() const
MatchmakingTicket & WithStatusReason(StatusReasonT &&value)
int GetEstimatedWaitTime() const
MatchmakingTicket & AddPlayers(PlayersT &&value)
void SetTicketId(TicketIdT &&value)
const Aws::String & GetConfigurationArn() const
const Aws::Utils::DateTime & GetStartTime() const
MatchmakingTicket & WithGameSessionConnectionInfo(GameSessionConnectionInfoT &&value)
bool ConfigurationArnHasBeenSet() const
MatchmakingTicket & WithConfigurationName(ConfigurationNameT &&value)
bool StartTimeHasBeenSet() const
void SetEstimatedWaitTime(int value)
bool StatusHasBeenSet() const
void SetStartTime(StartTimeT &&value)
void SetEndTime(EndTimeT &&value)
bool EstimatedWaitTimeHasBeenSet() const
MatchmakingTicket & WithConfigurationArn(ConfigurationArnT &&value)
const GameSessionConnectionInfo & GetGameSessionConnectionInfo() const
const Aws::String & GetTicketId() const
bool TicketIdHasBeenSet() const
void SetPlayers(PlayersT &&value)
bool StatusMessageHasBeenSet() const
MatchmakingTicket & WithPlayers(PlayersT &&value)
void SetGameSessionConnectionInfo(GameSessionConnectionInfoT &&value)
AWS_GAMELIFT_API MatchmakingTicket & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(MatchmakingConfigurationStatus value)
AWS_GAMELIFT_API MatchmakingTicket()=default
void SetStatusMessage(StatusMessageT &&value)
MatchmakingTicket & WithStartTime(StartTimeT &&value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GAMELIFT_API MatchmakingTicket(Aws::Utils::Json::JsonView jsonValue)
MatchmakingTicket & WithStatus(MatchmakingConfigurationStatus value)
void SetConfigurationArn(ConfigurationArnT &&value)
const Aws::String & GetConfigurationName() const
const Aws::String & GetStatusReason() const
const Aws::Utils::DateTime & GetEndTime() const
MatchmakingConfigurationStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue