7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gamelift/model/IpProtocol.h>
56 inline void SetFromPort(
int value) { m_fromPortHasBeenSet =
true; m_fromPort = value; }
70 inline void SetToPort(
int value) { m_toPortHasBeenSet =
true; m_toPort = value; }
84 inline void SetIpRange(
const char* value) { m_ipRangeHasBeenSet =
true; m_ipRange.assign(value); }
104 bool m_fromPortHasBeenSet =
false;
107 bool m_toPortHasBeenSet =
false;
110 bool m_ipRangeHasBeenSet =
false;
113 bool m_protocolHasBeenSet =
false;
IpPermission & WithProtocol(const IpProtocol &value)
void SetProtocol(const IpProtocol &value)
void SetToPort(int value)
void SetIpRange(const Aws::String &value)
IpPermission & WithIpRange(Aws::String &&value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
bool IpRangeHasBeenSet() const
const IpProtocol & GetProtocol() const
void SetFromPort(int value)
IpPermission & WithIpRange(const Aws::String &value)
IpPermission & WithProtocol(IpProtocol &&value)
AWS_GAMELIFT_API IpPermission(Aws::Utils::Json::JsonView jsonValue)
bool FromPortHasBeenSet() const
bool ToPortHasBeenSet() const
void SetProtocol(IpProtocol &&value)
AWS_GAMELIFT_API IpPermission & operator=(Aws::Utils::Json::JsonView jsonValue)
IpPermission & WithIpRange(const char *value)
bool ProtocolHasBeenSet() const
const Aws::String & GetIpRange() const
IpPermission & WithToPort(int value)
AWS_GAMELIFT_API IpPermission()
void SetIpRange(Aws::String &&value)
void SetIpRange(const char *value)
IpPermission & WithFromPort(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue