AWS SDK for C++  1.8.51
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::IAM::Model::UploadSSHPublicKeyRequest Class Reference

#include <UploadSSHPublicKeyRequest.h>

+ Inheritance diagram for Aws::IAM::Model::UploadSSHPublicKeyRequest:

Public Member Functions

 UploadSSHPublicKeyRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetUserName () const
 
bool UserNameHasBeenSet () const
 
void SetUserName (const Aws::String &value)
 
void SetUserName (Aws::String &&value)
 
void SetUserName (const char *value)
 
UploadSSHPublicKeyRequestWithUserName (const Aws::String &value)
 
UploadSSHPublicKeyRequestWithUserName (Aws::String &&value)
 
UploadSSHPublicKeyRequestWithUserName (const char *value)
 
const Aws::StringGetSSHPublicKeyBody () const
 
bool SSHPublicKeyBodyHasBeenSet () const
 
void SetSSHPublicKeyBody (const Aws::String &value)
 
void SetSSHPublicKeyBody (Aws::String &&value)
 
void SetSSHPublicKeyBody (const char *value)
 
UploadSSHPublicKeyRequestWithSSHPublicKeyBody (const Aws::String &value)
 
UploadSSHPublicKeyRequestWithSSHPublicKeyBody (Aws::String &&value)
 
UploadSSHPublicKeyRequestWithSSHPublicKeyBody (const char *value)
 
- Public Member Functions inherited from Aws::IAM::IAMRequest
virtual ~IAMRequest ()
 
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::IAM::IAMRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

Definition at line 21 of file UploadSSHPublicKeyRequest.h.

Constructor & Destructor Documentation

◆ UploadSSHPublicKeyRequest()

Aws::IAM::Model::UploadSSHPublicKeyRequest::UploadSSHPublicKeyRequest ( )

Member Function Documentation

◆ DumpBodyToUrl()

void Aws::IAM::Model::UploadSSHPublicKeyRequest::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.

◆ GetServiceRequestName()

virtual const char* Aws::IAM::Model::UploadSSHPublicKeyRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 30 of file UploadSSHPublicKeyRequest.h.

◆ GetSSHPublicKeyBody()

const Aws::String& Aws::IAM::Model::UploadSSHPublicKeyRequest::GetSSHPublicKeyBody ( ) const
inline

The SSH public key. The public key must be encoded in ssh-rsa format or PEM format. The minimum bit-length of the public key is 2048 bits. For example, you can generate a 2048-bit key, and the resulting PEM file is 1679 bytes long.

The regex pattern used to validate this parameter is a string of characters consisting of the following:

  • Any printable ASCII character ranging from the space character () through the end of the ASCII character range

  • The printable characters in the Basic Latin and Latin-1 Supplement character set (through )

  • The special characters tab (), line feed (), and carriage return ()

Definition at line 125 of file UploadSSHPublicKeyRequest.h.

◆ GetUserName()

const Aws::String& Aws::IAM::Model::UploadSSHPublicKeyRequest::GetUserName ( ) const
inline

The name of the IAM user to associate the SSH public key with.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 46 of file UploadSSHPublicKeyRequest.h.

◆ SerializePayload()

Aws::String Aws::IAM::Model::UploadSSHPublicKeyRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetSSHPublicKeyBody() [1/3]

void Aws::IAM::Model::UploadSSHPublicKeyRequest::SetSSHPublicKeyBody ( const Aws::String value)
inline

The SSH public key. The public key must be encoded in ssh-rsa format or PEM format. The minimum bit-length of the public key is 2048 bits. For example, you can generate a 2048-bit key, and the resulting PEM file is 1679 bytes long.

The regex pattern used to validate this parameter is a string of characters consisting of the following:

  • Any printable ASCII character ranging from the space character () through the end of the ASCII character range

  • The printable characters in the Basic Latin and Latin-1 Supplement character set (through )

  • The special characters tab (), line feed (), and carriage return ()

Definition at line 155 of file UploadSSHPublicKeyRequest.h.

◆ SetSSHPublicKeyBody() [2/3]

void Aws::IAM::Model::UploadSSHPublicKeyRequest::SetSSHPublicKeyBody ( Aws::String &&  value)
inline

The SSH public key. The public key must be encoded in ssh-rsa format or PEM format. The minimum bit-length of the public key is 2048 bits. For example, you can generate a 2048-bit key, and the resulting PEM file is 1679 bytes long.

The regex pattern used to validate this parameter is a string of characters consisting of the following:

  • Any printable ASCII character ranging from the space character () through the end of the ASCII character range

  • The printable characters in the Basic Latin and Latin-1 Supplement character set (through )

  • The special characters tab (), line feed (), and carriage return ()

Definition at line 170 of file UploadSSHPublicKeyRequest.h.

◆ SetSSHPublicKeyBody() [3/3]

void Aws::IAM::Model::UploadSSHPublicKeyRequest::SetSSHPublicKeyBody ( const char *  value)
inline

The SSH public key. The public key must be encoded in ssh-rsa format or PEM format. The minimum bit-length of the public key is 2048 bits. For example, you can generate a 2048-bit key, and the resulting PEM file is 1679 bytes long.

The regex pattern used to validate this parameter is a string of characters consisting of the following:

  • Any printable ASCII character ranging from the space character () through the end of the ASCII character range

  • The printable characters in the Basic Latin and Latin-1 Supplement character set (through )

  • The special characters tab (), line feed (), and carriage return ()

