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/GameSessionConnectionInfo.h>
12#include <aws/gamelift/model/MatchmakingConfigurationStatus.h>
13#include <aws/gamelift/model/Player.h>
47 template <
typename TicketIdT = Aws::String>
49 m_ticketIdHasBeenSet =
true;
50 m_ticketId = std::forward<TicketIdT>(value);
52 template <
typename TicketIdT = Aws::String>
67 template <
typename ConfigurationNameT = Aws::String>
69 m_configurationNameHasBeenSet =
true;
70 m_configurationName = std::forward<ConfigurationNameT>(value);
72 template <
typename ConfigurationNameT = Aws::String>
88 template <
typename ConfigurationArnT = Aws::String>
90 m_configurationArnHasBeenSet =
true;
91 m_configurationArn = std::forward<ConfigurationArnT>(value);
93 template <
typename ConfigurationArnT = Aws::String>
125 m_statusHasBeenSet =
true;
142 template <
typename StatusReasonT = Aws::String>
144 m_statusReasonHasBeenSet =
true;
145 m_statusReason = std::forward<StatusReasonT>(value);
147 template <
typename StatusReasonT = Aws::String>
160 template <
typename StatusMessageT = Aws::String>
162 m_statusMessageHasBeenSet =
true;
163 m_statusMessage = std::forward<StatusMessageT>(value);
165 template <
typename StatusMessageT = Aws::String>
180 template <
typename StartTimeT = Aws::Utils::DateTime>
182 m_startTimeHasBeenSet =
true;
183 m_startTime = std::forward<StartTimeT>(value);
185 template <
typename StartTimeT = Aws::Utils::DateTime>
201 template <
typename EndTimeT = Aws::Utils::DateTime>
203 m_endTimeHasBeenSet =
true;
204 m_endTime = std::forward<EndTimeT>(value);
206 template <
typename EndTimeT = Aws::Utils::DateTime>
223 template <
typename PlayersT = Aws::Vector<Player>>
225 m_playersHasBeenSet =
true;
226 m_players = std::forward<PlayersT>(value);
228 template <
typename PlayersT = Aws::Vector<Player>>
233 template <
typename PlayersT = Player>
235 m_playersHasBeenSet =
true;
236 m_players.emplace_back(std::forward<PlayersT>(value));
251 template <
typename GameSessionConnectionInfoT = GameSessionConnectionInfo>
253 m_gameSessionConnectionInfoHasBeenSet =
true;
254 m_gameSessionConnectionInfo = std::forward<GameSessionConnectionInfoT>(value);
256 template <
typename GameSessionConnectionInfoT = GameSessionConnectionInfo>
271 m_estimatedWaitTimeHasBeenSet =
true;
272 m_estimatedWaitTime = value;
298 GameSessionConnectionInfo m_gameSessionConnectionInfo;
300 int m_estimatedWaitTime{0};
301 bool m_ticketIdHasBeenSet =
false;
302 bool m_configurationNameHasBeenSet =
false;
303 bool m_configurationArnHasBeenSet =
false;
304 bool m_statusHasBeenSet =
false;
305 bool m_statusReasonHasBeenSet =
false;
306 bool m_statusMessageHasBeenSet =
false;
307 bool m_startTimeHasBeenSet =
false;
308 bool m_endTimeHasBeenSet =
false;
309 bool m_playersHasBeenSet =
false;
310 bool m_gameSessionConnectionInfoHasBeenSet =
false;
311 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