7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
33 AWS_GAMELIFT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 template <
typename IpAddressT = Aws::String>
45 m_ipAddressHasBeenSet =
true;
46 m_ipAddress = std::forward<IpAddressT>(value);
48 template <
typename IpAddressT = Aws::String>
61 inline int64_t
GetPort()
const {
return m_port; }
64 m_portHasBeenSet =
true;
76 bool m_ipAddressHasBeenSet =
false;
77 bool m_portHasBeenSet =
false;
AWS_GAMELIFT_API PlayerConnectionEndpoint(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_GAMELIFT_API PlayerConnectionEndpoint & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_GAMELIFT_API PlayerConnectionEndpoint()=default
const Aws::String & GetIpAddress() const
void SetIpAddress(IpAddressT &&value)
PlayerConnectionEndpoint & WithIpAddress(IpAddressT &&value)
bool IpAddressHasBeenSet() const
bool PortHasBeenSet() const
void SetPort(int64_t value)
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
PlayerConnectionEndpoint & WithPort(int64_t value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String