Definition at line 185 of file UploadSSHPublicKeyRequest.h.

◆ SetUserName() [1/3]

void Aws::IAM::Model::UploadSSHPublicKeyRequest::SetUserName ( const Aws::String value)
inline

The name of the IAM user to associate the SSH public key with.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 64 of file UploadSSHPublicKeyRequest.h.

◆ SetUserName() [2/3]

void Aws::IAM::Model::UploadSSHPublicKeyRequest::SetUserName ( Aws::String &&  value)
inline

The name of the IAM user to associate the SSH public key with.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 73 of file UploadSSHPublicKeyRequest.h.

◆ SetUserName() [3/3]

void Aws::IAM::Model::UploadSSHPublicKeyRequest::SetUserName ( const char *  value)
inline

The name of the IAM user to associate the SSH public key with.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 82 of file UploadSSHPublicKeyRequest.h.

◆ SSHPublicKeyBodyHasBeenSet()

bool Aws::IAM::Model::UploadSSHPublicKeyRequest::SSHPublicKeyBodyHasBeenSet ( ) const
inline

The SSH public key. The public key must be encoded in ssh-rsa format or PEM format. The minimum bit-length of the public key is 2048 bits. For example, you can generate a 2048-bit key, and the resulting PEM file is 1679 bytes long.

The regex pattern used to validate this parameter is a string of characters consisting of the following:

  • Any printable ASCII character ranging from the space character () through the end of the ASCII character range

  • The printable characters in the Basic Latin and Latin-1 Supplement character set (through )

  • The special characters tab (), line feed (), and carriage return ()

Definition at line 140 of file UploadSSHPublicKeyRequest.h.

◆ UserNameHasBeenSet()

bool Aws::IAM::Model::UploadSSHPublicKeyRequest::UserNameHasBeenSet ( ) const
inline

The name of the IAM user to associate the SSH public key with.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 55 of file UploadSSHPublicKeyRequest.h.

◆ WithSSHPublicKeyBody() [1/3]

UploadSSHPublicKeyRequest& Aws::IAM::Model::UploadSSHPublicKeyRequest::WithSSHPublicKeyBody ( const Aws::String value)
inline

The SSH public key. The public key must be encoded in ssh-rsa format or PEM format. The minimum bit-length of the public key is 2048 bits. For example, you can generate a 2048-bit key, and the resulting PEM file is 1679 bytes long.

The regex pattern used to validate this parameter is a string of characters consisting of the following:

  • Any printable ASCII character ranging from the space character () through the end of the ASCII character range

  • The printable characters in the Basic Latin and Latin-1 Supplement character set (through )

  • The special characters tab (), line feed (), and carriage return ()

Definition at line 200 of file UploadSSHPublicKeyRequest.h.

◆ WithSSHPublicKeyBody() [2/3]

UploadSSHPublicKeyRequest& Aws::IAM::Model::UploadSSHPublicKeyRequest::WithSSHPublicKeyBody ( Aws::String &&  value)
inline

The SSH public key. The public key must be encoded in ssh-rsa format or PEM format. The minimum bit-length of the public key is 2048 bits. For example, you can generate a 2048-bit key, and the resulting PEM file is 1679 bytes long.

The regex pattern used to validate this parameter is a string of characters consisting of the following:

  • Any printable ASCII character ranging from the space character () through the end of the ASCII character range

  • The printable characters in the Basic Latin and Latin-1 Supplement character set (through )

  • The special characters tab (), line feed (), and carriage return ()

Definition at line 215 of file UploadSSHPublicKeyRequest.h.

◆ WithSSHPublicKeyBody() [3/3]

UploadSSHPublicKeyRequest& Aws::IAM::Model::UploadSSHPublicKeyRequest::WithSSHPublicKeyBody ( const char *  value)
inline

The SSH public key. The public key must be encoded in ssh-rsa format or PEM format. The minimum bit-length of the public key is 2048 bits. For example, you can generate a 2048-bit key, and the resulting PEM file is 1679 bytes long.

The regex pattern used to validate this parameter is a string of characters consisting of the following:

  • Any printable ASCII character ranging from the space character () through the end of the ASCII character range

  • The printable characters in the Basic Latin and Latin-1 Supplement character set (through )

  • The special characters tab (), line feed (), and carriage return ()

Definition at line 230 of file UploadSSHPublicKeyRequest.h.

◆ WithUserName() [1/3]

UploadSSHPublicKeyRequest& Aws::IAM::Model::UploadSSHPublicKeyRequest::WithUserName ( const Aws::String value)
inline

The name of the IAM user to associate the SSH public key with.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 91 of file UploadSSHPublicKeyRequest.h.

◆ WithUserName() [2/3]

UploadSSHPublicKeyRequest& Aws::IAM::Model::UploadSSHPublicKeyRequest::WithUserName ( Aws::String &&  value)
inline

The name of the IAM user to associate the SSH public key with.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 100 of file UploadSSHPublicKeyRequest.h.

◆ WithUserName() [3/3]

UploadSSHPublicKeyRequest& Aws::IAM::Model::UploadSSHPublicKeyRequest::WithUserName ( const char *  value)
inline

The name of the IAM user to associate the SSH public key with.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 109 of file UploadSSHPublicKeyRequest.h.


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