AWS SDK for C++  1.7.233
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)
 
- 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 32 of file ImportKeyPairRequest.h.

Constructor & Destructor Documentation

◆ ImportKeyPairRequest()

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

Member Function Documentation

◆ 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 64 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 56 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 86 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 128 of file ImportKeyPairRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 41 of file ImportKeyPairRequest.h.

◆ KeyNameHasBeenSet()

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

A unique name for the key pair.

Definition at line 91 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 134 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 72 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 96 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 101 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 106 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 140 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 146 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 80 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 111 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 116 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 121 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 152 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 158 of file ImportKeyPairRequest.h.


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