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

#include <ImportKeyPairRequest.h>

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

Public Member Functions

 ImportKeyPairRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
ImportKeyPairRequestWithDryRun (bool value)
 
const Aws::StringGetKeyName () const
 
bool KeyNameHasBeenSet () const
 
void SetKeyName (const Aws::String &value)
 
void SetKeyName (Aws::String &&value)
 
void SetKeyName (const char *value)
 
ImportKeyPairRequestWithKeyName (const Aws::String &value)
 
ImportKeyPairRequestWithKeyName (Aws::String &&value)
 
ImportKeyPairRequestWithKeyName (const char *value)
 
const Aws::Utils::ByteBufferGetPublicKeyMaterial () const
 
bool PublicKeyMaterialHasBeenSet () const
 
void SetPublicKeyMaterial (const Aws::Utils::ByteBuffer &value)
 
void SetPublicKeyMaterial (Aws::Utils::ByteBuffer &&value)
 
ImportKeyPairRequestWithPublicKeyMaterial (const Aws::Utils::ByteBuffer &value)
 
ImportKeyPairRequestWithPublicKeyMaterial (Aws::Utils::ByteBuffer &&value)
 
const Aws::Vector< TagSpecification > & GetTagSpecifications () const
 
bool TagSpecificationsHasBeenSet () const
 
void SetTagSpecifications (const Aws::Vector< TagSpecification > &value)
 
void SetTagSpecifications (Aws::Vector< TagSpecification > &&value)
 
ImportKeyPairRequestWithTagSpecifications (const Aws::Vector< TagSpecification > &value)
 
ImportKeyPairRequestWithTagSpecifications (Aws::Vector< TagSpecification > &&value)
 
ImportKeyPairRequestAddTagSpecifications (const TagSpecification &value)
 
ImportKeyPairRequestAddTagSpecifications (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 ImportKeyPairRequest.h.

Constructor & Destructor Documentation

◆ ImportKeyPairRequest()

Aws::EC2::Model::ImportKeyPairRequest::ImportKeyPairRequest ( )

Member Function Documentation

◆ AddTagSpecifications() [1/2]

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

The tags to apply to the imported key pair.

Definition at line 186 of file ImportKeyPairRequest.h.

◆ AddTagSpecifications() [2/2]

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

The tags to apply to the imported key pair.

Definition at line 191 of file ImportKeyPairRequest.h.

◆ DryRunHasBeenSet()

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

◆ DumpBodyToUrl()

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

◆ GetKeyName()

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

A unique name for the key pair.

Definition at line 78 of file ImportKeyPairRequest.h.

◆ GetPublicKeyMaterial()

const Aws::Utils::ByteBuffer& Aws::EC2::Model::ImportKeyPairRequest::GetPublicKeyMaterial ( ) const
inline

The public key. For API calls, the text must be base64-encoded. For command line tools, base64 encoding is performed for you.

Definition at line 120 of file ImportKeyPairRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 33 of file ImportKeyPairRequest.h.

◆ GetTagSpecifications()

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

The tags to apply to the imported key pair.

Definition at line 156 of file ImportKeyPairRequest.h.

◆ KeyNameHasBeenSet()

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

A unique name for the key pair.

Definition at line 83 of file ImportKeyPairRequest.h.

◆ PublicKeyMaterialHasBeenSet()

bool Aws::EC2::Model::ImportKeyPairRequest::PublicKeyMaterialHasBeenSet ( ) const
inline

The public key. For API calls, the text must be base64-encoded. For command line tools, base64 encoding is performed for you.

Definition at line 126 of file ImportKeyPairRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetDryRun()

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

◆ SetKeyName() [1/3]

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

A unique name for the key pair.

Definition at line 88 of file ImportKeyPairRequest.h.

◆ SetKeyName() [2/3]

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

A unique name for the key pair.

Definition at line 93 of file ImportKeyPairRequest.h.

◆ SetKeyName() [3/3]

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

A unique name for the key pair.

Definition at line 98 of file ImportKeyPairRequest.h.

◆ SetPublicKeyMaterial() [1/2]

void Aws::EC2::Model::ImportKeyPairRequest::SetPublicKeyMaterial ( const Aws::Utils::ByteBuffer value)
inline

The public key. For API calls, the text must be base64-encoded. For command line tools, base64 encoding is performed for you.

Definition at line 132 of file ImportKeyPairRequest.h.

◆ SetPublicKeyMaterial() [2/2]

void Aws::EC2::Model::ImportKeyPairRequest::SetPublicKeyMaterial ( Aws::Utils::ByteBuffer &&  value)
inline

The public key. For API calls, the text must be base64-encoded. For command line tools, base64 encoding is performed for you.

Definition at line 138 of file ImportKeyPairRequest.h.

◆ SetTagSpecifications() [1/2]

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

The tags to apply to the imported key pair.

Definition at line 166 of file ImportKeyPairRequest.h.

◆ SetTagSpecifications() [2/2]

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

The tags to apply to the imported key pair.

Definition at line 171 of file ImportKeyPairRequest.h.

◆ TagSpecificationsHasBeenSet()

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

The tags to apply to the imported key pair.

Definition at line 161 of file ImportKeyPairRequest.h.

◆ WithDryRun()

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

◆ WithKeyName() [1/3]

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

A unique name for the key pair.

Definition at line 103 of file ImportKeyPairRequest.h.

◆ WithKeyName() [2/3]

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

A unique name for the key pair.

Definition at line 108 of file ImportKeyPairRequest.h.

◆ WithKeyName() [3/3]

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

A unique name for the key pair.

Definition at line 113 of file ImportKeyPairRequest.h.

◆ WithPublicKeyMaterial() [1/2]

ImportKeyPairRequest& Aws::EC2::Model::ImportKeyPairRequest::WithPublicKeyMaterial ( const Aws::Utils::ByteBuffer value)
inline

The public key. For API calls, the text must be base64-encoded. For command line tools, base64 encoding is performed for you.

Definition at line 144 of file ImportKeyPairRequest.h.

◆ WithPublicKeyMaterial() [2/2]

ImportKeyPairRequest& Aws::EC2::Model::ImportKeyPairRequest::WithPublicKeyMaterial ( Aws::Utils::ByteBuffer &&  value)
inline

The public key. For API calls, the text must be base64-encoded. For command line tools, base64 encoding is performed for you.

Definition at line 150 of file ImportKeyPairRequest.h.

◆ WithTagSpecifications() [1/2]

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

The tags to apply to the imported key pair.

Definition at line 176 of file ImportKeyPairRequest.h.

◆ WithTagSpecifications() [2/2]

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

The tags to apply to the imported key pair.

Definition at line 181 of file ImportKeyPairRequest.h.


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