AWS SDK for C++  1.8.51
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::EC2::Model::ReplaceNetworkAclEntryRequest Class Reference

#include <ReplaceNetworkAclEntryRequest.h>

+ Inheritance diagram for Aws::EC2::Model::ReplaceNetworkAclEntryRequest:

Public Member Functions

 ReplaceNetworkAclEntryRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetCidrBlock () const
 
bool CidrBlockHasBeenSet () const
 
void SetCidrBlock (const Aws::String &value)
 
void SetCidrBlock (Aws::String &&value)
 
void SetCidrBlock (const char *value)
 
ReplaceNetworkAclEntryRequestWithCidrBlock (const Aws::String &value)
 
ReplaceNetworkAclEntryRequestWithCidrBlock (Aws::String &&value)
 
ReplaceNetworkAclEntryRequestWithCidrBlock (const char *value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
ReplaceNetworkAclEntryRequestWithDryRun (bool value)
 
bool GetEgress () const
 
bool EgressHasBeenSet () const
 
void SetEgress (bool value)
 
ReplaceNetworkAclEntryRequestWithEgress (bool value)
 
const IcmpTypeCodeGetIcmpTypeCode () const
 
bool IcmpTypeCodeHasBeenSet () const
 
void SetIcmpTypeCode (const IcmpTypeCode &value)
 
void SetIcmpTypeCode (IcmpTypeCode &&value)
 
ReplaceNetworkAclEntryRequestWithIcmpTypeCode (const IcmpTypeCode &value)
 
ReplaceNetworkAclEntryRequestWithIcmpTypeCode (IcmpTypeCode &&value)
 
const Aws::StringGetIpv6CidrBlock () const
 
bool Ipv6CidrBlockHasBeenSet () const
 
void SetIpv6CidrBlock (const Aws::String &value)
 
void SetIpv6CidrBlock (Aws::String &&value)
 
void SetIpv6CidrBlock (const char *value)
 
ReplaceNetworkAclEntryRequestWithIpv6CidrBlock (const Aws::String &value)
 
ReplaceNetworkAclEntryRequestWithIpv6CidrBlock (Aws::String &&value)
 
ReplaceNetworkAclEntryRequestWithIpv6CidrBlock (const char *value)
 
const Aws::StringGetNetworkAclId () const
 
bool NetworkAclIdHasBeenSet () const
 
void SetNetworkAclId (const Aws::String &value)
 
void SetNetworkAclId (Aws::String &&value)
 
void SetNetworkAclId (const char *value)
 
ReplaceNetworkAclEntryRequestWithNetworkAclId (const Aws::String &value)
 
ReplaceNetworkAclEntryRequestWithNetworkAclId (Aws::String &&value)
 
ReplaceNetworkAclEntryRequestWithNetworkAclId (const char *value)
 
const PortRangeGetPortRange () const
 
bool PortRangeHasBeenSet () const
 
void SetPortRange (const PortRange &value)
 
void SetPortRange (PortRange &&value)
 
ReplaceNetworkAclEntryRequestWithPortRange (const PortRange &value)
 
ReplaceNetworkAclEntryRequestWithPortRange (PortRange &&value)
 
const Aws::StringGetProtocol () const
 
bool ProtocolHasBeenSet () const
 
void SetProtocol (const Aws::String &value)
 
void SetProtocol (Aws::String &&value)
 
void SetProtocol (const char *value)
 
ReplaceNetworkAclEntryRequestWithProtocol (const Aws::String &value)
 
ReplaceNetworkAclEntryRequestWithProtocol (Aws::String &&value)
 
ReplaceNetworkAclEntryRequestWithProtocol (const char *value)
 
const RuleActionGetRuleAction () const
 
bool RuleActionHasBeenSet () const
 
void SetRuleAction (const RuleAction &value)
 
void SetRuleAction (RuleAction &&value)
 
ReplaceNetworkAclEntryRequestWithRuleAction (const RuleAction &value)
 
ReplaceNetworkAclEntryRequestWithRuleAction (RuleAction &&value)
 
int GetRuleNumber () const
 
bool RuleNumberHasBeenSet () const
 
void SetRuleNumber (int value)
 
ReplaceNetworkAclEntryRequestWithRuleNumber (int value)
 
- Public Member Functions inherited from Aws::EC2::EC2Request
virtual ~EC2Request ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Protected Member Functions

void DumpBodyToUrl (Aws::Http::URI &uri) const override
 
- Protected Member Functions inherited from Aws::EC2::EC2Request
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

Definition at line 24 of file ReplaceNetworkAclEntryRequest.h.

Constructor & Destructor Documentation

◆ ReplaceNetworkAclEntryRequest()

Aws::EC2::Model::ReplaceNetworkAclEntryRequest::ReplaceNetworkAclEntryRequest ( )

Member Function Documentation

◆ CidrBlockHasBeenSet()

bool Aws::EC2::Model::ReplaceNetworkAclEntryRequest::CidrBlockHasBeenSet ( ) const
inline

The IPv4 network range to allow or deny, in CIDR notation (for example 172.16.0.0/24).

Definition at line 52 of file ReplaceNetworkAclEntryRequest.h.

◆ DryRunHasBeenSet()

bool Aws::EC2::Model::ReplaceNetworkAclEntryRequest::DryRunHasBeenSet ( ) const
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 105 of file ReplaceNetworkAclEntryRequest.h.

◆ DumpBodyToUrl()

void Aws::EC2::Model::ReplaceNetworkAclEntryRequest::DumpBodyToUrl ( Aws::Http::URI uri) const
overrideprotectedvirtual

Default does nothing. Override this to convert what would otherwise be the payload of the request to a query string format.

Reimplemented from Aws::AmazonWebServiceRequest.

◆ EgressHasBeenSet()

bool Aws::EC2::Model::ReplaceNetworkAclEntryRequest::EgressHasBeenSet ( ) const
inline

Indicates whether to replace the egress rule.

Default: If no value is specified, we replace the ingress rule.

Definition at line 134 of file ReplaceNetworkAclEntryRequest.h.

◆ GetCidrBlock()

const Aws::String& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::GetCidrBlock ( ) const
inline

The IPv4 network range to allow or deny, in CIDR notation (for example 172.16.0.0/24).

Definition at line 46 of file ReplaceNetworkAclEntryRequest.h.

◆ GetDryRun()

bool Aws::EC2::Model::ReplaceNetworkAclEntryRequest::GetDryRun ( ) const
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 97 of file ReplaceNetworkAclEntryRequest.h.

◆ GetEgress()

bool Aws::EC2::Model::ReplaceNetworkAclEntryRequest::GetEgress ( ) const
inline

Indicates whether to replace the egress rule.

Default: If no value is specified, we replace the ingress rule.

Definition at line 128 of file ReplaceNetworkAclEntryRequest.h.

◆ GetIcmpTypeCode()

const IcmpTypeCode& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::GetIcmpTypeCode ( ) const
inline

ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying protocol 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block.

Definition at line 153 of file ReplaceNetworkAclEntryRequest.h.

◆ GetIpv6CidrBlock()

const Aws::String& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::GetIpv6CidrBlock ( ) const
inline

The IPv6 network range to allow or deny, in CIDR notation (for example 2001:bd8:1234:1a00::/64).

Definition at line 190 of file ReplaceNetworkAclEntryRequest.h.

◆ GetNetworkAclId()

const Aws::String& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::GetNetworkAclId ( ) const
inline

The ID of the ACL.

Definition at line 238 of file ReplaceNetworkAclEntryRequest.h.

◆ GetPortRange()

const PortRange& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::GetPortRange ( ) const
inline

TCP or UDP protocols: The range of ports the rule applies to. Required if specifying protocol 6 (TCP) or 17 (UDP).

Definition at line 280 of file ReplaceNetworkAclEntryRequest.h.

◆ GetProtocol()

const Aws::String& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::GetProtocol ( ) const
inline

The protocol number. A value of "-1" means all protocols. If you specify "-1" or a protocol number other than "6" (TCP), "17" (UDP), or "1" (ICMP), traffic on all ports is allowed, regardless of any ports or ICMP types or codes that you specify. If you specify protocol "58" (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and codes allowed, regardless of any that you specify. If you specify protocol "58" (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP type and code.

Definition at line 322 of file ReplaceNetworkAclEntryRequest.h.

◆ GetRuleAction()

const RuleAction& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::GetRuleAction ( ) const
inline

Indicates whether to allow or deny the traffic that matches the rule.

Definition at line 405 of file ReplaceNetworkAclEntryRequest.h.

◆ GetRuleNumber()

int Aws::EC2::Model::ReplaceNetworkAclEntryRequest::GetRuleNumber ( ) const
inline

The rule number of the entry to replace.

Definition at line 436 of file ReplaceNetworkAclEntryRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::EC2::Model::ReplaceNetworkAclEntryRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 33 of file ReplaceNetworkAclEntryRequest.h.

◆ IcmpTypeCodeHasBeenSet()

bool Aws::EC2::Model::ReplaceNetworkAclEntryRequest::IcmpTypeCodeHasBeenSet ( ) const
inline

ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying protocol 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block.

Definition at line 159 of file ReplaceNetworkAclEntryRequest.h.

◆ Ipv6CidrBlockHasBeenSet()

bool Aws::EC2::Model::ReplaceNetworkAclEntryRequest::Ipv6CidrBlockHasBeenSet ( ) const
inline

The IPv6 network range to allow or deny, in CIDR notation (for example 2001:bd8:1234:1a00::/64).

Definition at line 196 of file ReplaceNetworkAclEntryRequest.h.

◆ NetworkAclIdHasBeenSet()

bool Aws::EC2::Model::ReplaceNetworkAclEntryRequest::NetworkAclIdHasBeenSet ( ) const
inline

The ID of the ACL.

Definition at line 243 of file ReplaceNetworkAclEntryRequest.h.

◆ PortRangeHasBeenSet()

bool Aws::EC2::Model::ReplaceNetworkAclEntryRequest::PortRangeHasBeenSet ( ) const
inline

TCP or UDP protocols: The range of ports the rule applies to. Required if specifying protocol 6 (TCP) or 17 (UDP).

Definition at line 286 of file ReplaceNetworkAclEntryRequest.h.

◆ ProtocolHasBeenSet()

bool Aws::EC2::Model::ReplaceNetworkAclEntryRequest::ProtocolHasBeenSet ( ) const
inline

The protocol number. A value of "-1" means all protocols. If you specify "-1" or a protocol number other than "6" (TCP), "17" (UDP), or "1" (ICMP), traffic on all ports is allowed, regardless of any ports or ICMP types or codes that you specify. If you specify protocol "58" (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and codes allowed, regardless of any that you specify. If you specify protocol "58" (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP type and code.

Definition at line 333 of file ReplaceNetworkAclEntryRequest.h.

◆ RuleActionHasBeenSet()

bool Aws::EC2::Model::ReplaceNetworkAclEntryRequest::RuleActionHasBeenSet ( ) const
inline

Indicates whether to allow or deny the traffic that matches the rule.

Definition at line 410 of file ReplaceNetworkAclEntryRequest.h.

◆ RuleNumberHasBeenSet()

bool Aws::EC2::Model::ReplaceNetworkAclEntryRequest::RuleNumberHasBeenSet ( ) const
inline

The rule number of the entry to replace.

Definition at line 441 of file ReplaceNetworkAclEntryRequest.h.

◆ SerializePayload()

Aws::String Aws::EC2::Model::ReplaceNetworkAclEntryRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetCidrBlock() [1/3]

void Aws::EC2::Model::ReplaceNetworkAclEntryRequest::SetCidrBlock ( const Aws::String value)
inline

The IPv4 network range to allow or deny, in CIDR notation (for example 172.16.0.0/24).

Definition at line 58 of file ReplaceNetworkAclEntryRequest.h.

◆ SetCidrBlock() [2/3]

void Aws::EC2::Model::ReplaceNetworkAclEntryRequest::SetCidrBlock ( Aws::String &&  value)
inline

The IPv4 network range to allow or deny, in CIDR notation (for example 172.16.0.0/24).

Definition at line 64 of file ReplaceNetworkAclEntryRequest.h.

◆ SetCidrBlock() [3/3]

void Aws::EC2::Model::ReplaceNetworkAclEntryRequest::SetCidrBlock ( const char *  value)
inline

The IPv4 network range to allow or deny, in CIDR notation (for example 172.16.0.0/24).

Definition at line 70 of file ReplaceNetworkAclEntryRequest.h.

◆ SetDryRun()

void Aws::EC2::Model::ReplaceNetworkAclEntryRequest::SetDryRun ( bool  value)
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 113 of file ReplaceNetworkAclEntryRequest.h.

◆ SetEgress()

void Aws::EC2::Model::ReplaceNetworkAclEntryRequest::SetEgress ( bool  value)
inline

Indicates whether to replace the egress rule.

Default: If no value is specified, we replace the ingress rule.

Definition at line 140 of file ReplaceNetworkAclEntryRequest.h.

◆ SetIcmpTypeCode() [1/2]

void Aws::EC2::Model::ReplaceNetworkAclEntryRequest::SetIcmpTypeCode ( const IcmpTypeCode value)
inline

ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying protocol 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block.

Definition at line 165 of file ReplaceNetworkAclEntryRequest.h.

◆ SetIcmpTypeCode() [2/2]

void Aws::EC2::Model::ReplaceNetworkAclEntryRequest::SetIcmpTypeCode ( IcmpTypeCode &&  value)
inline

ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying protocol 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block.

Definition at line 171 of file ReplaceNetworkAclEntryRequest.h.

◆ SetIpv6CidrBlock() [1/3]

void Aws::EC2::Model::ReplaceNetworkAclEntryRequest::SetIpv6CidrBlock ( const Aws::String value)
inline

The IPv6 network range to allow or deny, in CIDR notation (for example 2001:bd8:1234:1a00::/64).

Definition at line 202 of file ReplaceNetworkAclEntryRequest.h.

◆ SetIpv6CidrBlock() [2/3]

void Aws::EC2::Model::ReplaceNetworkAclEntryRequest::SetIpv6CidrBlock ( Aws::String &&  value)
inline

The IPv6 network range to allow or deny, in CIDR notation (for example 2001:bd8:1234:1a00::/64).

Definition at line 208 of file ReplaceNetworkAclEntryRequest.h.

◆ SetIpv6CidrBlock() [3/3]

void Aws::EC2::Model::ReplaceNetworkAclEntryRequest::SetIpv6CidrBlock ( const char *  value)
inline

The IPv6 network range to allow or deny, in CIDR notation (for example 2001:bd8:1234:1a00::/64).

Definition at line 214 of file ReplaceNetworkAclEntryRequest.h.

◆ SetNetworkAclId() [1/3]

void Aws::EC2::Model::ReplaceNetworkAclEntryRequest::SetNetworkAclId ( const Aws::String value)
inline

The ID of the ACL.

Definition at line 248 of file ReplaceNetworkAclEntryRequest.h.

◆ SetNetworkAclId() [2/3]

void Aws::EC2::Model::ReplaceNetworkAclEntryRequest::SetNetworkAclId ( Aws::String &&  value)
inline

The ID of the ACL.

Definition at line 253 of file ReplaceNetworkAclEntryRequest.h.

◆ SetNetworkAclId() [3/3]

void Aws::EC2::Model::ReplaceNetworkAclEntryRequest::SetNetworkAclId ( const char *  value)
inline

The ID of the ACL.

Definition at line 258 of file ReplaceNetworkAclEntryRequest.h.

◆ SetPortRange() [1/2]

void Aws::EC2::Model::ReplaceNetworkAclEntryRequest::SetPortRange ( const PortRange value)
inline

TCP or UDP protocols: The range of ports the rule applies to. Required if specifying protocol 6 (TCP) or 17 (UDP).

Definition at line 292 of file ReplaceNetworkAclEntryRequest.h.

◆ SetPortRange() [2/2]

void Aws::EC2::Model::ReplaceNetworkAclEntryRequest::SetPortRange ( PortRange &&  value)
inline

TCP or UDP protocols: The range of ports the rule applies to. Required if specifying protocol 6 (TCP) or 17 (UDP).

Definition at line 298 of file ReplaceNetworkAclEntryRequest.h.

◆ SetProtocol() [1/3]

void Aws::EC2::Model::ReplaceNetworkAclEntryRequest::SetProtocol ( const Aws::String value)
inline

The protocol number. A value of "-1" means all protocols. If you specify "-1" or a protocol number other than "6" (TCP), "17" (UDP), or "1" (ICMP), traffic on all ports is allowed, regardless of any ports or ICMP types or codes that you specify. If you specify protocol "58" (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and codes allowed, regardless of any that you specify. If you specify protocol "58" (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP type and code.

Definition at line 344 of file ReplaceNetworkAclEntryRequest.h.

◆ SetProtocol() [2/3]

void Aws::EC2::Model::ReplaceNetworkAclEntryRequest::SetProtocol ( Aws::String &&  value)
inline

The protocol number. A value of "-1" means all protocols. If you specify "-1" or a protocol number other than "6" (TCP), "17" (UDP), or "1" (ICMP), traffic on all ports is allowed, regardless of any ports or ICMP types or codes that you specify. If you specify protocol "58" (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and codes allowed, regardless of any that you specify. If you specify protocol "58" (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP type and code.

Definition at line 355 of file ReplaceNetworkAclEntryRequest.h.

◆ SetProtocol() [3/3]

void Aws::EC2::Model::ReplaceNetworkAclEntryRequest::SetProtocol ( const char *  value)
inline

The protocol number. A value of "-1" means all protocols. If you specify "-1" or a protocol number other than "6" (TCP), "17" (UDP), or "1" (ICMP), traffic on all ports is allowed, regardless of any ports or ICMP types or codes that you specify. If you specify protocol "58" (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and codes allowed, regardless of any that you specify. If you specify protocol "58" (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP type and code.

Definition at line 366 of file ReplaceNetworkAclEntryRequest.h.

◆ SetRuleAction() [1/2]

void Aws::EC2::Model::ReplaceNetworkAclEntryRequest::SetRuleAction ( const RuleAction value)
inline

Indicates whether to allow or deny the traffic that matches the rule.

Definition at line 415 of file ReplaceNetworkAclEntryRequest.h.

◆ SetRuleAction() [2/2]

void Aws::EC2::Model::ReplaceNetworkAclEntryRequest::SetRuleAction ( RuleAction &&  value)
inline

Indicates whether to allow or deny the traffic that matches the rule.

Definition at line 420 of file ReplaceNetworkAclEntryRequest.h.

◆ SetRuleNumber()

void Aws::EC2::Model::ReplaceNetworkAclEntryRequest::SetRuleNumber ( int  value)
inline

The rule number of the entry to replace.

Definition at line 446 of file ReplaceNetworkAclEntryRequest.h.

◆ WithCidrBlock() [1/3]

ReplaceNetworkAclEntryRequest& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::WithCidrBlock ( const Aws::String value)
inline

The IPv4 network range to allow or deny, in CIDR notation (for example 172.16.0.0/24).

Definition at line 76 of file ReplaceNetworkAclEntryRequest.h.

◆ WithCidrBlock() [2/3]

ReplaceNetworkAclEntryRequest& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::WithCidrBlock ( Aws::String &&  value)
inline

The IPv4 network range to allow or deny, in CIDR notation (for example 172.16.0.0/24).

Definition at line 82 of file ReplaceNetworkAclEntryRequest.h.

◆ WithCidrBlock() [3/3]

ReplaceNetworkAclEntryRequest& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::WithCidrBlock ( const char *  value)
inline

The IPv4 network range to allow or deny, in CIDR notation (for example 172.16.0.0/24).

Definition at line 88 of file ReplaceNetworkAclEntryRequest.h.

◆ WithDryRun()

ReplaceNetworkAclEntryRequest& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::WithDryRun ( bool  value)
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 121 of file ReplaceNetworkAclEntryRequest.h.

◆ WithEgress()

ReplaceNetworkAclEntryRequest& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::WithEgress ( bool  value)
inline

Indicates whether to replace the egress rule.

Default: If no value is specified, we replace the ingress rule.

Definition at line 146 of file ReplaceNetworkAclEntryRequest.h.

◆ WithIcmpTypeCode() [1/2]

ReplaceNetworkAclEntryRequest& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::WithIcmpTypeCode ( const IcmpTypeCode value)
inline

ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying protocol 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block.

Definition at line 177 of file ReplaceNetworkAclEntryRequest.h.

◆ WithIcmpTypeCode() [2/2]

ReplaceNetworkAclEntryRequest& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::WithIcmpTypeCode ( IcmpTypeCode &&  value)
inline

ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying protocol 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block.

Definition at line 183 of file ReplaceNetworkAclEntryRequest.h.

◆ WithIpv6CidrBlock() [1/3]

ReplaceNetworkAclEntryRequest& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::WithIpv6CidrBlock ( const Aws::String value)
inline

The IPv6 network range to allow or deny, in CIDR notation (for example 2001:bd8:1234:1a00::/64).

Definition at line 220 of file ReplaceNetworkAclEntryRequest.h.

◆ WithIpv6CidrBlock() [2/3]

ReplaceNetworkAclEntryRequest& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::WithIpv6CidrBlock ( Aws::String &&  value)
inline

The IPv6 network range to allow or deny, in CIDR notation (for example 2001:bd8:1234:1a00::/64).

Definition at line 226 of file ReplaceNetworkAclEntryRequest.h.

◆ WithIpv6CidrBlock() [3/3]

ReplaceNetworkAclEntryRequest& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::WithIpv6CidrBlock ( const char *  value)
inline

The IPv6 network range to allow or deny, in CIDR notation (for example 2001:bd8:1234:1a00::/64).

Definition at line 232 of file ReplaceNetworkAclEntryRequest.h.

◆ WithNetworkAclId() [1/3]

ReplaceNetworkAclEntryRequest& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::WithNetworkAclId ( const Aws::String value)
inline

The ID of the ACL.

Definition at line 263 of file ReplaceNetworkAclEntryRequest.h.

◆ WithNetworkAclId() [2/3]

ReplaceNetworkAclEntryRequest& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::WithNetworkAclId ( Aws::String &&  value)
inline

The ID of the ACL.

Definition at line 268 of file ReplaceNetworkAclEntryRequest.h.

◆ WithNetworkAclId() [3/3]

ReplaceNetworkAclEntryRequest& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::WithNetworkAclId ( const char *  value)
inline

The ID of the ACL.

Definition at line 273 of file ReplaceNetworkAclEntryRequest.h.

◆ WithPortRange() [1/2]

ReplaceNetworkAclEntryRequest& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::WithPortRange ( const PortRange value)
inline

TCP or UDP protocols: The range of ports the rule applies to. Required if specifying protocol 6 (TCP) or 17 (UDP).

Definition at line 304 of file ReplaceNetworkAclEntryRequest.h.

◆ WithPortRange() [2/2]

ReplaceNetworkAclEntryRequest& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::WithPortRange ( PortRange &&  value)
inline

TCP or UDP protocols: The range of ports the rule applies to. Required if specifying protocol 6 (TCP) or 17 (UDP).

Definition at line 310 of file ReplaceNetworkAclEntryRequest.h.

◆ WithProtocol() [1/3]

ReplaceNetworkAclEntryRequest& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::WithProtocol ( const Aws::String value)
inline

The protocol number. A value of "-1" means all protocols. If you specify "-1" or a protocol number other than "6" (TCP), "17" (UDP), or "1" (ICMP), traffic on all ports is allowed, regardless of any ports or ICMP types or codes that you specify. If you specify protocol "58" (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and codes allowed, regardless of any that you specify. If you specify protocol "58" (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP type and code.

Definition at line 377 of file ReplaceNetworkAclEntryRequest.h.

◆ WithProtocol() [2/3]

ReplaceNetworkAclEntryRequest& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::WithProtocol ( Aws::String &&  value)
inline

The protocol number. A value of "-1" means all protocols. If you specify "-1" or a protocol number other than "6" (TCP), "17" (UDP), or "1" (ICMP), traffic on all ports is allowed, regardless of any ports or ICMP types or codes that you specify. If you specify protocol "58" (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and codes allowed, regardless of any that you specify. If you specify protocol "58" (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP type and code.

Definition at line 388 of file ReplaceNetworkAclEntryRequest.h.

◆ WithProtocol() [3/3]

ReplaceNetworkAclEntryRequest& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::WithProtocol ( const char *  value)
inline

The protocol number. A value of "-1" means all protocols. If you specify "-1" or a protocol number other than "6" (TCP), "17" (UDP), or "1" (ICMP), traffic on all ports is allowed, regardless of any ports or ICMP types or codes that you specify. If you specify protocol "58" (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and codes allowed, regardless of any that you specify. If you specify protocol "58" (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP type and code.

Definition at line 399 of file ReplaceNetworkAclEntryRequest.h.

◆ WithRuleAction() [1/2]

ReplaceNetworkAclEntryRequest& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::WithRuleAction ( const RuleAction value)
inline

Indicates whether to allow or deny the traffic that matches the rule.

Definition at line 425 of file ReplaceNetworkAclEntryRequest.h.

◆ WithRuleAction() [2/2]

ReplaceNetworkAclEntryRequest& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::WithRuleAction ( RuleAction &&  value)
inline

Indicates whether to allow or deny the traffic that matches the rule.

Definition at line 430 of file ReplaceNetworkAclEntryRequest.h.

◆ WithRuleNumber()

ReplaceNetworkAclEntryRequest& Aws::EC2::Model::ReplaceNetworkAclEntryRequest::WithRuleNumber ( int  value)
inline

The rule number of the entry to replace.

Definition at line 451 of file ReplaceNetworkAclEntryRequest.h.


The documentation for this class was generated from the following file: