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

#include <AuthorizeSecurityGroupIngressRequest.h>

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

Public Member Functions

 AuthorizeSecurityGroupIngressRequest ()
 
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)
 
AuthorizeSecurityGroupIngressRequestWithCidrIp (const Aws::String &value)
 
AuthorizeSecurityGroupIngressRequestWithCidrIp (Aws::String &&value)
 
AuthorizeSecurityGroupIngressRequestWithCidrIp (const char *value)
 
int GetFromPort () const
 
bool FromPortHasBeenSet () const
 
void SetFromPort (int value)
 
AuthorizeSecurityGroupIngressRequestWithFromPort (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)
 
AuthorizeSecurityGroupIngressRequestWithGroupId (const Aws::String &value)
 
AuthorizeSecurityGroupIngressRequestWithGroupId (Aws::String &&value)
 
AuthorizeSecurityGroupIngressRequestWithGroupId (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)
 
AuthorizeSecurityGroupIngressRequestWithGroupName (const Aws::String &value)
 
AuthorizeSecurityGroupIngressRequestWithGroupName (Aws::String &&value)
 
AuthorizeSecurityGroupIngressRequestWithGroupName (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)
 
AuthorizeSecurityGroupIngressRequestWithIpPermissions (const Aws::Vector< IpPermission > &value)
 
AuthorizeSecurityGroupIngressRequestWithIpPermissions (Aws::Vector< IpPermission > &&value)
 
AuthorizeSecurityGroupIngressRequestAddIpPermissions (const IpPermission &value)
 
AuthorizeSecurityGroupIngressRequestAddIpPermissions (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)
 
AuthorizeSecurityGroupIngressRequestWithIpProtocol (const Aws::String &value)
 
AuthorizeSecurityGroupIngressRequestWithIpProtocol (Aws::String &&value)
 
AuthorizeSecurityGroupIngressRequestWithIpProtocol (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)
 
AuthorizeSecurityGroupIngressRequestWithSourceSecurityGroupName (const Aws::String &value)
 
AuthorizeSecurityGroupIngressRequestWithSourceSecurityGroupName (Aws::String &&value)
 
AuthorizeSecurityGroupIngressRequestWithSourceSecurityGroupName (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)
 
AuthorizeSecurityGroupIngressRequestWithSourceSecurityGroupOwnerId (const Aws::String &value)
 
AuthorizeSecurityGroupIngressRequestWithSourceSecurityGroupOwnerId (Aws::String &&value)
 
AuthorizeSecurityGroupIngressRequestWithSourceSecurityGroupOwnerId (const char *value)
 
int GetToPort () const
 
bool ToPortHasBeenSet () const
 
void SetToPort (int value)
 
