7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/model/IpProtocol.h>
49 inline void SetFromPort(
int value) { m_fromPortHasBeenSet =
true; m_fromPort = value; }
61 inline void SetToPort(
int value) { m_toPortHasBeenSet =
true; m_toPort = value; }
79 bool m_fromPortHasBeenSet =
false;
82 bool m_toPortHasBeenSet =
false;
85 bool m_protocolHasBeenSet =
false;
void SetProtocol(IpProtocol &&value)
AWS_GAMELIFT_API ContainerPortRange()
ContainerPortRange & WithProtocol(IpProtocol &&value)
void SetProtocol(const IpProtocol &value)
void SetToPort(int value)
AWS_GAMELIFT_API ContainerPortRange & operator=(Aws::Utils::Json::JsonView jsonValue)
const IpProtocol & GetProtocol() const
ContainerPortRange & WithToPort(int value)
ContainerPortRange & WithProtocol(const IpProtocol &value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GAMELIFT_API ContainerPortRange(Aws::Utils::Json::JsonView jsonValue)
bool FromPortHasBeenSet() const
bool ProtocolHasBeenSet() const
void SetFromPort(int value)
ContainerPortRange & WithFromPort(int value)
bool ToPortHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue