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

#include <CreateNetworkAclEntryRequest.h>

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

Public Member Functions

 CreateNetworkAclEntryRequest ()
 
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)
 
CreateNetworkAclEntryRequestWithCidrBlock (const Aws::String &value)
 
CreateNetworkAclEntryRequestWithCidrBlock (Aws::String &&value)
 
CreateNetworkAclEntryRequestWithCidrBlock (const char *value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
CreateNetworkAclEntryRequestWithDryRun (bool value)
 
bool GetEgress () const
 
bool EgressHasBeenSet () const
 
void SetEgress (bool value)
 
CreateNetworkAclEntryRequestWithEgress (bool value)
 
const IcmpTypeCodeGetIcmpTypeCode () const
 
bool IcmpTypeCodeHasBeenSet () const
 
void SetIcmpTypeCode (const IcmpTypeCode &value)
 
void SetIcmpTypeCode (IcmpTypeCode &&value)
 
CreateNetworkAclEntryRequestWithIcmpTypeCode (const IcmpTypeCode &value)
 
CreateNetworkAclEntryRequestWithIcmpTypeCode (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)
 
CreateNetworkAclEntryRequestWithIpv6CidrBlock (const Aws::String &value)
 
CreateNetworkAclEntryRequestWithIpv6CidrBlock (Aws::String &&value)
 
CreateNetworkAclEntryRequestWithIpv6CidrBlock (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)
 
CreateNetworkAclEntryRequestWithNetworkAclId (const Aws::String &value)
 
CreateNetworkAclEntryRequestWithNetworkAclId (Aws::String &&value)
 
CreateNetworkAclEntryRequestWithNetworkAclId (const char *value)
 
const PortRangeGetPortRange () const
 
bool PortRangeHasBeenSet () const
 
void SetPortRange (const PortRange &value)
 
void SetPortRange (PortRange &&value)
 
CreateNetworkAclEntryRequestWithPortRange (const PortRange &value)
 
CreateNetworkAclEntryRequestWithPortRange (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)
 
CreateNetworkAclEntryRequestWithProtocol (const Aws::String &value)
 
CreateNetworkAclEntryRequestWithProtocol (Aws::String &&value)
 
CreateNetworkAclEntryRequestWithProtocol (const char *value)
 
const RuleActionGetRuleAction () const
 
bool RuleActionHasBeenSet () const
 
void SetRuleAction (const RuleAction &value)
 
void SetRuleAction (RuleAction &&value)
 
CreateNetworkAclEntryRequestWithRuleAction (const RuleAction &value)
 
CreateNetworkAclEntryRequestWithRuleAction (RuleAction &&value)
 
int GetRuleNumber () const
 
bool RuleNumberHasBeenSet () const
 
void SetRuleNumber (int value)
 
CreateNetworkAclEntryRequestWithRuleNumber (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 34 of file CreateNetworkAclEntryRequest.h.

Constructor & Destructor Documentation

◆ CreateNetworkAclEntryRequest()

Aws::EC2::Model::CreateNetworkAclEntryRequest::CreateNetworkAclEntryRequest ( )

Member Function Documentation

◆ CidrBlockHasBeenSet()

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

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

Definition at line 62 of file CreateNetworkAclEntryRequest.h.

◆ DryRunHasBeenSet()

bool Aws::EC2::Model::CreateNetworkAclEntryRequest::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 115 of file CreateNetworkAclEntryRequest.h.

◆ DumpBodyToUrl()

void Aws::EC2::Model::CreateNetworkAclEntryRequest::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::CreateNetworkAclEntryRequest::EgressHasBeenSet ( ) const
inline

Indicates whether this is an egress rule (rule is applied to traffic leaving the subnet).

Definition at line 144 of file CreateNetworkAclEntryRequest.h.

◆ GetCidrBlock()

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

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

Definition at line 56 of file CreateNetworkAclEntryRequest.h.

◆ GetDryRun()

bool Aws::EC2::Model::CreateNetworkAclEntryRequest::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 107 of file CreateNetworkAclEntryRequest.h.

◆ GetEgress()

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

Indicates whether this is an egress rule (rule is applied to traffic leaving the subnet).

Definition at line 138 of file CreateNetworkAclEntryRequest.h.

◆ GetIcmpTypeCode()

const IcmpTypeCode& Aws::EC2::Model::CreateNetworkAclEntryRequest::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 163 of file CreateNetworkAclEntryRequest.h.

◆ GetIpv6CidrBlock()

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

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

Definition at line 200 of file CreateNetworkAclEntryRequest.h.

◆ GetNetworkAclId()

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

The ID of the network ACL.

Definition at line 248 of file CreateNetworkAclEntryRequest.h.

◆ GetPortRange()

const PortRange& Aws::EC2::Model::CreateNetworkAclEntryRequest::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 290 of file CreateNetworkAclEntryRequest.h.

◆ GetProtocol()

const Aws::String& Aws::EC2::Model::CreateNetworkAclEntryRequest::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 332 of file CreateNetworkAclEntryRequest.h.

◆ GetRuleAction()

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

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

Definition at line 415 of file CreateNetworkAclEntryRequest.h.

◆ GetRuleNumber()

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

The rule number for the entry (for example, 100). ACL entries are processed in ascending order by rule number.

Constraints: Positive integer from 1 to 32766. The range 32767 to 65535 is reserved for internal use.

Definition at line 448 of file CreateNetworkAclEntryRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 43 of file CreateNetworkAclEntryRequest.h.

◆ IcmpTypeCodeHasBeenSet()

bool Aws::EC2::Model::CreateNetworkAclEntryRequest::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 169 of file CreateNetworkAclEntryRequest.h.

◆ Ipv6CidrBlockHasBeenSet()

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

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

Definition at line 206 of file CreateNetworkAclEntryRequest.h.

◆ NetworkAclIdHasBeenSet()

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

The ID of the network ACL.

Definition at line 253 of file CreateNetworkAclEntryRequest.h.

◆ PortRangeHasBeenSet()

bool Aws::EC2::Model::CreateNetworkAclEntryRequest::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 296 of file CreateNetworkAclEntryRequest.h.

◆ ProtocolHasBeenSet()

bool Aws::EC2::Model::CreateNetworkAclEntryRequest::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 343 of file CreateNetworkAclEntryRequest.h.

◆ RuleActionHasBeenSet()

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

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

Definition at line 420 of file CreateNetworkAclEntryRequest.h.

◆ RuleNumberHasBeenSet()

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

The rule number for the entry (for example, 100). ACL entries are processed in ascending order by rule number.

Constraints: Positive integer from 1 to 32766. The range 32767 to 65535 is reserved for internal use.

Definition at line 455 of file CreateNetworkAclEntryRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetCidrBlock() [1/3]

void Aws::EC2::Model::CreateNetworkAclEntryRequest::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 68 of file CreateNetworkAclEntryRequest.h.

◆ SetCidrBlock() [2/3]

void Aws::EC2::Model::CreateNetworkAclEntryRequest::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 74 of file CreateNetworkAclEntryRequest.h.

◆ SetCidrBlock() [3/3]

void Aws::EC2::Model::CreateNetworkAclEntryRequest::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 80 of file CreateNetworkAclEntryRequest.h.

◆ SetDryRun()

void Aws::EC2::Model::CreateNetworkAclEntryRequest::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 123 of file CreateNetworkAclEntryRequest.h.

◆ SetEgress()

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

Indicates whether this is an egress rule (rule is applied to traffic leaving the subnet).

Definition at line 150 of file CreateNetworkAclEntryRequest.h.

◆ SetIcmpTypeCode() [1/2]

void Aws::EC2::Model::CreateNetworkAclEntryRequest::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 175 of file CreateNetworkAclEntryRequest.h.

◆ SetIcmpTypeCode() [2/2]

void Aws::EC2::Model::CreateNetworkAclEntryRequest::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 181 of file CreateNetworkAclEntryRequest.h.

◆ SetIpv6CidrBlock() [1/3]

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

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

Definition at line 212 of file CreateNetworkAclEntryRequest.h.

◆ SetIpv6CidrBlock() [2/3]

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

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

Definition at line 218 of file CreateNetworkAclEntryRequest.h.

◆ SetIpv6CidrBlock() [3/3]

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

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

Definition at line 224 of file CreateNetworkAclEntryRequest.h.

◆ SetNetworkAclId() [1/3]

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

The ID of the network ACL.

Definition at line 258 of file CreateNetworkAclEntryRequest.h.

◆ SetNetworkAclId() [2/3]

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

The ID of the network ACL.

Definition at line 263 of file CreateNetworkAclEntryRequest.h.

◆ SetNetworkAclId() [3/3]

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

The ID of the network ACL.

Definition at line 268 of file CreateNetworkAclEntryRequest.h.

◆ SetPortRange() [1/2]

void Aws::EC2::Model::CreateNetworkAclEntryRequest::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 302 of file CreateNetworkAclEntryRequest.h.

◆ SetPortRange() [2/2]

void Aws::EC2::Model::CreateNetworkAclEntryRequest::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 308 of file CreateNetworkAclEntryRequest.h.

◆ SetProtocol() [1/3]

void Aws::EC2::Model::CreateNetworkAclEntryRequest::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 354 of file CreateNetworkAclEntryRequest.h.

◆ SetProtocol() [2/3]

void Aws::EC2::Model::CreateNetworkAclEntryRequest::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 365 of file CreateNetworkAclEntryRequest.h.

◆ SetProtocol() [3/3]

void Aws::EC2::Model::CreateNetworkAclEntryRequest::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 376 of file CreateNetworkAclEntryRequest.h.

◆ SetRuleAction() [1/2]

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

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

Definition at line 425 of file CreateNetworkAclEntryRequest.h.

◆ SetRuleAction() [2/2]

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

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

Definition at line 430 of file CreateNetworkAclEntryRequest.h.

◆ SetRuleNumber()

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

The rule number for the entry (for example, 100). ACL entries are processed in ascending order by rule number.

Constraints: Positive integer from 1 to 32766. The range 32767 to 65535 is reserved for internal use.

Definition at line 462 of file CreateNetworkAclEntryRequest.h.

◆ WithCidrBlock() [1/3]

CreateNetworkAclEntryRequest& Aws::EC2::Model::CreateNetworkAclEntryRequest::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 86 of file CreateNetworkAclEntryRequest.h.

◆ WithCidrBlock() [2/3]

CreateNetworkAclEntryRequest& Aws::EC2::Model::CreateNetworkAclEntryRequest::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 92 of file CreateNetworkAclEntryRequest.h.

◆ WithCidrBlock() [3/3]

CreateNetworkAclEntryRequest& Aws::EC2::Model::CreateNetworkAclEntryRequest::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 98 of file CreateNetworkAclEntryRequest.h.

◆ WithDryRun()

CreateNetworkAclEntryRequest& Aws::EC2::Model::CreateNetworkAclEntryRequest::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 131 of file CreateNetworkAclEntryRequest.h.

◆ WithEgress()

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

Indicates whether this is an egress rule (rule is applied to traffic leaving the subnet).

Definition at line 156 of file CreateNetworkAclEntryRequest.h.

◆ WithIcmpTypeCode() [1/2]

CreateNetworkAclEntryRequest& Aws::EC2::Model::CreateNetworkAclEntryRequest::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 187 of file CreateNetworkAclEntryRequest.h.

◆ WithIcmpTypeCode() [2/2]

CreateNetworkAclEntryRequest& Aws::EC2::Model::CreateNetworkAclEntryRequest::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 193 of file CreateNetworkAclEntryRequest.h.

◆ WithIpv6CidrBlock() [1/3]

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

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

Definition at line 230 of file CreateNetworkAclEntryRequest.h.

◆ WithIpv6CidrBlock() [2/3]

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

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

Definition at line 236 of file CreateNetworkAclEntryRequest.h.

◆ WithIpv6CidrBlock() [3/3]

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

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

Definition at line 242 of file CreateNetworkAclEntryRequest.h.

◆ WithNetworkAclId() [1/3]

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

The ID of the network ACL.

Definition at line 273 of file CreateNetworkAclEntryRequest.h.

◆ WithNetworkAclId() [2/3]

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

The ID of the network ACL.

Definition at line 278 of file CreateNetworkAclEntryRequest.h.

◆ WithNetworkAclId() [3/3]

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

The ID of the network ACL.

Definition at line 283 of file CreateNetworkAclEntryRequest.h.

◆ WithPortRange() [1/2]

CreateNetworkAclEntryRequest& Aws::EC2::Model::CreateNetworkAclEntryRequest::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 314 of file CreateNetworkAclEntryRequest.h.

◆ WithPortRange() [2/2]

CreateNetworkAclEntryRequest& Aws::EC2::Model::CreateNetworkAclEntryRequest::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 320 of file CreateNetworkAclEntryRequest.h.

◆ WithProtocol() [1/3]

CreateNetworkAclEntryRequest& Aws::EC2::Model::CreateNetworkAclEntryRequest::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 387 of file CreateNetworkAclEntryRequest.h.

◆ WithProtocol() [2/3]

CreateNetworkAclEntryRequest& Aws::EC2::Model::CreateNetworkAclEntryRequest::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 398 of file CreateNetworkAclEntryRequest.h.

◆ WithProtocol() [3/3]

CreateNetworkAclEntryRequest& Aws::EC2::Model::CreateNetworkAclEntryRequest::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 409 of file CreateNetworkAclEntryRequest.h.

◆ WithRuleAction() [1/2]

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

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

Definition at line 435 of file CreateNetworkAclEntryRequest.h.

◆ WithRuleAction() [2/2]

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

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

Definition at line 440 of file CreateNetworkAclEntryRequest.h.

◆ WithRuleNumber()

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

The rule number for the entry (for example, 100). ACL entries are processed in ascending order by rule number.

Constraints: Positive integer from 1 to 32766. The range 32767 to 65535 is reserved for internal use.

Definition at line 469 of file CreateNetworkAclEntryRequest.h.


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