7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/gamelift/GameLift_EXPORTS.h>
11#include <aws/gamelift/model/MatchedPlayerSession.h>
12#include <aws/gamelift/model/PlayerGatewayStatus.h>
39 AWS_GAMELIFT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
52 template <
typename GameSessionArnT = Aws::String>
54 m_gameSessionArnHasBeenSet =
true;
55 m_gameSessionArn = std::forward<GameSessionArnT>(value);
57 template <
typename GameSessionArnT = Aws::String>
71 template <
typename IpAddressT = Aws::String>
73 m_ipAddressHasBeenSet =
true;
74 m_ipAddress = std::forward<IpAddressT>(value);
76 template <
typename IpAddressT = Aws::String>
98 template <
typename DnsNameT = Aws::String>
100 m_dnsNameHasBeenSet =
true;
101 m_dnsName = std::forward<DnsNameT>(value);
103 template <
typename DnsNameT = Aws::String>
115 inline int64_t
GetPort()
const {
return m_port; }
118 m_portHasBeenSet =
true;
134 template <
typename MatchedPlayerSessionsT = Aws::Vector<MatchedPlayerSession>>
136 m_matchedPlayerSessionsHasBeenSet =
true;
137 m_matchedPlayerSessions = std::forward<MatchedPlayerSessionsT>(value);
139 template <
typename MatchedPlayerSessionsT = Aws::Vector<MatchedPlayerSession>>
144 template <
typename MatchedPlayerSessionsT = MatchedPlayerSession>
146 m_matchedPlayerSessionsHasBeenSet =
true;
147 m_matchedPlayerSessions.emplace_back(std::forward<MatchedPlayerSessionsT>(value));
167 m_playerGatewayStatusHasBeenSet =
true;
168 m_playerGatewayStatus = value;
187 bool m_gameSessionArnHasBeenSet =
false;
188 bool m_ipAddressHasBeenSet =
false;
189 bool m_dnsNameHasBeenSet =
false;
190 bool m_portHasBeenSet =
false;
191 bool m_matchedPlayerSessionsHasBeenSet =
false;
192 bool m_playerGatewayStatusHasBeenSet =
false;
GameSessionConnectionInfo & WithGameSessionArn(GameSessionArnT &&value)
bool PlayerGatewayStatusHasBeenSet() const
void SetGameSessionArn(GameSessionArnT &&value)
AWS_GAMELIFT_API GameSessionConnectionInfo()=default
AWS_GAMELIFT_API GameSessionConnectionInfo(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool DnsNameHasBeenSet() const
PlayerGatewayStatus GetPlayerGatewayStatus() const
const Aws::Vector< MatchedPlayerSession > & GetMatchedPlayerSessions() const
void SetPlayerGatewayStatus(PlayerGatewayStatus value)
void SetIpAddress(IpAddressT &&value)
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool PortHasBeenSet() const
const Aws::String & GetGameSessionArn() const
AWS_GAMELIFT_API GameSessionConnectionInfo & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetDnsName() const
GameSessionConnectionInfo & WithMatchedPlayerSessions(MatchedPlayerSessionsT &&value)
GameSessionConnectionInfo & AddMatchedPlayerSessions(MatchedPlayerSessionsT &&value)
void SetDnsName(DnsNameT &&value)
bool GameSessionArnHasBeenSet() const
GameSessionConnectionInfo & WithPlayerGatewayStatus(PlayerGatewayStatus value)
void SetPort(int64_t value)
bool MatchedPlayerSessionsHasBeenSet() const
GameSessionConnectionInfo & WithPort(int64_t value)
GameSessionConnectionInfo & WithIpAddress(IpAddressT &&value)
const Aws::String & GetIpAddress() const
void SetMatchedPlayerSessions(MatchedPlayerSessionsT &&value)
GameSessionConnectionInfo & WithDnsName(DnsNameT &&value)
bool IpAddressHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector