7#include <aws/crt/cbor/Cbor.h>
8#include <aws/gamelift/GameLift_EXPORTS.h>
34 AWS_GAMELIFT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 m_fromPortHasBeenSet =
true;
57 inline int64_t
GetToPort()
const {
return m_toPort; }
60 m_toPortHasBeenSet =
true;
69 int64_t m_fromPort{0};
72 bool m_fromPortHasBeenSet =
false;
73 bool m_toPortHasBeenSet =
false;
int64_t GetToPort() const
ConnectionPortRange & WithFromPort(int64_t value)
bool ToPortHasBeenSet() const
void SetToPort(int64_t value)
AWS_GAMELIFT_API ConnectionPortRange()=default
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool FromPortHasBeenSet() const
int64_t GetFromPort() const
ConnectionPortRange & WithToPort(int64_t value)
AWS_GAMELIFT_API ConnectionPortRange & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetFromPort(int64_t value)
AWS_GAMELIFT_API ConnectionPortRange(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)