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

#include <RevokeSecurityGroupIngressRequest.h>

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

Public Member Functions

 RevokeSecurityGroupIngressRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetCidrIp () const
 
bool CidrIpHasBeenSet () const
 
void SetCidrIp (const Aws::String &value)
 
void SetCidrIp (Aws::String &&value)
 
void SetCidrIp (const char *value)
 
RevokeSecurityGroupIngressRequestWithCidrIp (const Aws::String &value)
 
RevokeSecurityGroupIngressRequestWithCidrIp (Aws::String &&value)
 
RevokeSecurityGroupIngressRequestWithCidrIp (const char *value)
 
int GetFromPort () const
 
bool FromPortHasBeenSet () const
 
void SetFromPort (int value)
 
RevokeSecurityGroupIngressRequestWithFromPort (int value)
 
const Aws::StringGetGroupId () const
 
bool GroupIdHasBeenSet () const
 
void SetGroupId (const Aws::String &value)
 
void SetGroupId (Aws::String &&value)
 
void SetGroupId (const char *value)
 
RevokeSecurityGroupIngressRequestWithGroupId (const Aws::String &value)
 
RevokeSecurityGroupIngressRequestWithGroupId (Aws::String &&value)
 
RevokeSecurityGroupIngressRequestWithGroupId (const char *value)
 
const Aws::StringGetGroupName () const
 
bool GroupNameHasBeenSet () const
 
void SetGroupName (const Aws::String &value)
 
void SetGroupName (Aws::String &&value)
 
void SetGroupName (const char *value)
 
RevokeSecurityGroupIngressRequestWithGroupName (const Aws::String &value)
 
RevokeSecurityGroupIngressRequestWithGroupName (Aws::String &&value)
 
RevokeSecurityGroupIngressRequestWithGroupName (const char *value)
 
const Aws::Vector< IpPermission > & GetIpPermissions () const
 
bool IpPermissionsHasBeenSet () const
 
void SetIpPermissions (const Aws::Vector< IpPermission > &value)
 
void SetIpPermissions (Aws::Vector< IpPermission > &&value)
 
RevokeSecurityGroupIngressRequestWithIpPermissions (const Aws::Vector< IpPermission > &value)
 
RevokeSecurityGroupIngressRequestWithIpPermissions (Aws::Vector< IpPermission > &&value)
 
RevokeSecurityGroupIngressRequestAddIpPermissions (const IpPermission &value)
 
RevokeSecurityGroupIngressRequestAddIpPermissions (IpPermission &&value)
 
const Aws::StringGetIpProtocol () const
 
bool IpProtocolHasBeenSet () const
 
void SetIpProtocol (const Aws::String &value)
 
void SetIpProtocol (Aws::String &&value)
 
void SetIpProtocol (const char *value)
 
RevokeSecurityGroupIngressRequestWithIpProtocol (const Aws::String &value)
 
RevokeSecurityGroupIngressRequestWithIpProtocol (Aws::String &&value)
 
RevokeSecurityGroupIngressRequestWithIpProtocol (const char *value)
 
const Aws::StringGetSourceSecurityGroupName () const
 
bool SourceSecurityGroupNameHasBeenSet () const
 
void SetSourceSecurityGroupName (const Aws::String &value)
 
void SetSourceSecurityGroupName (Aws::String &&value)
 
void SetSourceSecurityGroupName (const char *value)
 
RevokeSecurityGroupIngressRequestWithSourceSecurityGroupName (const Aws::String &value)
 
RevokeSecurityGroupIngressRequestWithSourceSecurityGroupName (Aws::String &&value)
 
RevokeSecurityGroupIngressRequestWithSourceSecurityGroupName (const char *value)
 
const Aws::StringGetSourceSecurityGroupOwnerId () const
 
bool SourceSecurityGroupOwnerIdHasBeenSet () const
 
void SetSourceSecurityGroupOwnerId (const Aws::String &value)
 
void SetSourceSecurityGroupOwnerId (Aws::String &&value)
 
