7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/IcmpTypeCode.h>
11#include <aws/ec2/model/PortRange.h>
12#include <aws/ec2/model/RuleAction.h>
53 inline void SetCidrBlock(
const char* value) { m_cidrBlockHasBeenSet =
true; m_cidrBlock.assign(value); }
66 inline void SetEgress(
bool value) { m_egressHasBeenSet =
true; m_egress = value; }
90 inline void SetIpv6CidrBlock(
const char* value) { m_ipv6CidrBlockHasBeenSet =
true; m_ipv6CidrBlock.assign(value); }
116 inline void SetProtocol(
const char* value) { m_protocolHasBeenSet =
true; m_protocol.assign(value); }
141 inline void SetRuleNumber(
int value) { m_ruleNumberHasBeenSet =
true; m_ruleNumber = value; }
147 bool m_cidrBlockHasBeenSet =
false;
150 bool m_egressHasBeenSet =
false;
153 bool m_icmpTypeCodeHasBeenSet =
false;
156 bool m_ipv6CidrBlockHasBeenSet =
false;
159 bool m_portRangeHasBeenSet =
false;
162 bool m_protocolHasBeenSet =
false;
165 bool m_ruleActionHasBeenSet =
false;
168 bool m_ruleNumberHasBeenSet =
false;
bool Ipv6CidrBlockHasBeenSet() const
int GetRuleNumber() const
void SetIcmpTypeCode(const IcmpTypeCode &value)
NetworkAclEntry & WithPortRange(const PortRange &value)
bool IcmpTypeCodeHasBeenSet() const
NetworkAclEntry & WithRuleAction(const RuleAction &value)
bool EgressHasBeenSet() const
NetworkAclEntry & WithProtocol(const Aws::String &value)
void SetRuleNumber(int value)
NetworkAclEntry & WithCidrBlock(const Aws::String &value)
const RuleAction & GetRuleAction() const
void SetEgress(bool value)
void SetIpv6CidrBlock(const Aws::String &value)
const Aws::String & GetIpv6CidrBlock() const
NetworkAclEntry & WithIpv6CidrBlock(const Aws::String &value)
void SetIpv6CidrBlock(const char *value)
void SetIcmpTypeCode(IcmpTypeCode &&value)
AWS_EC2_API NetworkAclEntry & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
NetworkAclEntry & WithIpv6CidrBlock(Aws::String &&value)
void SetRuleAction(RuleAction &&value)
void SetCidrBlock(Aws::String &&value)
AWS_EC2_API NetworkAclEntry(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetProtocol(Aws::String &&value)
void SetProtocol(const Aws::String &value)
AWS_EC2_API NetworkAclEntry()
const IcmpTypeCode & GetIcmpTypeCode() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
NetworkAclEntry & WithIcmpTypeCode(const IcmpTypeCode &value)
NetworkAclEntry & WithIcmpTypeCode(IcmpTypeCode &&value)
void SetRuleAction(const RuleAction &value)
void SetIpv6CidrBlock(Aws::String &&value)
const Aws::String & GetProtocol() const
bool PortRangeHasBeenSet() const
void SetCidrBlock(const Aws::String &value)
void SetPortRange(const PortRange &value)
NetworkAclEntry & WithCidrBlock(Aws::String &&value)
NetworkAclEntry & WithIpv6CidrBlock(const char *value)
bool RuleNumberHasBeenSet() const
void SetPortRange(PortRange &&value)
NetworkAclEntry & WithEgress(bool value)
NetworkAclEntry & WithRuleAction(RuleAction &&value)
NetworkAclEntry & WithProtocol(Aws::String &&value)
const Aws::String & GetCidrBlock() const
NetworkAclEntry & WithCidrBlock(const char *value)
NetworkAclEntry & WithPortRange(PortRange &&value)
NetworkAclEntry & WithProtocol(const char *value)
bool ProtocolHasBeenSet() const
void SetCidrBlock(const char *value)
void SetProtocol(const char *value)
bool CidrBlockHasBeenSet() const
const PortRange & GetPortRange() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
NetworkAclEntry & WithRuleNumber(int value)
bool RuleActionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream