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); }
75 inline void SetRuleNumber(
int value) { m_ruleNumberHasBeenSet =
true; m_ruleNumber = value; }
93 inline void SetProtocol(
const char* value) { m_protocolHasBeenSet =
true; m_protocol.assign(value); }
118 inline void SetEgress(
bool value) { m_egressHasBeenSet =
true; m_egress = value; }
131 inline void SetCidrBlock(
const char* value) { m_cidrBlockHasBeenSet =
true; m_cidrBlock.assign(value); }
146 inline void SetIpv6CidrBlock(
const char* value) { m_ipv6CidrBlockHasBeenSet =
true; m_ipv6CidrBlock.assign(value); }
180 bool m_dryRunHasBeenSet =
false;
183 bool m_networkAclIdHasBeenSet =
false;
186 bool m_ruleNumberHasBeenSet =
false;
189 bool m_protocolHasBeenSet =
false;
192 bool m_ruleActionHasBeenSet =
false;
195 bool m_egressHasBeenSet =
false;
198 bool m_cidrBlockHasBeenSet =
false;
201 bool m_ipv6CidrBlockHasBeenSet =
false;
204 bool m_icmpTypeCodeHasBeenSet =
false;
207 bool m_portRangeHasBeenSet =
false;
bool CidrBlockHasBeenSet() const
ReplaceNetworkAclEntryRequest & WithRuleAction(const RuleAction &value)
void SetIcmpTypeCode(IcmpTypeCode &&value)
void SetIpv6CidrBlock(Aws::String &&value)
const Aws::String & GetNetworkAclId() const
void SetNetworkAclId(const Aws::String &value)
const PortRange & GetPortRange() const
void SetIpv6CidrBlock(const char *value)
AWS_EC2_API ReplaceNetworkAclEntryRequest()
ReplaceNetworkAclEntryRequest & WithIpv6CidrBlock(Aws::String &&value)
void SetPortRange(const PortRange &value)
bool RuleActionHasBeenSet() const
ReplaceNetworkAclEntryRequest & WithEgress(bool value)
void SetIcmpTypeCode(const IcmpTypeCode &value)
ReplaceNetworkAclEntryRequest & WithRuleAction(RuleAction &&value)
ReplaceNetworkAclEntryRequest & WithPortRange(const PortRange &value)
ReplaceNetworkAclEntryRequest & WithIpv6CidrBlock(const char *value)
void SetRuleAction(const RuleAction &value)
ReplaceNetworkAclEntryRequest & WithIcmpTypeCode(IcmpTypeCode &&value)
ReplaceNetworkAclEntryRequest & WithNetworkAclId(const char *value)
ReplaceNetworkAclEntryRequest & WithCidrBlock(const char *value)
const Aws::String & GetCidrBlock() const
void SetNetworkAclId(Aws::String &&value)
ReplaceNetworkAclEntryRequest & WithProtocol(Aws::String &&value)
void SetDryRun(bool value)
ReplaceNetworkAclEntryRequest & WithNetworkAclId(Aws::String &&value)
ReplaceNetworkAclEntryRequest & WithIcmpTypeCode(const IcmpTypeCode &value)
void SetIpv6CidrBlock(const Aws::String &value)
bool NetworkAclIdHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
const Aws::String & GetProtocol() const
void SetRuleAction(RuleAction &&value)
ReplaceNetworkAclEntryRequest & WithIpv6CidrBlock(const Aws::String &value)
ReplaceNetworkAclEntryRequest & WithProtocol(const char *value)
const IcmpTypeCode & GetIcmpTypeCode() const
ReplaceNetworkAclEntryRequest & WithDryRun(bool value)
void SetProtocol(const Aws::String &value)
bool EgressHasBeenSet() const
void SetCidrBlock(const Aws::String &value)
ReplaceNetworkAclEntryRequest & WithRuleNumber(int value)
void SetPortRange(PortRange &&value)
void SetEgress(bool value)
bool Ipv6CidrBlockHasBeenSet() const
ReplaceNetworkAclEntryRequest & WithCidrBlock(Aws::String &&value)
ReplaceNetworkAclEntryRequest & WithNetworkAclId(const Aws::String &value)
bool PortRangeHasBeenSet() const
bool IcmpTypeCodeHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetProtocol(const char *value)
void SetCidrBlock(const char *value)
bool ProtocolHasBeenSet() const
ReplaceNetworkAclEntryRequest & WithCidrBlock(const Aws::String &value)
ReplaceNetworkAclEntryRequest & WithProtocol(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetIpv6CidrBlock() const
bool RuleNumberHasBeenSet() const
void SetCidrBlock(Aws::String &&value)
void SetProtocol(Aws::String &&value)
const RuleAction & GetRuleAction() const
int GetRuleNumber() const
void SetNetworkAclId(const char *value)
bool DryRunHasBeenSet() const
ReplaceNetworkAclEntryRequest & WithPortRange(PortRange &&value)
void SetRuleNumber(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String