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;
50 template <
typename GameSessionArnT = Aws::String>
52 m_gameSessionArnHasBeenSet =
true;
53 m_gameSessionArn = std::forward<GameSessionArnT>(value);
55 template <
typename GameSessionArnT = Aws::String>
69 template <
typename IpAddressT = Aws::String>
71 m_ipAddressHasBeenSet =
true;
72 m_ipAddress = std::forward<IpAddressT>(value);
74 template <
typename IpAddressT = Aws::String>
96 template <
typename DnsNameT = Aws::String>
98 m_dnsNameHasBeenSet =
true;
99 m_dnsName = std::forward<DnsNameT>(value);
101 template <
typename DnsNameT = Aws::String>
113 inline int64_t
GetPort()
const {
return m_port; }
116 m_portHasBeenSet =
true;
132 template <
typename MatchedPlayerSessionsT = Aws::Vector<MatchedPlayerSession>>
134 m_matchedPlayerSessionsHasBeenSet =
true;
135 m_matchedPlayerSessions = std::forward<MatchedPlayerSessionsT>(value);
137 template <
typename MatchedPlayerSessionsT = Aws::Vector<MatchedPlayerSession>>
142 template <
typename MatchedPlayerSessionsT = MatchedPlayerSession>
144 m_matchedPlayerSessionsHasBeenSet =
true;
145 m_matchedPlayerSessions.emplace_back(std::forward<MatchedPlayerSessionsT>(value));
165 m_playerGatewayStatusHasBeenSet =
true;
166 m_playerGatewayStatus = value;
185 bool m_gameSessionArnHasBeenSet =
false;
186 bool m_ipAddressHasBeenSet =
false;
187 bool m_dnsNameHasBeenSet =
false;
188 bool m_portHasBeenSet =
false;
189 bool m_matchedPlayerSessionsHasBeenSet =
false;
190 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