AuthorizeSecurityGroupIngressRequestWithToPort (int value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
AuthorizeSecurityGroupIngressRequestWithDryRun (bool value)
 
const Aws::Vector< TagSpecification > & GetTagSpecifications () const
 
bool TagSpecificationsHasBeenSet () const
 
void SetTagSpecifications (const Aws::Vector< TagSpecification > &value)
 
void SetTagSpecifications (Aws::Vector< TagSpecification > &&value)
 
AuthorizeSecurityGroupIngressRequestWithTagSpecifications (const Aws::Vector< TagSpecification > &value)
 
AuthorizeSecurityGroupIngressRequestWithTagSpecifications (Aws::Vector< TagSpecification > &&value)
 
AuthorizeSecurityGroupIngressRequestAddTagSpecifications (const TagSpecification &value)
 
AuthorizeSecurityGroupIngressRequestAddTagSpecifications (TagSpecification &&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 AuthorizeSecurityGroupIngressRequest.h.

Constructor & Destructor Documentation

◆ AuthorizeSecurityGroupIngressRequest()

Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::AuthorizeSecurityGroupIngressRequest ( )

Member Function Documentation

◆ AddIpPermissions() [1/2]

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

The sets of IP permissions.

Definition at line 283 of file AuthorizeSecurityGroupIngressRequest.h.

◆ AddIpPermissions() [2/2]

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

The sets of IP permissions.

Definition at line 288 of file AuthorizeSecurityGroupIngressRequest.h.

◆ AddTagSpecifications() [1/2]

AuthorizeSecurityGroupIngressRequest& Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::AddTagSpecifications ( const TagSpecification value)
inline

[VPC Only] The tags applied to the security group rule.

Definition at line 669 of file AuthorizeSecurityGroupIngressRequest.h.

◆ AddTagSpecifications() [2/2]

AuthorizeSecurityGroupIngressRequest& Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::AddTagSpecifications ( TagSpecification &&  value)
inline

[VPC Only] The tags applied to the security group rule.

Definition at line 674 of file AuthorizeSecurityGroupIngressRequest.h.

◆ CidrIpHasBeenSet()

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

The IPv4 address range, in CIDR format. You can't specify this parameter when specifying a source security group. To specify an IPv6 address range, use a set of IP permissions.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 56 of file AuthorizeSecurityGroupIngressRequest.h.

◆ DryRunHasBeenSet()

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

◆ DumpBodyToUrl()

void Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::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::AuthorizeSecurityGroupIngressRequest::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 types. If you specify all ICMP types, you must specify all codes.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 123 of file AuthorizeSecurityGroupIngressRequest.h.

◆ GetCidrIp()

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

The IPv4 address range, in CIDR format. You can't specify this parameter when specifying a source security group. To specify an IPv6 address range, use a set of IP permissions.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 48 of file AuthorizeSecurityGroupIngressRequest.h.

◆ GetDryRun()

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

◆ GetFromPort()

int Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::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 types. If you specify all ICMP types, you must specify all codes.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 114 of file AuthorizeSecurityGroupIngressRequest.h.

◆ GetGroupId()

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

◆ GetGroupName()

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

◆ GetIpPermissions()

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

The sets of IP permissions.

Definition at line 253 of file AuthorizeSecurityGroupIngressRequest.h.

◆ GetIpProtocol()

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

The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers). To specify icmpv6, use a set of IP permissions.

[VPC only] Use -1 to specify all protocols. If you specify -1 or a protocol other than tcp, udp, or icmp, traffic on all ports is allowed, regardless of any ports you specify.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 302 of file AuthorizeSecurityGroupIngressRequest.h.

◆ GetServiceRequestName()

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

◆ GetSourceSecurityGroupName()

const Aws::String& Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::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. Creates rules that grant full ICMP, UDP, and TCP access. To create a rule with a specific IP protocol and port range, use a set of IP permissions instead. For EC2-VPC, the source security group must be in the same VPC.

Definition at line 404 of file AuthorizeSecurityGroupIngressRequest.h.

◆ GetSourceSecurityGroupOwnerId()

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

[nondefault VPC] The Amazon Web Services account ID for 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. Creates rules that grant full ICMP, UDP, and TCP access. To create a rule with a specific IP protocol and port range, use a set of IP permissions instead.

Definition at line 486 of file AuthorizeSecurityGroupIngressRequest.h.

◆ GetTagSpecifications()

const Aws::Vector<TagSpecification>& Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::GetTagSpecifications ( ) const
inline

[VPC Only] The tags applied to the security group rule.

Definition at line 639 of file AuthorizeSecurityGroupIngressRequest.h.

◆ GetToPort()

int Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::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 codes. If you specify all ICMP types, you must specify all codes.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 573 of file AuthorizeSecurityGroupIngressRequest.h.

◆ GroupIdHasBeenSet()

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

◆ GroupNameHasBeenSet()

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

◆ IpPermissionsHasBeenSet()

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

The sets of IP permissions.

Definition at line 258 of file AuthorizeSecurityGroupIngressRequest.h.

◆ IpProtocolHasBeenSet()

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

The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers). To specify icmpv6, use a set of IP permissions.

[VPC only] Use -1 to specify all protocols. If you specify -1 or a protocol other than tcp, udp, or icmp, traffic on all ports is allowed, regardless of any ports you specify.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 315 of file AuthorizeSecurityGroupIngressRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetCidrIp() [1/3]

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

The IPv4 address range, in CIDR format. You can't specify this parameter when specifying a source security group. To specify an IPv6 address range, use a set of IP permissions.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 72 of file AuthorizeSecurityGroupIngressRequest.h.

