7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/IcmpTypeCode.h>
10#include <aws/securityhub/model/PortRangeFromTo.h>
51 inline void SetCidrBlock(
const char* value) { m_cidrBlockHasBeenSet =
true; m_cidrBlock.assign(value); }
64 inline void SetEgress(
bool value) { m_egressHasBeenSet =
true; m_egress = value; }
89 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); }
130 inline void SetRuleAction(
const char* value) { m_ruleActionHasBeenSet =
true; m_ruleAction.assign(value); }
142 inline void SetRuleNumber(
int value) { m_ruleNumberHasBeenSet =
true; m_ruleNumber = value; }
148 bool m_cidrBlockHasBeenSet =
false;
151 bool m_egressHasBeenSet =
false;
154 bool m_icmpTypeCodeHasBeenSet =
false;
157 bool m_ipv6CidrBlockHasBeenSet =
false;
160 bool m_portRangeHasBeenSet =
false;
163 bool m_protocolHasBeenSet =
false;
166 bool m_ruleActionHasBeenSet =
false;
169 bool m_ruleNumberHasBeenSet =
false;
AwsEc2NetworkAclEntry & WithIpv6CidrBlock(Aws::String &&value)
void SetIpv6CidrBlock(Aws::String &&value)
AwsEc2NetworkAclEntry & WithCidrBlock(const char *value)
AwsEc2NetworkAclEntry & WithRuleAction(const char *value)
AWS_SECURITYHUB_API AwsEc2NetworkAclEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEc2NetworkAclEntry & WithProtocol(const Aws::String &value)
AwsEc2NetworkAclEntry & WithRuleAction(const Aws::String &value)
void SetPortRange(const PortRangeFromTo &value)
void SetProtocol(Aws::String &&value)
void SetProtocol(const char *value)
AwsEc2NetworkAclEntry & WithProtocol(Aws::String &&value)
bool CidrBlockHasBeenSet() const
bool PortRangeHasBeenSet() const
void SetCidrBlock(Aws::String &&value)
AwsEc2NetworkAclEntry & WithCidrBlock(const Aws::String &value)
AwsEc2NetworkAclEntry & WithRuleNumber(int value)
bool EgressHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool Ipv6CidrBlockHasBeenSet() const
const Aws::String & GetProtocol() const
const PortRangeFromTo & GetPortRange() const
bool RuleActionHasBeenSet() const
void SetProtocol(const Aws::String &value)
AwsEc2NetworkAclEntry & WithCidrBlock(Aws::String &&value)
AWS_SECURITYHUB_API AwsEc2NetworkAclEntry(Aws::Utils::Json::JsonView jsonValue)
AwsEc2NetworkAclEntry & WithRuleAction(Aws::String &&value)
void SetRuleAction(const Aws::String &value)
void SetEgress(bool value)
void SetIpv6CidrBlock(const Aws::String &value)
bool IcmpTypeCodeHasBeenSet() const
const IcmpTypeCode & GetIcmpTypeCode() const
bool ProtocolHasBeenSet() const
AwsEc2NetworkAclEntry & WithIcmpTypeCode(IcmpTypeCode &&value)
AwsEc2NetworkAclEntry & WithPortRange(const PortRangeFromTo &value)
void SetPortRange(PortRangeFromTo &&value)
void SetCidrBlock(const Aws::String &value)
const Aws::String & GetCidrBlock() const
AwsEc2NetworkAclEntry & WithIpv6CidrBlock(const char *value)
void SetIpv6CidrBlock(const char *value)
bool RuleNumberHasBeenSet() const
void SetCidrBlock(const char *value)
AwsEc2NetworkAclEntry & WithEgress(bool value)
void SetIcmpTypeCode(IcmpTypeCode &&value)
void SetRuleNumber(int value)
const Aws::String & GetRuleAction() const
AwsEc2NetworkAclEntry & WithIpv6CidrBlock(const Aws::String &value)
AwsEc2NetworkAclEntry & WithProtocol(const char *value)
void SetIcmpTypeCode(const IcmpTypeCode &value)
AwsEc2NetworkAclEntry & WithPortRange(PortRangeFromTo &&value)
AwsEc2NetworkAclEntry & WithIcmpTypeCode(const IcmpTypeCode &value)
void SetRuleAction(Aws::String &&value)
const Aws::String & GetIpv6CidrBlock() const
void SetRuleAction(const char *value)
int GetRuleNumber() const
AWS_SECURITYHUB_API AwsEc2NetworkAclEntry()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue