7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/fms/model/NetworkAclIcmpTypeCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/fms/model/NetworkAclPortRange.h>
11#include <aws/fms/model/NetworkAclRuleAction.h>
73 inline void SetProtocol(
const char* value) { m_protocolHasBeenSet =
true; m_protocol.assign(value); }
99 inline void SetCidrBlock(
const char* value) { m_cidrBlockHasBeenSet =
true; m_cidrBlock.assign(value); }
113 inline void SetIpv6CidrBlock(
const char* value) { m_ipv6CidrBlockHasBeenSet =
true; m_ipv6CidrBlock.assign(value); }
139 inline void SetEgress(
bool value) { m_egressHasBeenSet =
true; m_egress = value; }
145 bool m_icmpTypeCodeHasBeenSet =
false;
148 bool m_protocolHasBeenSet =
false;
151 bool m_portRangeHasBeenSet =
false;
154 bool m_cidrBlockHasBeenSet =
false;
157 bool m_ipv6CidrBlockHasBeenSet =
false;
160 bool m_ruleActionHasBeenSet =
false;
163 bool m_egressHasBeenSet =
false;
NetworkAclEntry & WithIpv6CidrBlock(const Aws::String &value)
bool EgressHasBeenSet() const
NetworkAclEntry & WithIpv6CidrBlock(const char *value)
NetworkAclEntry & WithEgress(bool value)
void SetPortRange(const NetworkAclPortRange &value)
NetworkAclEntry & WithCidrBlock(const char *value)
NetworkAclEntry & WithProtocol(const Aws::String &value)
void SetPortRange(NetworkAclPortRange &&value)
void SetRuleAction(const NetworkAclRuleAction &value)
AWS_FMS_API NetworkAclEntry()
const Aws::String & GetProtocol() const
const Aws::String & GetIpv6CidrBlock() const
NetworkAclEntry & WithIpv6CidrBlock(Aws::String &&value)
void SetProtocol(const char *value)
NetworkAclEntry & WithProtocol(const char *value)
bool RuleActionHasBeenSet() const
void SetRuleAction(NetworkAclRuleAction &&value)
const NetworkAclPortRange & GetPortRange() const
const NetworkAclIcmpTypeCode & GetIcmpTypeCode() const
NetworkAclEntry & WithCidrBlock(Aws::String &&value)
NetworkAclEntry & WithIcmpTypeCode(NetworkAclIcmpTypeCode &&value)
void SetIpv6CidrBlock(const char *value)
bool Ipv6CidrBlockHasBeenSet() const
void SetEgress(bool value)
void SetProtocol(const Aws::String &value)
NetworkAclEntry & WithProtocol(Aws::String &&value)
const NetworkAclRuleAction & GetRuleAction() const
NetworkAclEntry & WithPortRange(NetworkAclPortRange &&value)
void SetCidrBlock(Aws::String &&value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkAclEntry & WithCidrBlock(const Aws::String &value)
void SetIpv6CidrBlock(const Aws::String &value)
NetworkAclEntry & WithPortRange(const NetworkAclPortRange &value)
void SetIcmpTypeCode(NetworkAclIcmpTypeCode &&value)
void SetIpv6CidrBlock(Aws::String &&value)
AWS_FMS_API NetworkAclEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FMS_API NetworkAclEntry(Aws::Utils::Json::JsonView jsonValue)
void SetProtocol(Aws::String &&value)
void SetCidrBlock(const Aws::String &value)
void SetCidrBlock(const char *value)
NetworkAclEntry & WithIcmpTypeCode(const NetworkAclIcmpTypeCode &value)
NetworkAclEntry & WithRuleAction(const NetworkAclRuleAction &value)
void SetIcmpTypeCode(const NetworkAclIcmpTypeCode &value)
bool IcmpTypeCodeHasBeenSet() const
bool CidrBlockHasBeenSet() const
bool ProtocolHasBeenSet() const
bool PortRangeHasBeenSet() const
NetworkAclEntry & WithRuleAction(NetworkAclRuleAction &&value)
const Aws::String & GetCidrBlock() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue