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

#include <CreateSecurityGroupRequest.h>

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

Public Member Functions

 CreateSecurityGroupRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
CreateSecurityGroupRequestWithDescription (const Aws::String &value)
 
CreateSecurityGroupRequestWithDescription (Aws::String &&value)
 
CreateSecurityGroupRequestWithDescription (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)
 
CreateSecurityGroupRequestWithGroupName (const Aws::String &value)
 
CreateSecurityGroupRequestWithGroupName (Aws::String &&value)
 
CreateSecurityGroupRequestWithGroupName (const char *value)
 
const Aws::StringGetVpcId () const
 
bool VpcIdHasBeenSet () const
 
void SetVpcId (const Aws::String &value)
 
void SetVpcId (Aws::String &&value)
 
void SetVpcId (const char *value)
 
CreateSecurityGroupRequestWithVpcId (const Aws::String &value)
 
CreateSecurityGroupRequestWithVpcId (Aws::String &&value)
 
CreateSecurityGroupRequestWithVpcId (const char *value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
CreateSecurityGroupRequestWithDryRun (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 31 of file CreateSecurityGroupRequest.h.

Constructor & Destructor Documentation

◆ CreateSecurityGroupRequest()

Aws::EC2::Model::CreateSecurityGroupRequest::CreateSecurityGroupRequest ( )

Member Function Documentation

◆ DescriptionHasBeenSet()

bool Aws::EC2::Model::CreateSecurityGroupRequest::DescriptionHasBeenSet ( ) const
inline

A description for the security group. This is informational only.

Constraints: Up to 255 characters in length

Constraints for EC2-Classic: ASCII characters

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 63 of file CreateSecurityGroupRequest.h.

◆ DryRunHasBeenSet()

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

◆ DumpBodyToUrl()

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

◆ GetDescription()

const Aws::String& Aws::EC2::Model::CreateSecurityGroupRequest::GetDescription ( ) const
inline

A description for the security group. This is informational only.

Constraints: Up to 255 characters in length

Constraints for EC2-Classic: ASCII characters

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 55 of file CreateSecurityGroupRequest.h.

◆ GetDryRun()

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

◆ GetGroupName()

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

The name of the security group.

Constraints: Up to 255 characters in length. Cannot start with sg-.

Constraints for EC2-Classic: ASCII characters

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 120 of file CreateSecurityGroupRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 40 of file CreateSecurityGroupRequest.h.

◆ GetVpcId()

const Aws::String& Aws::EC2::Model::CreateSecurityGroupRequest::GetVpcId ( ) const
inline

[EC2-VPC] The ID of the VPC. Required for EC2-VPC.

Definition at line 182 of file CreateSecurityGroupRequest.h.

◆ GroupNameHasBeenSet()

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

The name of the security group.

Constraints: Up to 255 characters in length. Cannot start with sg-.

Constraints for EC2-Classic: ASCII characters

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 128 of file CreateSecurityGroupRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetDescription() [1/3]

void Aws::EC2::Model::CreateSecurityGroupRequest::SetDescription ( const Aws::String value)
inline

A description for the security group. This is informational only.

Constraints: Up to 255 characters in length

Constraints for EC2-Classic: ASCII characters

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 71 of file CreateSecurityGroupRequest.h.

◆ SetDescription() [2/3]

void Aws::EC2::Model::CreateSecurityGroupRequest::SetDescription ( Aws::String &&  value)
inline

A description for the security group. This is informational only.

Constraints: Up to 255 characters in length

Constraints for EC2-Classic: ASCII characters

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 79 of file CreateSecurityGroupRequest.h.

◆ SetDescription() [3/3]

void Aws::EC2::Model::CreateSecurityGroupRequest::SetDescription ( const char *  value)
inline

A description for the security group. This is informational only.

Constraints: Up to 255 characters in length

Constraints for EC2-Classic: ASCII characters

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 87 of file CreateSecurityGroupRequest.h.

◆ SetDryRun()

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

◆ SetGroupName() [1/3]

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

The name of the security group.

Constraints: Up to 255 characters in length. Cannot start with sg-.

Constraints for EC2-Classic: ASCII characters

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 136 of file CreateSecurityGroupRequest.h.

◆ SetGroupName() [2/3]

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

The name of the security group.

Constraints: Up to 255 characters in length. Cannot start with sg-.

Constraints for EC2-Classic: ASCII characters

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 144 of file CreateSecurityGroupRequest.h.

◆ SetGroupName() [3/3]

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

The name of the security group.

Constraints: Up to 255 characters in length. Cannot start with sg-.

Constraints for EC2-Classic: ASCII characters

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 152 of file CreateSecurityGroupRequest.h.

◆ SetVpcId() [1/3]

void Aws::EC2::Model::CreateSecurityGroupRequest::SetVpcId ( const Aws::String value)
inline

[EC2-VPC] The ID of the VPC. Required for EC2-VPC.

Definition at line 192 of file CreateSecurityGroupRequest.h.

◆ SetVpcId() [2/3]

void Aws::EC2::Model::CreateSecurityGroupRequest::SetVpcId ( Aws::String &&  value)
inline

[EC2-VPC] The ID of the VPC. Required for EC2-VPC.

Definition at line 197 of file CreateSecurityGroupRequest.h.

◆ SetVpcId() [3/3]

void Aws::EC2::Model::CreateSecurityGroupRequest::SetVpcId ( const char *  value)
inline

[EC2-VPC] The ID of the VPC. Required for EC2-VPC.

Definition at line 202 of file CreateSecurityGroupRequest.h.

◆ VpcIdHasBeenSet()

bool Aws::EC2::Model::CreateSecurityGroupRequest::VpcIdHasBeenSet ( ) const
inline

[EC2-VPC] The ID of the VPC. Required for EC2-VPC.

Definition at line 187 of file CreateSecurityGroupRequest.h.

◆ WithDescription() [1/3]

CreateSecurityGroupRequest& Aws::EC2::Model::CreateSecurityGroupRequest::WithDescription ( const Aws::String value)
inline

A description for the security group. This is informational only.

Constraints: Up to 255 characters in length

Constraints for EC2-Classic: ASCII characters

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 95 of file CreateSecurityGroupRequest.h.

◆ WithDescription() [2/3]

CreateSecurityGroupRequest& Aws::EC2::Model::CreateSecurityGroupRequest::WithDescription ( Aws::String &&  value)
inline

A description for the security group. This is informational only.

Constraints: Up to 255 characters in length

Constraints for EC2-Classic: ASCII characters

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 103 of file CreateSecurityGroupRequest.h.

◆ WithDescription() [3/3]

CreateSecurityGroupRequest& Aws::EC2::Model::CreateSecurityGroupRequest::WithDescription ( const char *  value)
inline

A description for the security group. This is informational only.

Constraints: Up to 255 characters in length

Constraints for EC2-Classic: ASCII characters

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 111 of file CreateSecurityGroupRequest.h.

◆ WithDryRun()

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

◆ WithGroupName() [1/3]

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

The name of the security group.

Constraints: Up to 255 characters in length. Cannot start with sg-.

Constraints for EC2-Classic: ASCII characters

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 160 of file CreateSecurityGroupRequest.h.

◆ WithGroupName() [2/3]

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

The name of the security group.

Constraints: Up to 255 characters in length. Cannot start with sg-.

Constraints for EC2-Classic: ASCII characters

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 168 of file CreateSecurityGroupRequest.h.

◆ WithGroupName() [3/3]

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

The name of the security group.

Constraints: Up to 255 characters in length. Cannot start with sg-.

Constraints for EC2-Classic: ASCII characters

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

Definition at line 176 of file CreateSecurityGroupRequest.h.

◆ WithVpcId() [1/3]

CreateSecurityGroupRequest& Aws::EC2::Model::CreateSecurityGroupRequest::WithVpcId ( const Aws::String value)
inline

[EC2-VPC] The ID of the VPC. Required for EC2-VPC.

Definition at line 207 of file CreateSecurityGroupRequest.h.

◆ WithVpcId() [2/3]

CreateSecurityGroupRequest& Aws::EC2::Model::CreateSecurityGroupRequest::WithVpcId ( Aws::String &&  value)
inline

[EC2-VPC] The ID of the VPC. Required for EC2-VPC.

Definition at line 212 of file CreateSecurityGroupRequest.h.

◆ WithVpcId() [3/3]

CreateSecurityGroupRequest& Aws::EC2::Model::CreateSecurityGroupRequest::WithVpcId ( const char *  value)
inline

[EC2-VPC] The ID of the VPC. Required for EC2-VPC.

Definition at line 217 of file CreateSecurityGroupRequest.h.


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