AWS SDK for C++  1.8.93
AWS SDK for C++
Public Member Functions | List of all members
Aws::Lightsail::Model::KeyPair Class Reference

#include <KeyPair.h>

Public Member Functions

 KeyPair ()
 
 KeyPair (Aws::Utils::Json::JsonView jsonValue)
 
KeyPairoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
KeyPairWithName (const Aws::String &value)
 
KeyPairWithName (Aws::String &&value)
 
KeyPairWithName (const char *value)
 
const Aws::StringGetArn () const
 
bool ArnHasBeenSet () const
 
void SetArn (const Aws::String &value)
 
void SetArn (Aws::String &&value)
 
void SetArn (const char *value)
 
KeyPairWithArn (const Aws::String &value)
 
KeyPairWithArn (Aws::String &&value)
 
KeyPairWithArn (const char *value)
 
const Aws::StringGetSupportCode () const
 
bool SupportCodeHasBeenSet () const
 
void SetSupportCode (const Aws::String &value)
 
void SetSupportCode (Aws::String &&value)
 
void SetSupportCode (const char *value)
 
KeyPairWithSupportCode (const Aws::String &value)
 
KeyPairWithSupportCode (Aws::String &&value)
 
KeyPairWithSupportCode (const char *value)
 
const Aws::Utils::DateTimeGetCreatedAt () const
 
bool CreatedAtHasBeenSet () const
 
void SetCreatedAt (const Aws::Utils::DateTime &value)
 
void SetCreatedAt (Aws::Utils::DateTime &&value)
 
KeyPairWithCreatedAt (const Aws::Utils::DateTime &value)
 
KeyPairWithCreatedAt (Aws::Utils::DateTime &&value)
 
const ResourceLocationGetLocation () const
 
bool LocationHasBeenSet () const
 
void SetLocation (const ResourceLocation &value)
 
void SetLocation (ResourceLocation &&value)
 
KeyPairWithLocation (const ResourceLocation &value)
 
KeyPairWithLocation (ResourceLocation &&value)
 
const ResourceTypeGetResourceType () const
 
bool ResourceTypeHasBeenSet () const
 
void SetResourceType (const ResourceType &value)
 
void SetResourceType (ResourceType &&value)
 
KeyPairWithResourceType (const ResourceType &value)
 
