7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/RuleAction.h>
11#include <aws/ec2/model/IcmpTypeCode.h>
12#include <aws/ec2/model/PortRange.h>
51 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
63 inline void SetNetworkAclId(
const char* value) { m_networkAclIdHasBeenSet =
true; m_networkAclId.assign(value); }
77 inline void SetRuleNumber(
int value) { m_ruleNumberHasBeenSet =
true; m_ruleNumber = value; }
95 inline void SetProtocol(
const char* value) { m_protocolHasBeenSet =
true; m_protocol.assign(value); }
120 inline void SetEgress(
bool value) { m_egressHasBeenSet =
true; m_egress = value; }
135 inline void SetCidrBlock(
const char* value) { m_cidrBlockHasBeenSet =
true; m_cidrBlock.assign(value); }
150 inline void SetIpv6CidrBlock(
const char* value) { m_ipv6CidrBlockHasBeenSet =
true; m_ipv6CidrBlock.assign(value); }
184 bool m_dryRunHasBeenSet =
false;
187 bool m_networkAclIdHasBeenSet =
false;
190 bool m_ruleNumberHasBeenSet =
false;
193 bool m_protocolHasBeenSet =
false;
196 bool m_ruleActionHasBeenSet =
false;
199 bool m_egressHasBeenSet =
false;
202 bool m_cidrBlockHasBeenSet =
false;
205 bool m_ipv6CidrBlockHasBeenSet =
false;
208 bool m_icmpTypeCodeHasBeenSet =
false;
211 bool m_portRangeHasBeenSet =
false;
AWS_EC2_API Aws::String SerializePayload() const override
void SetIpv6CidrBlock(const char *value)
void SetIcmpTypeCode(IcmpTypeCode &&value)
bool ProtocolHasBeenSet() const
const Aws::String & GetNetworkAclId() const
CreateNetworkAclEntryRequest & WithCidrBlock(const char *value)
CreateNetworkAclEntryRequest & WithPortRange(const PortRange &value)
void SetCidrBlock(Aws::String &&value)
bool IcmpTypeCodeHasBeenSet() const
void SetPortRange(const PortRange &value)
bool PortRangeHasBeenSet() const
CreateNetworkAclEntryRequest & WithProtocol(Aws::String &&value)
void SetRuleAction(const RuleAction &value)
CreateNetworkAclEntryRequest & WithIpv6CidrBlock(const char *value)
void SetEgress(bool value)
const PortRange & GetPortRange() const
void SetRuleAction(RuleAction &&value)
CreateNetworkAclEntryRequest & WithIpv6CidrBlock(const Aws::String &value)
void SetDryRun(bool value)
bool RuleActionHasBeenSet() const
const RuleAction & GetRuleAction() const
CreateNetworkAclEntryRequest & WithRuleAction(RuleAction &&value)
CreateNetworkAclEntryRequest & WithRuleNumber(int value)
int GetRuleNumber() const
const Aws::String & GetIpv6CidrBlock() const
void SetNetworkAclId(const Aws::String &value)
CreateNetworkAclEntryRequest & WithRuleAction(const RuleAction &value)
CreateNetworkAclEntryRequest & WithCidrBlock(Aws::String &&value)
void SetProtocol(const Aws::String &value)
void SetPortRange(PortRange &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateNetworkAclEntryRequest & WithIpv6CidrBlock(Aws::String &&value)
void SetProtocol(const char *value)
bool NetworkAclIdHasBeenSet() const
bool CidrBlockHasBeenSet() const
void SetIpv6CidrBlock(Aws::String &&value)
void SetNetworkAclId(const char *value)
CreateNetworkAclEntryRequest & WithNetworkAclId(Aws::String &&value)
CreateNetworkAclEntryRequest & WithDryRun(bool value)
void SetIpv6CidrBlock(const Aws::String &value)
bool DryRunHasBeenSet() const
CreateNetworkAclEntryRequest & WithEgress(bool value)
void SetCidrBlock(const Aws::String &value)
CreateNetworkAclEntryRequest & WithPortRange(PortRange &&value)
CreateNetworkAclEntryRequest & WithCidrBlock(const Aws::String &value)
void SetCidrBlock(const char *value)
bool EgressHasBeenSet() const
void SetRuleNumber(int value)
bool RuleNumberHasBeenSet() const
const Aws::String & GetProtocol() const
CreateNetworkAclEntryRequest & WithNetworkAclId(const char *value)
CreateNetworkAclEntryRequest & WithProtocol(const char *value)
void SetNetworkAclId(Aws::String &&value)
CreateNetworkAclEntryRequest & WithIcmpTypeCode(const IcmpTypeCode &value)
CreateNetworkAclEntryRequest & WithProtocol(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateNetworkAclEntryRequest & WithIcmpTypeCode(IcmpTypeCode &&value)
bool Ipv6CidrBlockHasBeenSet() const
const Aws::String & GetCidrBlock() const
void SetProtocol(Aws::String &&value)
void SetIcmpTypeCode(const IcmpTypeCode &value)
AWS_EC2_API CreateNetworkAclEntryRequest()
CreateNetworkAclEntryRequest & WithNetworkAclId(const Aws::String &value)
const IcmpTypeCode & GetIcmpTypeCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String