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

#include <CreateKeyPairRequest.h>

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

Public Member Functions

 CreateKeyPairRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetKeyName () const
 
bool KeyNameHasBeenSet () const
 
void SetKeyName (const Aws::String &value)
 
void SetKeyName (Aws::String &&value)
 
void SetKeyName (const char *value)
 
CreateKeyPairRequestWithKeyName (const Aws::String &value)
 
CreateKeyPairRequestWithKeyName (Aws::String &&value)
 
CreateKeyPairRequestWithKeyName (const char *value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
CreateKeyPairRequestWithDryRun (bool value)
 
const Aws::Vector< TagSpecification > & GetTagSpecifications () const
 
bool TagSpecificationsHasBeenSet () const
 
void SetTagSpecifications (const Aws::Vector< TagSpecification > &value)
 
void SetTagSpecifications (Aws::Vector< TagSpecification > &&value)
 
CreateKeyPairRequestWithTagSpecifications (const Aws::Vector< TagSpecification > &value)
 
CreateKeyPairRequestWithTagSpecifications (Aws::Vector< TagSpecification > &&value)
 
CreateKeyPairRequestAddTagSpecifications (const TagSpecification &value)
 
CreateKeyPairRequestAddTagSpecifications (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 33 of file CreateKeyPairRequest.h.

Constructor & Destructor Documentation

◆ CreateKeyPairRequest()

Aws::EC2::Model::CreateKeyPairRequest::CreateKeyPairRequest ( )

Member Function Documentation

◆ AddTagSpecifications() [1/2]

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

The tags to apply to the new key pair.

Definition at line 166 of file CreateKeyPairRequest.h.

◆ AddTagSpecifications() [2/2]

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

The tags to apply to the new key pair.

Definition at line 171 of file CreateKeyPairRequest.h.

◆ DryRunHasBeenSet()

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

◆ DumpBodyToUrl()

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

◆ GetDryRun()

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

◆ GetKeyName()

const Aws::String& Aws::EC2::Model::CreateKeyPairRequest::GetKeyName ( ) const
inline

A unique name for the key pair.

Constraints: Up to 255 ASCII characters

Definition at line 55 of file CreateKeyPairRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 42 of file CreateKeyPairRequest.h.

◆ GetTagSpecifications()

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

The tags to apply to the new key pair.

Definition at line 136 of file CreateKeyPairRequest.h.

◆ KeyNameHasBeenSet()

bool Aws::EC2::Model::CreateKeyPairRequest::KeyNameHasBeenSet ( ) const
inline

A unique name for the key pair.

Constraints: Up to 255 ASCII characters

Definition at line 61 of file CreateKeyPairRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetDryRun()

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

◆ SetKeyName() [1/3]

void Aws::EC2::Model::CreateKeyPairRequest::SetKeyName ( const Aws::String value)
inline

A unique name for the key pair.

Constraints: Up to 255 ASCII characters

Definition at line 67 of file CreateKeyPairRequest.h.

◆ SetKeyName() [2/3]

void Aws::EC2::Model::CreateKeyPairRequest::SetKeyName ( Aws::String &&  value)
inline

A unique name for the key pair.

Constraints: Up to 255 ASCII characters

Definition at line 73 of file CreateKeyPairRequest.h.

◆ SetKeyName() [3/3]

void Aws::EC2::Model::CreateKeyPairRequest::SetKeyName ( const char *  value)
inline

A unique name for the key pair.

Constraints: Up to 255 ASCII characters

Definition at line 79 of file CreateKeyPairRequest.h.

◆ SetTagSpecifications() [1/2]

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

The tags to apply to the new key pair.

Definition at line 146 of file CreateKeyPairRequest.h.

◆ SetTagSpecifications() [2/2]

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

The tags to apply to the new key pair.

Definition at line 151 of file CreateKeyPairRequest.h.

◆ TagSpecificationsHasBeenSet()

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

The tags to apply to the new key pair.

Definition at line 141 of file CreateKeyPairRequest.h.

◆ WithDryRun()

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

◆ WithKeyName() [1/3]

CreateKeyPairRequest& Aws::EC2::Model::CreateKeyPairRequest::WithKeyName ( const Aws::String value)
inline

A unique name for the key pair.

Constraints: Up to 255 ASCII characters

Definition at line 85 of file CreateKeyPairRequest.h.

◆ WithKeyName() [2/3]

CreateKeyPairRequest& Aws::EC2::Model::CreateKeyPairRequest::WithKeyName ( Aws::String &&  value)
inline

A unique name for the key pair.

Constraints: Up to 255 ASCII characters

Definition at line 91 of file CreateKeyPairRequest.h.

◆ WithKeyName() [3/3]

CreateKeyPairRequest& Aws::EC2::Model::CreateKeyPairRequest::WithKeyName ( const char *  value)
inline

A unique name for the key pair.

Constraints: Up to 255 ASCII characters

Definition at line 97 of file CreateKeyPairRequest.h.

◆ WithTagSpecifications() [1/2]

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

The tags to apply to the new key pair.

Definition at line 156 of file CreateKeyPairRequest.h.

◆ WithTagSpecifications() [2/2]

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

The tags to apply to the new key pair.

Definition at line 161 of file CreateKeyPairRequest.h.


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