7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetIPV4Range(
const char* value) { m_iPV4RangeHasBeenSet =
true; m_iPV4Range.assign(value); }
63 inline void SetIPV6Range(
const char* value) { m_iPV6RangeHasBeenSet =
true; m_iPV6Range.assign(value); }
77 inline void SetPrefixListId(
const char* value) { m_prefixListIdHasBeenSet =
true; m_prefixListId.assign(value); }
92 inline void SetProtocol(
const char* value) { m_protocolHasBeenSet =
true; m_protocol.assign(value); }
105 inline void SetFromPort(
long long value) { m_fromPortHasBeenSet =
true; m_fromPort = value; }
116 inline void SetToPort(
long long value) { m_toPortHasBeenSet =
true; m_toPort = value; }
122 bool m_iPV4RangeHasBeenSet =
false;
125 bool m_iPV6RangeHasBeenSet =
false;
128 bool m_prefixListIdHasBeenSet =
false;
131 bool m_protocolHasBeenSet =
false;
133 long long m_fromPort;
134 bool m_fromPortHasBeenSet =
false;
137 bool m_toPortHasBeenSet =
false;
void SetIPV6Range(Aws::String &&value)
const Aws::String & GetPrefixListId() const
void SetProtocol(Aws::String &&value)
AWS_FMS_API SecurityGroupRuleDescription()
bool PrefixListIdHasBeenSet() const
void SetProtocol(const Aws::String &value)
SecurityGroupRuleDescription & WithPrefixListId(Aws::String &&value)
long long GetFromPort() const
SecurityGroupRuleDescription & WithIPV6Range(const Aws::String &value)
void SetIPV4Range(Aws::String &&value)
AWS_FMS_API SecurityGroupRuleDescription(Aws::Utils::Json::JsonView jsonValue)
SecurityGroupRuleDescription & WithFromPort(long long value)
SecurityGroupRuleDescription & WithIPV4Range(const Aws::String &value)
bool IPV4RangeHasBeenSet() const
SecurityGroupRuleDescription & WithProtocol(Aws::String &&value)
void SetPrefixListId(const char *value)
const Aws::String & GetIPV6Range() const
void SetIPV6Range(const char *value)
SecurityGroupRuleDescription & WithProtocol(const char *value)
bool FromPortHasBeenSet() const
void SetPrefixListId(const Aws::String &value)
void SetIPV6Range(const Aws::String &value)
void SetToPort(long long value)
bool ProtocolHasBeenSet() const
SecurityGroupRuleDescription & WithIPV4Range(const char *value)
bool IPV6RangeHasBeenSet() const
SecurityGroupRuleDescription & WithToPort(long long value)
SecurityGroupRuleDescription & WithIPV6Range(Aws::String &&value)
void SetPrefixListId(Aws::String &&value)
void SetIPV4Range(const Aws::String &value)
void SetProtocol(const char *value)
void SetFromPort(long long value)
long long GetToPort() const
SecurityGroupRuleDescription & WithProtocol(const Aws::String &value)
SecurityGroupRuleDescription & WithPrefixListId(const Aws::String &value)
AWS_FMS_API SecurityGroupRuleDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIPV4Range() const
SecurityGroupRuleDescription & WithIPV4Range(Aws::String &&value)
bool ToPortHasBeenSet() const
SecurityGroupRuleDescription & WithPrefixListId(const char *value)
void SetIPV4Range(const char *value)
const Aws::String & GetProtocol() const
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
SecurityGroupRuleDescription & WithIPV6Range(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue