7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/gamelift/model/MatchedPlayerSession.h>
52 template<
typename GameSessionArnT = Aws::String>
53 void SetGameSessionArn(GameSessionArnT&& value) { m_gameSessionArnHasBeenSet =
true; m_gameSessionArn = std::forward<GameSessionArnT>(value); }
54 template<
typename GameSessionArnT = Aws::String>
65 template<
typename IpAddressT = Aws::String>
66 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet =
true; m_ipAddress = std::forward<IpAddressT>(value); }
67 template<
typename IpAddressT = Aws::String>
86 template<
typename DnsNameT = Aws::String>
87 void SetDnsName(DnsNameT&& value) { m_dnsNameHasBeenSet =
true; m_dnsName = std::forward<DnsNameT>(value); }
88 template<
typename DnsNameT = Aws::String>
97 inline int GetPort()
const {
return m_port; }
99 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
110 template<
typename MatchedPlayerSessionsT = Aws::Vector<MatchedPlayerSession>>
111 void SetMatchedPlayerSessions(MatchedPlayerSessionsT&& value) { m_matchedPlayerSessionsHasBeenSet =
true; m_matchedPlayerSessions = std::forward<MatchedPlayerSessionsT>(value); }
112 template<
typename MatchedPlayerSessionsT = Aws::Vector<MatchedPlayerSession>>
114 template<
typename MatchedPlayerSessionsT = MatchedPlayerSession>
120 bool m_gameSessionArnHasBeenSet =
false;
123 bool m_ipAddressHasBeenSet =
false;
126 bool m_dnsNameHasBeenSet =
false;
129 bool m_portHasBeenSet =
false;
132 bool m_matchedPlayerSessionsHasBeenSet =
false;
GameSessionConnectionInfo & WithGameSessionArn(GameSessionArnT &&value)
void SetGameSessionArn(GameSessionArnT &&value)
AWS_GAMELIFT_API GameSessionConnectionInfo()=default
bool DnsNameHasBeenSet() const
const Aws::Vector< MatchedPlayerSession > & GetMatchedPlayerSessions() const
AWS_GAMELIFT_API GameSessionConnectionInfo(Aws::Utils::Json::JsonView jsonValue)
void SetIpAddress(IpAddressT &&value)
bool PortHasBeenSet() const
AWS_GAMELIFT_API GameSessionConnectionInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetGameSessionArn() const
const Aws::String & GetDnsName() const
GameSessionConnectionInfo & WithMatchedPlayerSessions(MatchedPlayerSessionsT &&value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
GameSessionConnectionInfo & AddMatchedPlayerSessions(MatchedPlayerSessionsT &&value)
void SetDnsName(DnsNameT &&value)
bool GameSessionArnHasBeenSet() const
bool MatchedPlayerSessionsHasBeenSet() const
GameSessionConnectionInfo & WithIpAddress(IpAddressT &&value)
GameSessionConnectionInfo & WithPort(int 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
Aws::Utils::Json::JsonValue JsonValue