KeyPairWithResourceType (ResourceType &&value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
KeyPairWithTags (const Aws::Vector< Tag > &value)
 
KeyPairWithTags (Aws::Vector< Tag > &&value)
 
KeyPairAddTags (const Tag &value)
 
KeyPairAddTags (Tag &&value)
 
const Aws::StringGetFingerprint () const
 
bool FingerprintHasBeenSet () const
 
void SetFingerprint (const Aws::String &value)
 
void SetFingerprint (Aws::String &&value)
 
void SetFingerprint (const char *value)
 
KeyPairWithFingerprint (const Aws::String &value)
 
KeyPairWithFingerprint (Aws::String &&value)
 
KeyPairWithFingerprint (const char *value)
 

Detailed Description

Describes the SSH key pair.

See Also:

AWS API Reference

Definition at line 36 of file KeyPair.h.

Constructor & Destructor Documentation

◆ KeyPair() [1/2]

Aws::Lightsail::Model::KeyPair::KeyPair ( )

◆ KeyPair() [2/2]

Aws::Lightsail::Model::KeyPair::KeyPair ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddTags() [1/2]

KeyPair& Aws::Lightsail::Model::KeyPair::AddTags ( const Tag value)
inline

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

Definition at line 345 of file KeyPair.h.

◆ AddTags() [2/2]

KeyPair& Aws::Lightsail::Model::KeyPair::AddTags ( Tag &&  value)
inline

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

Definition at line 353 of file KeyPair.h.

◆ ArnHasBeenSet()

bool Aws::Lightsail::Model::KeyPair::ArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the key pair (e.g., arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE).

Definition at line 96 of file KeyPair.h.

◆ CreatedAtHasBeenSet()

bool Aws::Lightsail::Model::KeyPair::CreatedAtHasBeenSet ( ) const
inline

The timestamp when the key pair was created (e.g., 1479816991.349).

Definition at line 202 of file KeyPair.h.

◆ FingerprintHasBeenSet()

bool Aws::Lightsail::Model::KeyPair::FingerprintHasBeenSet ( ) const
inline

The RSA fingerprint of the key pair.

Definition at line 364 of file KeyPair.h.

◆ GetArn()

const Aws::String& Aws::Lightsail::Model::KeyPair::GetArn ( ) const
inline

The Amazon Resource Name (ARN) of the key pair (e.g., arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE).

Definition at line 90 of file KeyPair.h.

◆ GetCreatedAt()

const Aws::Utils::DateTime& Aws::Lightsail::Model::KeyPair::GetCreatedAt ( ) const
inline

The timestamp when the key pair was created (e.g., 1479816991.349).

Definition at line 196 of file KeyPair.h.

◆ GetFingerprint()

const Aws::String& Aws::Lightsail::Model::KeyPair::GetFingerprint ( ) const
inline

The RSA fingerprint of the key pair.

Definition at line 359 of file KeyPair.h.

◆ GetLocation()

const ResourceLocation& Aws::Lightsail::Model::KeyPair::GetLocation ( ) const
inline

The region name and Availability Zone where the key pair was created.

Definition at line 232 of file KeyPair.h.

◆ GetName()

const Aws::String& Aws::Lightsail::Model::KeyPair::GetName ( ) const
inline

The friendly name of the SSH key pair.

Definition at line 48 of file KeyPair.h.

◆ GetResourceType()

const ResourceType& Aws::Lightsail::Model::KeyPair::GetResourceType ( ) const
inline

The resource type (usually KeyPair).

Definition at line 263 of file KeyPair.h.

◆ GetSupportCode()

const Aws::String& Aws::Lightsail::Model::KeyPair::GetSupportCode ( ) const
inline

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

Definition at line 140 of file KeyPair.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::Lightsail::Model::KeyPair::GetTags ( ) const
inline

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

Definition at line 297 of file KeyPair.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Lightsail::Model::KeyPair::Jsonize ( ) const

◆ LocationHasBeenSet()

bool Aws::Lightsail::Model::KeyPair::LocationHasBeenSet ( ) const
inline

The region name and Availability Zone where the key pair was created.

Definition at line 237 of file KeyPair.h.

◆ NameHasBeenSet()

bool Aws::Lightsail::Model::KeyPair::NameHasBeenSet ( ) const
inline

The friendly name of the SSH key pair.

Definition at line 53 of file KeyPair.h.

◆ operator=()

KeyPair& Aws::Lightsail::Model::KeyPair::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ ResourceTypeHasBeenSet()

bool Aws::Lightsail::Model::KeyPair::ResourceTypeHasBeenSet ( ) const
inline

The resource type (usually KeyPair).

Definition at line 268 of file KeyPair.h.

◆ SetArn() [1/3]

void Aws::Lightsail::Model::KeyPair::SetArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the key pair (e.g., arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE).

Definition at line 102 of file KeyPair.h.

◆ SetArn() [2/3]

void Aws::Lightsail::Model::KeyPair::SetArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the key pair (e.g., arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE).

Definition at line 108 of file KeyPair.h.

◆ SetArn() [3/3]

void Aws::Lightsail::Model::KeyPair::SetArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the key pair (e.g., arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE).

Definition at line 114 of file KeyPair.h.

◆ SetCreatedAt() [1/2]

void Aws::Lightsail::Model::KeyPair::SetCreatedAt ( const Aws::Utils::DateTime value)
inline

The timestamp when the key pair was created (e.g., 1479816991.349).

Definition at line 208 of file KeyPair.h.

◆ SetCreatedAt() [2/2]

void Aws::Lightsail::Model::KeyPair::SetCreatedAt ( Aws::Utils::DateTime &&  value)
inline

The timestamp when the key pair was created (e.g., 1479816991.349).

Definition at line 214 of file KeyPair.h.

◆ SetFingerprint() [1/3]

void Aws::Lightsail::Model::KeyPair::SetFingerprint ( const Aws::String value)
inline

The RSA fingerprint of the key pair.

Definition at line 369 of file KeyPair.h.

◆ SetFingerprint() [2/3]

void Aws::Lightsail::Model::KeyPair::SetFingerprint ( Aws::String &&  value)
inline

The RSA fingerprint of the key pair.

Definition at line 374 of file KeyPair.h.

◆ SetFingerprint() [3/3]

void Aws::Lightsail::Model::KeyPair::SetFingerprint ( const char *  value)
inline

The RSA fingerprint of the key pair.

Definition at line 379 of file KeyPair.h.

◆ SetLocation() [1/2]

void Aws::Lightsail::Model::KeyPair::SetLocation ( const ResourceLocation value)
inline

The region name and Availability Zone where the key pair was created.

Definition at line 242 of file KeyPair.h.

◆ SetLocation() [2/2]

void Aws::Lightsail::Model::KeyPair::SetLocation ( ResourceLocation &&  value)
inline

The region name and Availability Zone where the key pair was created.

Definition at line 247 of file KeyPair.h.

◆ SetName() [1/3]

void Aws::Lightsail::Model::KeyPair::SetName ( const Aws::String value)
inline

The friendly name of the SSH key pair.

Definition at line 58 of file KeyPair.h.

◆ SetName() [2/3]

void Aws::Lightsail::Model::KeyPair::SetName ( Aws::String &&  value)
inline

The friendly name of the SSH key pair.

Definition at line 63 of file KeyPair.h.

◆ SetName() [3/3]

void Aws::Lightsail::Model::KeyPair::SetName ( const char *  value)
inline

The friendly name of the SSH key pair.

Definition at line 68 of file KeyPair.h.

◆ SetResourceType() [1/2]

void Aws::Lightsail::Model::KeyPair::SetResourceType ( const ResourceType value)
inline

The resource type (usually KeyPair).

Definition at line 273 of file KeyPair.h.

◆ SetResourceType() [2/2]

void Aws::Lightsail::Model::KeyPair::SetResourceType ( ResourceType &&  value)
inline

The resource type (usually KeyPair).

Definition at line 278 of file KeyPair.h.

◆ SetSupportCode() [1/3]

void Aws::Lightsail::Model::KeyPair::SetSupportCode ( const Aws::String value)
inline

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

Definition at line 154 of file KeyPair.h.

◆ SetSupportCode() [2/3]

void Aws::Lightsail::Model::KeyPair::SetSupportCode ( Aws::String &&  value)
inline

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

Definition at line 161 of file KeyPair.h.

◆ SetSupportCode() [3/3]

void Aws::Lightsail::Model::KeyPair::SetSupportCode ( const char *  value)
inline

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

Definition at line 168 of file KeyPair.h.

◆ SetTags() [1/2]

void Aws::Lightsail::Model::KeyPair::SetTags ( const Aws::Vector< Tag > &  value)
inline

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

Definition at line 313 of file KeyPair.h.

◆ SetTags() [2/2]

void Aws::Lightsail::Model::KeyPair::SetTags ( Aws::Vector< Tag > &&  value)
inline

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

Definition at line 321 of file KeyPair.h.

◆ SupportCodeHasBeenSet()

bool Aws::Lightsail::Model::KeyPair::SupportCodeHasBeenSet ( ) const
inline

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

Definition at line 147 of file KeyPair.h.

◆ TagsHasBeenSet()

bool Aws::Lightsail::Model::KeyPair::TagsHasBeenSet ( ) const
inline

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

Definition at line 305 of file KeyPair.h.

◆ WithArn() [1/3]

KeyPair& Aws::Lightsail::Model::KeyPair::WithArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the key pair (e.g., arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE).

Definition at line 120 of file KeyPair.h.

◆ WithArn() [2/3]

KeyPair& Aws::Lightsail::Model::KeyPair::WithArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the key pair (e.g., arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE).

Definition at line 126 of file KeyPair.h.

◆ WithArn() [3/3]

KeyPair& Aws::Lightsail::Model::KeyPair::WithArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the key pair (e.g., arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE).

Definition at line 132 of file KeyPair.h.

◆ WithCreatedAt() [1/2]

KeyPair& Aws::Lightsail::Model::KeyPair::WithCreatedAt ( const Aws::Utils::DateTime value)
inline

The timestamp when the key pair was created (e.g., 1479816991.349).

Definition at line 220 of file KeyPair.h.

◆ WithCreatedAt() [2/2]

KeyPair& Aws::Lightsail::Model::KeyPair::WithCreatedAt ( Aws::Utils::DateTime &&  value)
inline

The timestamp when the key pair was created (e.g., 1479816991.349).

Definition at line 226 of file KeyPair.h.

◆ WithFingerprint() [1/3]

KeyPair& Aws::Lightsail::Model::KeyPair::WithFingerprint ( const Aws::String value)
inline

The RSA fingerprint of the key pair.

Definition at line 384 of file KeyPair.h.

◆ WithFingerprint() [2/3]

KeyPair& Aws::Lightsail::Model::KeyPair::WithFingerprint ( Aws::String &&  value)
inline

The RSA fingerprint of the key pair.

Definition at line 389 of file KeyPair.h.

◆ WithFingerprint() [3/3]

KeyPair& Aws::Lightsail::Model::KeyPair::WithFingerprint ( const char *  value)
inline

The RSA fingerprint of the key pair.

Definition at line 394 of file KeyPair.h.

◆ WithLocation() [1/2]

KeyPair& Aws::Lightsail::Model::KeyPair::WithLocation ( const ResourceLocation value)
inline

The region name and Availability Zone where the key pair was created.

Definition at line 252 of file KeyPair.h.

◆ WithLocation() [2/2]

KeyPair& Aws::Lightsail::Model::KeyPair::WithLocation ( ResourceLocation &&  value)
inline

The region name and Availability Zone where the key pair was created.

Definition at line 257 of file KeyPair.h.

◆ WithName() [1/3]

KeyPair& Aws::Lightsail::Model::KeyPair::WithName ( const Aws::String value)
inline

The friendly name of the SSH key pair.

Definition at line 73 of file KeyPair.h.

◆ WithName() [2/3]

KeyPair& Aws::Lightsail::Model::KeyPair::WithName ( Aws::String &&  value)
inline

The friendly name of the SSH key pair.

Definition at line 78 of file KeyPair.h.

◆ WithName() [3/3]

KeyPair& Aws::Lightsail::Model::KeyPair::WithName ( const char *  value)
inline

The friendly name of the SSH key pair.

Definition at line 83 of file KeyPair.h.

◆ WithResourceType() [1/2]

KeyPair& Aws::Lightsail::Model::KeyPair::WithResourceType ( const ResourceType value)
inline

The resource type (usually KeyPair).

Definition at line 283 of file KeyPair.h.

◆ WithResourceType() [2/2]

KeyPair& Aws::Lightsail::Model::KeyPair::WithResourceType ( ResourceType &&  value)
inline

The resource type (usually KeyPair).

Definition at line 288 of file KeyPair.h.

◆ WithSupportCode() [1/3]

KeyPair& Aws::Lightsail::Model::KeyPair::WithSupportCode ( const Aws::String value)
inline

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

Definition at line 175 of file KeyPair.h.

◆ WithSupportCode() [2/3]

KeyPair& Aws::Lightsail::Model::KeyPair::WithSupportCode ( Aws::String &&  value)
inline

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

Definition at line 182 of file KeyPair.h.

◆ WithSupportCode() [3/3]

KeyPair& Aws::Lightsail::Model::KeyPair::WithSupportCode ( const char *  value)
inline

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

Definition at line 189 of file KeyPair.h.

◆ WithTags() [1/2]

KeyPair& Aws::Lightsail::Model::KeyPair::WithTags ( const Aws::Vector< Tag > &  value)
inline

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

Definition at line 329 of file KeyPair.h.

◆ WithTags() [2/2]

KeyPair& Aws::Lightsail::Model::KeyPair::WithTags ( Aws::Vector< Tag > &&  value)
inline

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

Definition at line 337 of file KeyPair.h.


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