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/PlayerConnectionEndpoint.h>
50 template <
typename PlayerIdT = Aws::String>
52 m_playerIdHasBeenSet =
true;
53 m_playerId = std::forward<PlayerIdT>(value);
55 template <
typename PlayerIdT = Aws::String>
71 template <
typename Endpo
intsT = Aws::Vector<PlayerConnectionEndpo
int>>
73 m_endpointsHasBeenSet =
true;
74 m_endpoints = std::forward<EndpointsT>(value);
76 template <
typename Endpo
intsT = Aws::Vector<PlayerConnectionEndpo
int>>
81 template <
typename Endpo
intsT = PlayerConnectionEndpo
int>
83 m_endpointsHasBeenSet =
true;
84 m_endpoints.emplace_back(std::forward<EndpointsT>(value));
97 template <
typename PlayerGatewayTokenT = Aws::String>
99 m_playerGatewayTokenHasBeenSet =
true;
100 m_playerGatewayToken = std::forward<PlayerGatewayTokenT>(value);
102 template <
typename PlayerGatewayTokenT = Aws::String>
121 template <
typename ExpirationT = Aws::Utils::DateTime>
123 m_expirationHasBeenSet =
true;
124 m_expiration = std::forward<ExpirationT>(value);
126 template <
typename ExpirationT = Aws::Utils::DateTime>
140 bool m_playerIdHasBeenSet =
false;
141 bool m_endpointsHasBeenSet =
false;
142 bool m_playerGatewayTokenHasBeenSet =
false;
143 bool m_expirationHasBeenSet =
false;
const Aws::Vector< PlayerConnectionEndpoint > & GetEndpoints() const
PlayerConnectionDetail & WithPlayerGatewayToken(PlayerGatewayTokenT &&value)
AWS_GAMELIFT_API PlayerConnectionDetail()=default
const Aws::String & GetPlayerId() const
AWS_GAMELIFT_API PlayerConnectionDetail(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPlayerGatewayToken() const
void SetExpiration(ExpirationT &&value)
bool PlayerGatewayTokenHasBeenSet() const
PlayerConnectionDetail & WithPlayerId(PlayerIdT &&value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPlayerId(PlayerIdT &&value)
AWS_GAMELIFT_API PlayerConnectionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
PlayerConnectionDetail & WithEndpoints(EndpointsT &&value)
void SetPlayerGatewayToken(PlayerGatewayTokenT &&value)
PlayerConnectionDetail & WithExpiration(ExpirationT &&value)
PlayerConnectionDetail & AddEndpoints(EndpointsT &&value)
bool PlayerIdHasBeenSet() const
bool EndpointsHasBeenSet() const
const Aws::Utils::DateTime & GetExpiration() const
bool ExpirationHasBeenSet() const
void SetEndpoints(EndpointsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue