7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10#include <aws/gamelift/model/MatchedPlayerSession.h>
46 template <
typename GameSessionArnT = Aws::String>
48 m_gameSessionArnHasBeenSet =
true;
49 m_gameSessionArn = std::forward<GameSessionArnT>(value);
51 template <
typename GameSessionArnT = Aws::String>
65 template <
typename IpAddressT = Aws::String>
67 m_ipAddressHasBeenSet =
true;
68 m_ipAddress = std::forward<IpAddressT>(value);
70 template <
typename IpAddressT = Aws::String>
92 template <
typename DnsNameT = Aws::String>
94 m_dnsNameHasBeenSet =
true;
95 m_dnsName = std::forward<DnsNameT>(value);
97 template <
typename DnsNameT = Aws::String>
112 m_portHasBeenSet =
true;
128 template <
typename MatchedPlayerSessionsT = Aws::Vector<MatchedPlayerSession>>
130 m_matchedPlayerSessionsHasBeenSet =
true;
131 m_matchedPlayerSessions = std::forward<MatchedPlayerSessionsT>(value);
133 template <
typename MatchedPlayerSessionsT = Aws::Vector<MatchedPlayerSession>>
138 template <
typename MatchedPlayerSessionsT = MatchedPlayerSession>
140 m_matchedPlayerSessionsHasBeenSet =
true;
141 m_matchedPlayerSessions.emplace_back(std::forward<MatchedPlayerSessionsT>(value));
147 bool m_gameSessionArnHasBeenSet =
false;
150 bool m_ipAddressHasBeenSet =
false;
153 bool m_dnsNameHasBeenSet =
false;
156 bool m_portHasBeenSet =
false;
159 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