◆ SetCidrIp() [2/3]

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

The IPv4 address range, in CIDR format. You can't specify this parameter when specifying a source security group. To specify an IPv6 address range, use a set of IP permissions.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 64 of file AuthorizeSecurityGroupIngressRequest.h.

◆ SetCidrIp() [3/3]

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

The IPv4 address range, in CIDR format. You can't specify this parameter when specifying a source security group. To specify an IPv6 address range, use a set of IP permissions.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 80 of file AuthorizeSecurityGroupIngressRequest.h.

◆ SetDryRun()

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

◆ SetFromPort()

void Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::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 types. If you specify all ICMP types, you must specify all codes.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 132 of file AuthorizeSecurityGroupIngressRequest.h.

◆ SetGroupId() [1/3]

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

◆ SetGroupId() [2/3]

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

◆ SetGroupId() [3/3]

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

◆ SetGroupName() [1/3]

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

◆ SetGroupName() [2/3]

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

◆ SetGroupName() [3/3]

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

◆ SetIpPermissions() [1/2]

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

The sets of IP permissions.

Definition at line 268 of file AuthorizeSecurityGroupIngressRequest.h.

◆ SetIpPermissions() [2/2]

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

The sets of IP permissions.

Definition at line 263 of file AuthorizeSecurityGroupIngressRequest.h.

◆ SetIpProtocol() [1/3]

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

The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers). To specify icmpv6, use a set of IP permissions.

[VPC only] Use -1 to specify all protocols. If you specify -1 or a protocol other than tcp, udp, or icmp, traffic on all ports is allowed, regardless of any ports you specify.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 341 of file AuthorizeSecurityGroupIngressRequest.h.

◆ SetIpProtocol() [2/3]

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

The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers). To specify icmpv6, use a set of IP permissions.

[VPC only] Use -1 to specify all protocols. If you specify -1 or a protocol other than tcp, udp, or icmp, traffic on all ports is allowed, regardless of any ports you specify.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 328 of file AuthorizeSecurityGroupIngressRequest.h.

◆ SetIpProtocol() [3/3]

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

The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers). To specify icmpv6, use a set of IP permissions.

[VPC only] Use -1 to specify all protocols. If you specify -1 or a protocol other than tcp, udp, or icmp, traffic on all ports is allowed, regardless of any ports you specify.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 354 of file AuthorizeSecurityGroupIngressRequest.h.

◆ SetSourceSecurityGroupName() [1/3]

void Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::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. Creates rules that grant full ICMP, UDP, and TCP access. To create a rule with a specific IP protocol and port range, use a set of IP permissions instead. For EC2-VPC, the source security group must be in the same VPC.

Definition at line 434 of file AuthorizeSecurityGroupIngressRequest.h.

◆ SetSourceSecurityGroupName() [2/3]

void Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::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. Creates rules that grant full ICMP, UDP, and TCP access. To create a rule with a specific IP protocol and port range, use a set of IP permissions instead. For EC2-VPC, the source security group must be in the same VPC.

Definition at line 424 of file AuthorizeSecurityGroupIngressRequest.h.

◆ SetSourceSecurityGroupName() [3/3]

void Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::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. Creates rules that grant full ICMP, UDP, and TCP access. To create a rule with a specific IP protocol and port range, use a set of IP permissions instead. For EC2-VPC, the source security group must be in the same VPC.

Definition at line 444 of file AuthorizeSecurityGroupIngressRequest.h.

◆ SetSourceSecurityGroupOwnerId() [1/3]

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

[nondefault VPC] The Amazon Web Services account ID for 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. Creates rules that grant full ICMP, UDP, and TCP access. To create a rule with a specific IP protocol and port range, use a set of IP permissions instead.

Definition at line 519 of file AuthorizeSecurityGroupIngressRequest.h.

◆ SetSourceSecurityGroupOwnerId() [2/3]

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

[nondefault VPC] The Amazon Web Services account ID for 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. Creates rules that grant full ICMP, UDP, and TCP access. To create a rule with a specific IP protocol and port range, use a set of IP permissions instead.