void SetSourceSecurityGroupOwnerId (const char *value)
 
RevokeSecurityGroupIngressRequestWithSourceSecurityGroupOwnerId (const Aws::String &value)
 
RevokeSecurityGroupIngressRequestWithSourceSecurityGroupOwnerId (Aws::String &&value)
 
RevokeSecurityGroupIngressRequestWithSourceSecurityGroupOwnerId (const char *value)
 
int GetToPort () const
 
bool ToPortHasBeenSet () const
 
void SetToPort (int value)
 
RevokeSecurityGroupIngressRequestWithToPort (int value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
RevokeSecurityGroupIngressRequestWithDryRun (bool 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 33 of file RevokeSecurityGroupIngressRequest.h.

Constructor & Destructor Documentation

◆ RevokeSecurityGroupIngressRequest()

Aws::EC2::Model::RevokeSecurityGroupIngressRequest::RevokeSecurityGroupIngressRequest ( )

Member Function Documentation

◆ AddIpPermissions() [1/2]

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::AddIpPermissions ( const IpPermission value)
inline

The sets of IP permissions. You can't specify a source security group and a CIDR IP address range in the same set of permissions.

Definition at line 275 of file RevokeSecurityGroupIngressRequest.h.

◆ AddIpPermissions() [2/2]

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::AddIpPermissions ( IpPermission &&  value)
inline

The sets of IP permissions. You can't specify a source security group and a CIDR IP address range in the same set of permissions.

Definition at line 281 of file RevokeSecurityGroupIngressRequest.h.

◆ CidrIpHasBeenSet()

bool Aws::EC2::Model::RevokeSecurityGroupIngressRequest::CidrIpHasBeenSet ( ) const
inline

The CIDR IP address range. You can't specify this parameter when specifying a source security group.

Definition at line 61 of file RevokeSecurityGroupIngressRequest.h.

◆ DryRunHasBeenSet()

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

◆ DumpBodyToUrl()

void Aws::EC2::Model::RevokeSecurityGroupIngressRequest::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.

◆ FromPortHasBeenSet()

bool Aws::EC2::Model::RevokeSecurityGroupIngressRequest::FromPortHasBeenSet ( ) const
inline

The start of port range for the TCP and UDP protocols, or an ICMP type number. For the ICMP type number, use -1 to specify all ICMP types.

Definition at line 112 of file RevokeSecurityGroupIngressRequest.h.

◆ GetCidrIp()

const Aws::String& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::GetCidrIp ( ) const
inline

The CIDR IP address range. You can't specify this parameter when specifying a source security group.

Definition at line 55 of file RevokeSecurityGroupIngressRequest.h.

◆ GetDryRun()

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

◆ GetFromPort()

int Aws::EC2::Model::RevokeSecurityGroupIngressRequest::GetFromPort ( ) const
inline

The start of port range for the TCP and UDP protocols, or an ICMP type number. For the ICMP type number, use -1 to specify all ICMP types.

Definition at line 105 of file RevokeSecurityGroupIngressRequest.h.

◆ GetGroupId()

const Aws::String& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::GetGroupId ( ) const
inline

The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.

Definition at line 134 of file RevokeSecurityGroupIngressRequest.h.

◆ GetGroupName()

const Aws::String& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::GetGroupName ( ) const
inline

[EC2-Classic, default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request.

Definition at line 190 of file RevokeSecurityGroupIngressRequest.h.

◆ GetIpPermissions()

const Aws::Vector<IpPermission>& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::GetIpPermissions ( ) const
inline

The sets of IP permissions. You can't specify a source security group and a CIDR IP address range in the same set of permissions.

Definition at line 239 of file RevokeSecurityGroupIngressRequest.h.

◆ GetIpProtocol()

const Aws::String& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::GetIpProtocol ( ) const
inline

The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers). Use -1 to specify all.

Definition at line 290 of file RevokeSecurityGroupIngressRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 42 of file RevokeSecurityGroupIngressRequest.h.

◆ GetSourceSecurityGroupName()

const Aws::String& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::GetSourceSecurityGroupName ( ) const
inline

[EC2-Classic, default VPC] The name of the source security group. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the start of the port range, the IP protocol, and the end of the port range. For EC2-VPC, the source security group must be in the same VPC. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.

Definition at line 357 of file RevokeSecurityGroupIngressRequest.h.

◆ GetSourceSecurityGroupOwnerId()

const Aws::String& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::GetSourceSecurityGroupOwnerId ( ) const
inline

[EC2-Classic] The AWS account ID of the source security group, if the source security group is in a different account. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the IP protocol, the start of the port range, and the end of the port range. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.

Definition at line 438 of file RevokeSecurityGroupIngressRequest.h.

◆ GetToPort()

int Aws::EC2::Model::RevokeSecurityGroupIngressRequest::GetToPort ( ) const
inline

The end of port range for the TCP and UDP protocols, or an ICMP code number. For the ICMP code number, use -1 to specify all ICMP codes for the ICMP type.

Definition at line 516 of file RevokeSecurityGroupIngressRequest.h.

◆ GroupIdHasBeenSet()

bool Aws::EC2::Model::RevokeSecurityGroupIngressRequest::GroupIdHasBeenSet ( ) const
inline

The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.

Definition at line 141 of file RevokeSecurityGroupIngressRequest.h.

◆ GroupNameHasBeenSet()

bool Aws::EC2::Model::RevokeSecurityGroupIngressRequest::GroupNameHasBeenSet ( ) const
inline

[EC2-Classic, default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request.

Definition at line 196 of file RevokeSecurityGroupIngressRequest.h.

◆ IpPermissionsHasBeenSet()

bool Aws::EC2::Model::RevokeSecurityGroupIngressRequest::IpPermissionsHasBeenSet ( ) const
inline

The sets of IP permissions. You can't specify a source security group and a CIDR IP address range in the same set of permissions.

Definition at line 245 of file RevokeSecurityGroupIngressRequest.h.

◆ IpProtocolHasBeenSet()

bool Aws::EC2::Model::RevokeSecurityGroupIngressRequest::IpProtocolHasBeenSet ( ) const
inline

The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers). Use -1 to specify all.

Definition at line 298 of file RevokeSecurityGroupIngressRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetCidrIp() [1/3]

void Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SetCidrIp ( const Aws::String value)
inline

The CIDR IP address range. You can't specify this parameter when specifying a source security group.

Definition at line 67 of file RevokeSecurityGroupIngressRequest.h.

◆ SetCidrIp() [2/3]

void Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SetCidrIp ( Aws::String &&  value)
inline

The CIDR IP address range. You can't specify this parameter when specifying a source security group.

Definition at line 73 of file RevokeSecurityGroupIngressRequest.h.

◆ SetCidrIp() [3/3]

void Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SetCidrIp ( const char *  value)
inline

The CIDR IP address range. You can't specify this parameter when specifying a source security group.

Definition at line 79 of file RevokeSecurityGroupIngressRequest.h.

◆ SetDryRun()

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

◆ SetFromPort()

void Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SetFromPort ( int  value)
inline

The start of port range for the TCP and UDP protocols, or an ICMP type number. For the ICMP type number, use -1 to specify all ICMP types.

Definition at line 119 of file RevokeSecurityGroupIngressRequest.h.

◆ SetGroupId() [1/3]

void Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SetGroupId ( const Aws::String value)
inline

The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.

Definition at line 148 of file RevokeSecurityGroupIngressRequest.h.

◆ SetGroupId() [2/3]

void Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SetGroupId ( Aws::String &&  value)
inline

The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.

Definition at line 155 of file RevokeSecurityGroupIngressRequest.h.

◆ SetGroupId() [3/3]

void Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SetGroupId ( const char *  value)
inline

The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.

Definition at line 162 of file RevokeSecurityGroupIngressRequest.h.

◆ SetGroupName() [1/3]

void Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SetGroupName ( const Aws::String value)
inline

[EC2-Classic, default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request.

Definition at line 202 of file RevokeSecurityGroupIngressRequest.h.

◆ SetGroupName() [2/3]

void Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SetGroupName ( Aws::String &&  value)
inline

[EC2-Classic, default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request.

Definition at line 208 of file RevokeSecurityGroupIngressRequest.h.

◆ SetGroupName() [3/3]

void Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SetGroupName ( const char *  value)
inline

[EC2-Classic, default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request.

Definition at line 214 of file RevokeSecurityGroupIngressRequest.h.

◆ SetIpPermissions() [1/2]

void Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SetIpPermissions ( const Aws::Vector< IpPermission > &  value)
inline

The sets of IP permissions. You can't specify a source security group and a CIDR IP address range in the same set of permissions.

Definition at line 251 of file RevokeSecurityGroupIngressRequest.h.

◆ SetIpPermissions() [2/2]

void Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SetIpPermissions ( Aws::Vector< IpPermission > &&  value)
inline

The sets of IP permissions. You can't specify a source security group and a CIDR IP address range in the same set of permissions.

Definition at line 257 of file RevokeSecurityGroupIngressRequest.h.

◆ SetIpProtocol() [1/3]

void Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SetIpProtocol ( const Aws::String value)
inline

The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers). Use -1 to specify all.

Definition at line 306 of file RevokeSecurityGroupIngressRequest.h.

◆ SetIpProtocol() [2/3]

void Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SetIpProtocol ( Aws::String &&  value)
inline

The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers). Use -1 to specify all.

Definition at line 314 of file RevokeSecurityGroupIngressRequest.h.

◆ SetIpProtocol() [3/3]

void Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SetIpProtocol ( const char *  value)
inline

The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers). Use -1 to specify all.

Definition at line 322 of file RevokeSecurityGroupIngressRequest.h.

◆ SetSourceSecurityGroupName() [1/3]

void Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SetSourceSecurityGroupName ( const Aws::String value)
inline

[EC2-Classic, default VPC] The name of the source security group. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the start of the port range, the IP protocol, and the end of the port range. For EC2-VPC, the source security group must be in the same VPC. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.

Definition at line 377 of file RevokeSecurityGroupIngressRequest.h.

◆ SetSourceSecurityGroupName() [2/3]

void Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SetSourceSecurityGroupName ( Aws::String &&  value)
inline

[EC2-Classic, default VPC] The name of the source security group. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the start of the port range, the IP protocol, and the end of the port range. For EC2-VPC, the source security group must be in the same VPC. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.

Definition at line 387 of file RevokeSecurityGroupIngressRequest.h.

◆ SetSourceSecurityGroupName() [3/3]

void Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SetSourceSecurityGroupName ( const char *  value)
inline

[EC2-Classic, default VPC] The name of the source security group. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the start of the port range, the IP protocol, and the end of the port range. For EC2-VPC, the source security group must be in the same VPC. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.

Definition at line 397 of file RevokeSecurityGroupIngressRequest.h.

◆ SetSourceSecurityGroupOwnerId() [1/3]

void Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SetSourceSecurityGroupOwnerId ( const Aws::String value)
inline

[EC2-Classic] The AWS account ID of the source security group, if the source security group is in a different account. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the IP protocol, the start of the port range, and the end of the port range. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.

Definition at line 458 of file RevokeSecurityGroupIngressRequest.h.

◆ SetSourceSecurityGroupOwnerId() [2/3]

void Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SetSourceSecurityGroupOwnerId ( Aws::String &&  value)
inline

[EC2-Classic] The AWS account ID of the source security group, if the source security group is in a different account. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the IP protocol, the start of the port range, and the end of the port range. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.

Definition at line 468 of file RevokeSecurityGroupIngressRequest.h.

◆ SetSourceSecurityGroupOwnerId() [3/3]

void Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SetSourceSecurityGroupOwnerId ( const char *  value)
inline

[EC2-Classic] The AWS account ID of the source security group, if the source security group is in a different account. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the IP protocol, the start of the port range, and the end of the port range. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.

Definition at line 478 of file RevokeSecurityGroupIngressRequest.h.

◆ SetToPort()

void Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SetToPort ( int  value)
inline

The end of port range for the TCP and UDP protocols, or an ICMP code number. For the ICMP code number, use -1 to specify all ICMP codes for the ICMP type.

Definition at line 530 of file RevokeSecurityGroupIngressRequest.h.

◆ SourceSecurityGroupNameHasBeenSet()

bool Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SourceSecurityGroupNameHasBeenSet ( ) const
inline

[EC2-Classic, default VPC] The name of the source security group. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the start of the port range, the IP protocol, and the end of the port range. For EC2-VPC, the source security group must be in the same VPC. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.

Definition at line 367 of file RevokeSecurityGroupIngressRequest.h.

◆ SourceSecurityGroupOwnerIdHasBeenSet()

bool Aws::EC2::Model::RevokeSecurityGroupIngressRequest::SourceSecurityGroupOwnerIdHasBeenSet ( ) const
inline

[EC2-Classic] The AWS account ID of the source security group, if the source security group is in a different account. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the IP protocol, the start of the port range, and the end of the port range. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.

Definition at line 448 of file RevokeSecurityGroupIngressRequest.h.

◆ ToPortHasBeenSet()

bool Aws::EC2::Model::RevokeSecurityGroupIngressRequest::ToPortHasBeenSet ( ) const
inline

The end of port range for the TCP and UDP protocols, or an ICMP code number. For the ICMP code number, use -1 to specify all ICMP codes for the ICMP type.

Definition at line 523 of file RevokeSecurityGroupIngressRequest.h.

◆ WithCidrIp() [1/3]

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::WithCidrIp ( const Aws::String value)
inline

The CIDR IP address range. You can't specify this parameter when specifying a source security group.

Definition at line 85 of file RevokeSecurityGroupIngressRequest.h.

◆ WithCidrIp() [2/3]

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::WithCidrIp ( Aws::String &&  value)
inline

The CIDR IP address range. You can't specify this parameter when specifying a source security group.

Definition at line 91 of file RevokeSecurityGroupIngressRequest.h.

◆ WithCidrIp() [3/3]

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::WithCidrIp ( const char *  value)
inline

The CIDR IP address range. You can't specify this parameter when specifying a source security group.

Definition at line 97 of file RevokeSecurityGroupIngressRequest.h.

◆ WithDryRun()

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

◆ WithFromPort()

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::WithFromPort ( int  value)
inline

The start of port range for the TCP and UDP protocols, or an ICMP type number. For the ICMP type number, use -1 to specify all ICMP types.

Definition at line 126 of file RevokeSecurityGroupIngressRequest.h.

◆ WithGroupId() [1/3]

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::WithGroupId ( const Aws::String value)
inline

The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.

Definition at line 169 of file RevokeSecurityGroupIngressRequest.h.

◆ WithGroupId() [2/3]

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::WithGroupId ( Aws::String &&  value)
inline

The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.

Definition at line 176 of file RevokeSecurityGroupIngressRequest.h.

◆ WithGroupId() [3/3]

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::WithGroupId ( const char *  value)
inline

The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.

Definition at line 183 of file RevokeSecurityGroupIngressRequest.h.

◆ WithGroupName() [1/3]

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::WithGroupName ( const Aws::String value)
inline

[EC2-Classic, default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request.

Definition at line 220 of file RevokeSecurityGroupIngressRequest.h.

◆ WithGroupName() [2/3]

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::WithGroupName ( Aws::String &&  value)
inline

[EC2-Classic, default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request.

Definition at line 226 of file RevokeSecurityGroupIngressRequest.h.

◆ WithGroupName() [3/3]

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::WithGroupName ( const char *  value)
inline

[EC2-Classic, default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request.

Definition at line 232 of file RevokeSecurityGroupIngressRequest.h.

◆ WithIpPermissions() [1/2]

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::WithIpPermissions ( const Aws::Vector< IpPermission > &  value)
inline

The sets of IP permissions. You can't specify a source security group and a CIDR IP address range in the same set of permissions.

Definition at line 263 of file RevokeSecurityGroupIngressRequest.h.

◆ WithIpPermissions() [2/2]

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::WithIpPermissions ( Aws::Vector< IpPermission > &&  value)
inline

The sets of IP permissions. You can't specify a source security group and a CIDR IP address range in the same set of permissions.

Definition at line 269 of file RevokeSecurityGroupIngressRequest.h.

◆ WithIpProtocol() [1/3]

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::WithIpProtocol ( const Aws::String value)
inline

The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers). Use -1 to specify all.

Definition at line 330 of file RevokeSecurityGroupIngressRequest.h.

◆ WithIpProtocol() [2/3]

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::WithIpProtocol ( Aws::String &&  value)
inline

The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers). Use -1 to specify all.

Definition at line 338 of file RevokeSecurityGroupIngressRequest.h.

◆ WithIpProtocol() [3/3]

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::WithIpProtocol ( const char *  value)
inline

The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers). Use -1 to specify all.

Definition at line 346 of file RevokeSecurityGroupIngressRequest.h.

◆ WithSourceSecurityGroupName() [1/3]

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::WithSourceSecurityGroupName ( const Aws::String value)
inline

[EC2-Classic, default VPC] The name of the source security group. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the start of the port range, the IP protocol, and the end of the port range. For EC2-VPC, the source security group must be in the same VPC. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.

Definition at line 407 of file RevokeSecurityGroupIngressRequest.h.

◆ WithSourceSecurityGroupName() [2/3]

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::WithSourceSecurityGroupName ( Aws::String &&  value)
inline

[EC2-Classic, default VPC] The name of the source security group. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the start of the port range, the IP protocol, and the end of the port range. For EC2-VPC, the source security group must be in the same VPC. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.

Definition at line 417 of file RevokeSecurityGroupIngressRequest.h.

◆ WithSourceSecurityGroupName() [3/3]

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::WithSourceSecurityGroupName ( const char *  value)
inline

[EC2-Classic, default VPC] The name of the source security group. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the start of the port range, the IP protocol, and the end of the port range. For EC2-VPC, the source security group must be in the same VPC. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.

Definition at line 427 of file RevokeSecurityGroupIngressRequest.h.

◆ WithSourceSecurityGroupOwnerId() [1/3]

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::WithSourceSecurityGroupOwnerId ( const Aws::String value)
inline

[EC2-Classic] The AWS account ID of the source security group, if the source security group is in a different account. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the IP protocol, the start of the port range, and the end of the port range. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.

Definition at line 488 of file RevokeSecurityGroupIngressRequest.h.

◆ WithSourceSecurityGroupOwnerId() [2/3]

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::WithSourceSecurityGroupOwnerId ( Aws::String &&  value)
inline

[EC2-Classic] The AWS account ID of the source security group, if the source security group is in a different account. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the IP protocol, the start of the port range, and the end of the port range. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.

Definition at line 498 of file RevokeSecurityGroupIngressRequest.h.

◆ WithSourceSecurityGroupOwnerId() [3/3]

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::WithSourceSecurityGroupOwnerId ( const char *  value)
inline

[EC2-Classic] The AWS account ID of the source security group, if the source security group is in a different account. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the IP protocol, the start of the port range, and the end of the port range. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.

Definition at line 508 of file RevokeSecurityGroupIngressRequest.h.

◆ WithToPort()

RevokeSecurityGroupIngressRequest& Aws::EC2::Model::RevokeSecurityGroupIngressRequest::WithToPort ( int  value)
inline

The end of port range for the TCP and UDP protocols, or an ICMP code number. For the ICMP code number, use -1 to specify all ICMP codes for the ICMP type.

Definition at line 537 of file RevokeSecurityGroupIngressRequest.h.


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