Definition at line 508 of file AuthorizeSecurityGroupIngressRequest.h.

◆ SetSourceSecurityGroupOwnerId() [3/3]

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

[nondefault VPC] The Amazon Web Services account ID for 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. Creates rules that grant full ICMP, UDP, and TCP access. To create a rule with a specific IP protocol and port range, use a set of IP permissions instead.

Definition at line 530 of file AuthorizeSecurityGroupIngressRequest.h.

◆ SetTagSpecifications() [1/2]

void Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::SetTagSpecifications ( Aws::Vector< TagSpecification > &&  value)
inline

[VPC Only] The tags applied to the security group rule.

Definition at line 654 of file AuthorizeSecurityGroupIngressRequest.h.

◆ SetTagSpecifications() [2/2]

void Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::SetTagSpecifications ( const Aws::Vector< TagSpecification > &  value)
inline

[VPC Only] The tags applied to the security group rule.

Definition at line 649 of file AuthorizeSecurityGroupIngressRequest.h.

◆ SetToPort()

void Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::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 codes. If you specify all ICMP types, you must specify all codes.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 591 of file AuthorizeSecurityGroupIngressRequest.h.

◆ SourceSecurityGroupNameHasBeenSet()

bool Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::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. Creates rules that grant full ICMP, UDP, and TCP access. To create a rule with a specific IP protocol and port range, use a set of IP permissions instead. For EC2-VPC, the source security group must be in the same VPC.

Definition at line 414 of file AuthorizeSecurityGroupIngressRequest.h.

◆ SourceSecurityGroupOwnerIdHasBeenSet()

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

[nondefault VPC] The Amazon Web Services account ID for 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. Creates rules that grant full ICMP, UDP, and TCP access. To create a rule with a specific IP protocol and port range, use a set of IP permissions instead.

Definition at line 497 of file AuthorizeSecurityGroupIngressRequest.h.

◆ TagSpecificationsHasBeenSet()

bool Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::TagSpecificationsHasBeenSet ( ) const
inline

[VPC Only] The tags applied to the security group rule.

Definition at line 644 of file AuthorizeSecurityGroupIngressRequest.h.

◆ ToPortHasBeenSet()

bool Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::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 codes. If you specify all ICMP types, you must specify all codes.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 582 of file AuthorizeSecurityGroupIngressRequest.h.

◆ WithCidrIp() [1/3]

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

The IPv4 address range, in CIDR format. You can't specify this parameter when specifying a source security group. To specify an IPv6 address range, use a set of IP permissions.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 96 of file AuthorizeSecurityGroupIngressRequest.h.

◆ WithCidrIp() [2/3]

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

The IPv4 address range, in CIDR format. You can't specify this parameter when specifying a source security group. To specify an IPv6 address range, use a set of IP permissions.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 88 of file AuthorizeSecurityGroupIngressRequest.h.

◆ WithCidrIp() [3/3]

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

The IPv4 address range, in CIDR format. You can't specify this parameter when specifying a source security group. To specify an IPv6 address range, use a set of IP permissions.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 104 of file AuthorizeSecurityGroupIngressRequest.h.

◆ WithDryRun()

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

◆ WithFromPort()

AuthorizeSecurityGroupIngressRequest& Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::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 types. If you specify all ICMP types, you must specify all codes.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 141 of file AuthorizeSecurityGroupIngressRequest.h.

◆ WithGroupId() [1/3]

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

◆ WithGroupId() [2/3]

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

◆ WithGroupId() [3/3]

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

◆ WithGroupName() [1/3]

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

◆ WithGroupName() [2/3]

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

◆ WithGroupName() [3/3]

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

◆ WithIpPermissions() [1/2]

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

The sets of IP permissions.

Definition at line 278 of file AuthorizeSecurityGroupIngressRequest.h.

◆ WithIpPermissions() [2/2]

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

The sets of IP permissions.

Definition at line 273 of file AuthorizeSecurityGroupIngressRequest.h.

◆ WithIpProtocol() [1/3]

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

The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers). To specify icmpv6, use a set of IP permissions.

[VPC only] Use -1 to specify all protocols. If you specify -1 or a protocol other than tcp, udp, or icmp, traffic on all ports is allowed, regardless of any ports you specify.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 380 of file AuthorizeSecurityGroupIngressRequest.h.

◆ WithIpProtocol() [2/3]

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

The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers). To specify icmpv6, use a set of IP permissions.

[VPC only] Use -1 to specify all protocols. If you specify -1 or a protocol other than tcp, udp, or icmp, traffic on all ports is allowed, regardless of any ports you specify.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 367 of file AuthorizeSecurityGroupIngressRequest.h.

◆ WithIpProtocol() [3/3]

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

The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers). To specify icmpv6, use a set of IP permissions.

[VPC only] Use -1 to specify all protocols. If you specify -1 or a protocol other than tcp, udp, or icmp, traffic on all ports is allowed, regardless of any ports you specify.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 393 of file AuthorizeSecurityGroupIngressRequest.h.

◆ WithSourceSecurityGroupName() [1/3]

AuthorizeSecurityGroupIngressRequest& Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::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. Creates rules that grant full ICMP, UDP, and TCP access. To create a rule with a specific IP protocol and port range, use a set of IP permissions instead. For EC2-VPC, the source security group must be in the same VPC.

Definition at line 464 of file AuthorizeSecurityGroupIngressRequest.h.

◆ WithSourceSecurityGroupName() [2/3]

AuthorizeSecurityGroupIngressRequest& Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::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. Creates rules that grant full ICMP, UDP, and TCP access. To create a rule with a specific IP protocol and port range, use a set of IP permissions instead. For EC2-VPC, the source security group must be in the same VPC.

Definition at line 454 of file AuthorizeSecurityGroupIngressRequest.h.

◆ WithSourceSecurityGroupName() [3/3]

AuthorizeSecurityGroupIngressRequest& Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::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. Creates rules that grant full ICMP, UDP, and TCP access. To create a rule with a specific IP protocol and port range, use a set of IP permissions instead. For EC2-VPC, the source security group must be in the same VPC.

Definition at line 474 of file AuthorizeSecurityGroupIngressRequest.h.

◆ WithSourceSecurityGroupOwnerId() [1/3]

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

[nondefault VPC] The Amazon Web Services account ID for 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. Creates rules that grant full ICMP, UDP, and TCP access. To create a rule with a specific IP protocol and port range, use a set of IP permissions instead.

Definition at line 552 of file AuthorizeSecurityGroupIngressRequest.h.

◆ WithSourceSecurityGroupOwnerId() [2/3]

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

[nondefault VPC] The Amazon Web Services account ID for 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. Creates rules that grant full ICMP, UDP, and TCP access. To create a rule with a specific IP protocol and port range, use a set of IP permissions instead.

Definition at line 541 of file AuthorizeSecurityGroupIngressRequest.h.

◆ WithSourceSecurityGroupOwnerId() [3/3]

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

[nondefault VPC] The Amazon Web Services account ID for 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. Creates rules that grant full ICMP, UDP, and TCP access. To create a rule with a specific IP protocol and port range, use a set of IP permissions instead.

Definition at line 563 of file AuthorizeSecurityGroupIngressRequest.h.

◆ WithTagSpecifications() [1/2]

AuthorizeSecurityGroupIngressRequest& Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::WithTagSpecifications ( Aws::Vector< TagSpecification > &&  value)
inline

[VPC Only] The tags applied to the security group rule.

Definition at line 664 of file AuthorizeSecurityGroupIngressRequest.h.

◆ WithTagSpecifications() [2/2]

AuthorizeSecurityGroupIngressRequest& Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::WithTagSpecifications ( const Aws::Vector< TagSpecification > &  value)
inline

[VPC Only] The tags applied to the security group rule.

Definition at line 659 of file AuthorizeSecurityGroupIngressRequest.h.

◆ WithToPort()

AuthorizeSecurityGroupIngressRequest& Aws::EC2::Model::AuthorizeSecurityGroupIngressRequest::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 codes. If you specify all ICMP types, you must specify all codes.

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

Definition at line 600 of file AuthorizeSecurityGroupIngressRequest.h.


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