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

#include <Instance.h>

Public Member Functions

 Instance ()
 
 Instance (Aws::Utils::Json::JsonView jsonValue)
 
Instanceoperator= (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)
 
InstanceWithName (const Aws::String &value)
 
InstanceWithName (Aws::String &&value)
 
InstanceWithName (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)
 
InstanceWithArn (const Aws::String &value)
 
InstanceWithArn (Aws::String &&value)
 
InstanceWithArn (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)
 
InstanceWithSupportCode (const Aws::String &value)
 
InstanceWithSupportCode (Aws::String &&value)
 
InstanceWithSupportCode (const char *value)
 
const Aws::Utils::DateTimeGetCreatedAt () const
 
bool CreatedAtHasBeenSet () const
 
void SetCreatedAt (const Aws::Utils::DateTime &value)
 
void SetCreatedAt (Aws::Utils::DateTime &&value)
 
InstanceWithCreatedAt (const Aws::Utils::DateTime &value)
 
InstanceWithCreatedAt (Aws::Utils::DateTime &&value)
 
const ResourceLocationGetLocation () const
 
bool LocationHasBeenSet () const
 
void SetLocation (const ResourceLocation &value)
 
void SetLocation (ResourceLocation &&value)
 
InstanceWithLocation (const ResourceLocation &value)
 
InstanceWithLocation (ResourceLocation &&value)
 
const ResourceTypeGetResourceType () const
 
bool ResourceTypeHasBeenSet () const
 
void SetResourceType (const ResourceType &value)
 
void SetResourceType (ResourceType &&value)
 
InstanceWithResourceType (const ResourceType &value)
 
InstanceWithResourceType (ResourceType &&value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
InstanceWithTags (const Aws::Vector< Tag > &value)
 
InstanceWithTags (Aws::Vector< Tag > &&value)
 
InstanceAddTags (const Tag &value)
 
InstanceAddTags (Tag &&value)
 
const Aws::StringGetBlueprintId () const
 
bool BlueprintIdHasBeenSet () const
 
void SetBlueprintId (const Aws::String &value)
 
void SetBlueprintId (Aws::String &&value)
 
void SetBlueprintId (const char *value)
 
InstanceWithBlueprintId (const Aws::String &value)
 
InstanceWithBlueprintId (Aws::String &&value)
 
InstanceWithBlueprintId (const char *value)
 
const Aws::StringGetBlueprintName () const
 
bool BlueprintNameHasBeenSet () const
 
void SetBlueprintName (const Aws::String &value)
 
void SetBlueprintName (Aws::String &&value)
 
void SetBlueprintName (const char *value)
 
InstanceWithBlueprintName (const Aws::String &value)
 
InstanceWithBlueprintName (Aws::String &&value)
 
InstanceWithBlueprintName (const char *value)
 
const Aws::StringGetBundleId () const
 
bool BundleIdHasBeenSet () const
 
void SetBundleId (const Aws::String &value)
 
void SetBundleId (Aws::String &&value)
 
void SetBundleId (const char *value)
 
InstanceWithBundleId (const Aws::String &value)
 
InstanceWithBundleId (Aws::String &&value)
 
InstanceWithBundleId (const char *value)
 
const Aws::Vector< AddOn > & GetAddOns () const
 
bool AddOnsHasBeenSet () const
 
void SetAddOns (const Aws::Vector< AddOn > &value)
 
void SetAddOns (Aws::Vector< AddOn > &&value)
 
InstanceWithAddOns (const Aws::Vector< AddOn > &value)
 
InstanceWithAddOns (Aws::Vector< AddOn > &&value)
 
InstanceAddAddOns (const AddOn &value)
 
InstanceAddAddOns (AddOn &&value)
 
bool GetIsStaticIp () const
 
bool IsStaticIpHasBeenSet () const
 
void SetIsStaticIp (bool value)
 
InstanceWithIsStaticIp (bool value)
 
const Aws::StringGetPrivateIpAddress () const
 
bool PrivateIpAddressHasBeenSet () const
 
void SetPrivateIpAddress (const Aws::String &value)
 
void SetPrivateIpAddress (Aws::String &&value)
 
void SetPrivateIpAddress (const char *value)
 
InstanceWithPrivateIpAddress (const Aws::String &value)
 
InstanceWithPrivateIpAddress (Aws::String &&value)
 
InstanceWithPrivateIpAddress (const char *value)
 
const Aws::StringGetPublicIpAddress () const
 
bool PublicIpAddressHasBeenSet () const
 
void SetPublicIpAddress (const Aws::String &value)
 
void SetPublicIpAddress (Aws::String &&value)
 
void SetPublicIpAddress (const char *value)
 
InstanceWithPublicIpAddress (const Aws::String &value)
 
InstanceWithPublicIpAddress (Aws::String &&value)
 
InstanceWithPublicIpAddress (const char *value)
 
const Aws::Vector< Aws::String > & GetIpv6Addresses () const
 
bool Ipv6AddressesHasBeenSet () const
 
void SetIpv6Addresses (const Aws::Vector< Aws::String > &value)
 
void SetIpv6Addresses (Aws::Vector< Aws::String > &&value)
 
InstanceWithIpv6Addresses (const Aws::Vector< Aws::String > &value)
 
InstanceWithIpv6Addresses (Aws::Vector< Aws::String > &&value)
 
InstanceAddIpv6Addresses (const Aws::String &value)
 
InstanceAddIpv6Addresses (Aws::String &&value)
 
InstanceAddIpv6Addresses (const char *value)
 
const IpAddressTypeGetIpAddressType () const
 
bool IpAddressTypeHasBeenSet () const
 
void SetIpAddressType (const IpAddressType &value)
 
void SetIpAddressType (IpAddressType &&value)
 
InstanceWithIpAddressType (const IpAddressType &value)
 
InstanceWithIpAddressType (IpAddressType &&value)
 
const InstanceHardwareGetHardware () const
 
bool HardwareHasBeenSet () const
 
void SetHardware (const InstanceHardware &value)
 
void SetHardware (InstanceHardware &&value)
 
InstanceWithHardware (const InstanceHardware &value)
 
InstanceWithHardware (InstanceHardware &&value)
 
const InstanceNetworkingGetNetworking () const
 
bool NetworkingHasBeenSet () const
 
void SetNetworking (const InstanceNetworking &value)
 
void SetNetworking (InstanceNetworking &&value)
 
InstanceWithNetworking (const InstanceNetworking &value)
 
InstanceWithNetworking (InstanceNetworking &&value)
 
const InstanceStateGetState () const
 
bool StateHasBeenSet () const
 
void SetState (const InstanceState &value)
 
void SetState (InstanceState &&value)
 
InstanceWithState (const InstanceState &value)
 
InstanceWithState (InstanceState &&value)
 
const Aws::StringGetUsername () const
 
bool UsernameHasBeenSet () const
 
void SetUsername (const Aws::String &value)
 
void SetUsername (Aws::String &&value)
 
void SetUsername (const char *value)
 
InstanceWithUsername (const Aws::String &value)
 
InstanceWithUsername (Aws::String &&value)
 
InstanceWithUsername (const char *value)
 
const Aws::StringGetSshKeyName () const
 
bool SshKeyNameHasBeenSet () const
 
void SetSshKeyName (const Aws::String &value)
 
void SetSshKeyName (Aws::String &&value)
 
void SetSshKeyName (const char *value)
 
InstanceWithSshKeyName (const Aws::String &value)
 
InstanceWithSshKeyName (Aws::String &&value)
 
InstanceWithSshKeyName (const char *value)
 

Detailed Description

Describes an instance (a virtual private server).

See Also:


AWS API Reference

Definition at line 42 of file Instance.h.

Constructor & Destructor Documentation

◆ Instance() [1/2]

Aws::Lightsail::Model::Instance::Instance ( )

◆ Instance() [2/2]

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

Member Function Documentation

◆ AddAddOns() [1/2]

Instance& Aws::Lightsail::Model::Instance::AddAddOns ( AddOn &&  value)
inline

An array of objects representing the add-ons enabled on the instance.

Definition at line 531 of file Instance.h.

◆ AddAddOns() [2/2]

Instance& Aws::Lightsail::Model::Instance::AddAddOns ( const AddOn value)
inline

An array of objects representing the add-ons enabled on the instance.

Definition at line 526 of file Instance.h.

◆ AddIpv6Addresses() [1/3]

Instance& Aws::Lightsail::Model::Instance::AddIpv6Addresses ( Aws::String &&  value)
inline

The IPv6 addresses of the instance.

Definition at line 679 of file Instance.h.

◆ AddIpv6Addresses() [2/3]

Instance& Aws::Lightsail::Model::Instance::AddIpv6Addresses ( const Aws::String value)
inline

The IPv6 addresses of the instance.

Definition at line 674 of file Instance.h.

◆ AddIpv6Addresses() [3/3]

Instance& Aws::Lightsail::Model::Instance::AddIpv6Addresses ( const char *  value)
inline

The IPv6 addresses of the instance.

Definition at line 684 of file Instance.h.

◆ AddOnsHasBeenSet()

bool Aws::Lightsail::Model::Instance::AddOnsHasBeenSet ( ) const
inline

An array of objects representing the add-ons enabled on the instance.

Definition at line 501 of file Instance.h.

◆ AddTags() [1/2]

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

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

Definition at line 359 of file Instance.h.

◆ AddTags() [2/2]

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

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

Definition at line 367 of file Instance.h.

◆ ArnHasBeenSet()

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

The Amazon Resource Name (ARN) of the instance (e.g., arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE).

Definition at line 110 of file Instance.h.

◆ BlueprintIdHasBeenSet()

bool Aws::Lightsail::Model::Instance::BlueprintIdHasBeenSet ( ) const
inline

The blueprint ID (e.g., os_amlinux_2016_03).

Definition at line 378 of file Instance.h.

◆ BlueprintNameHasBeenSet()

bool Aws::Lightsail::Model::Instance::BlueprintNameHasBeenSet ( ) const
inline

The friendly name of the blueprint (e.g., Amazon Linux).

Definition at line 419 of file Instance.h.

◆ BundleIdHasBeenSet()

bool Aws::Lightsail::Model::Instance::BundleIdHasBeenSet ( ) const
inline

The bundle for the instance (e.g., micro_1_0).

Definition at line 460 of file Instance.h.

◆ CreatedAtHasBeenSet()

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

The timestamp when the instance was created (e.g., 1479734909.17) in Unix time format.

Definition at line 216 of file Instance.h.

◆ GetAddOns()

const Aws::Vector<AddOn>& Aws::Lightsail::Model::Instance::GetAddOns ( ) const
inline

An array of objects representing the add-ons enabled on the instance.

Definition at line 496 of file Instance.h.

◆ GetArn()

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

The Amazon Resource Name (ARN) of the instance (e.g., arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE).

Definition at line 104 of file Instance.h.

◆ GetBlueprintId()

const Aws::String& Aws::Lightsail::Model::Instance::GetBlueprintId ( ) const
inline

The blueprint ID (e.g., os_amlinux_2016_03).

Definition at line 373 of file Instance.h.

◆ GetBlueprintName()

const Aws::String& Aws::Lightsail::Model::Instance::GetBlueprintName ( ) const
inline

The friendly name of the blueprint (e.g., Amazon Linux).

Definition at line 414 of file Instance.h.

◆ GetBundleId()

const Aws::String& Aws::Lightsail::Model::Instance::GetBundleId ( ) const
inline

The bundle for the instance (e.g., micro_1_0).

Definition at line 455 of file Instance.h.

◆ GetCreatedAt()

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

The timestamp when the instance was created (e.g., 1479734909.17) in Unix time format.

Definition at line 210 of file Instance.h.

◆ GetHardware()

const InstanceHardware& Aws::Lightsail::Model::Instance::GetHardware ( ) const
inline

The size of the vCPU and the amount of RAM for the instance.

Definition at line 733 of file Instance.h.

◆ GetIpAddressType()

const IpAddressType& Aws::Lightsail::Model::Instance::GetIpAddressType ( ) const
inline

The IP address type of the instance.

The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.

Definition at line 692 of file Instance.h.

◆ GetIpv6Addresses()

const Aws::Vector<Aws::String>& Aws::Lightsail::Model::Instance::GetIpv6Addresses ( ) const
inline

The IPv6 addresses of the instance.

Definition at line 644 of file Instance.h.

◆ GetIsStaticIp()

bool Aws::Lightsail::Model::Instance::GetIsStaticIp ( ) const
inline

A Boolean value indicating whether this instance has a static IP assigned to it.

Definition at line 538 of file Instance.h.

◆ GetLocation()

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

The region name and Availability Zone where the instance is located.

Definition at line 246 of file Instance.h.

◆ GetName()

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

The name the user gave the instance (e.g., Amazon_Linux-1GB-Ohio-1).

Definition at line 55 of file Instance.h.

◆ GetNetworking()

const InstanceNetworking& Aws::Lightsail::Model::Instance::GetNetworking ( ) const
inline

Information about the public ports and monthly data transfer rates for the instance.

Definition at line 765 of file Instance.h.

◆ GetPrivateIpAddress()

const Aws::String& Aws::Lightsail::Model::Instance::GetPrivateIpAddress ( ) const
inline

The private IP address of the instance.

Definition at line 562 of file Instance.h.

◆ GetPublicIpAddress()

const Aws::String& Aws::Lightsail::Model::Instance::GetPublicIpAddress ( ) const
inline

The public IP address of the instance.

Definition at line 603 of file Instance.h.

◆ GetResourceType()

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

The type of resource (usually Instance).

Definition at line 277 of file Instance.h.

◆ GetSshKeyName()

const Aws::String& Aws::Lightsail::Model::Instance::GetSshKeyName ( ) const
inline

The name of the SSH key being used to connect to the instance (e.g., LightsailDefaultKeyPair).

Definition at line 888 of file Instance.h.

◆ GetState()

const InstanceState& Aws::Lightsail::Model::Instance::GetState ( ) const
inline

The status code and the state (e.g., running) for the instance.

Definition at line 802 of file Instance.h.

◆ GetSupportCode()

const Aws::String& Aws::Lightsail::Model::Instance::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 154 of file Instance.h.

◆ GetTags()

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

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

Definition at line 311 of file Instance.h.

◆ GetUsername()

const Aws::String& Aws::Lightsail::Model::Instance::GetUsername ( ) const
inline

The user name for connecting to the instance (e.g., ec2-user).

Definition at line 839 of file Instance.h.

◆ HardwareHasBeenSet()

bool Aws::Lightsail::Model::Instance::HardwareHasBeenSet ( ) const
inline

The size of the vCPU and the amount of RAM for the instance.

Definition at line 738 of file Instance.h.

◆ IpAddressTypeHasBeenSet()

bool Aws::Lightsail::Model::Instance::IpAddressTypeHasBeenSet ( ) const
inline

The IP address type of the instance.

The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.

Definition at line 699 of file Instance.h.

◆ Ipv6AddressesHasBeenSet()

bool Aws::Lightsail::Model::Instance::Ipv6AddressesHasBeenSet ( ) const
inline

The IPv6 addresses of the instance.

Definition at line 649 of file Instance.h.

◆ IsStaticIpHasBeenSet()

bool Aws::Lightsail::Model::Instance::IsStaticIpHasBeenSet ( ) const
inline

A Boolean value indicating whether this instance has a static IP assigned to it.

Definition at line 544 of file Instance.h.

◆ Jsonize()

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

◆ LocationHasBeenSet()

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

The region name and Availability Zone where the instance is located.

Definition at line 251 of file Instance.h.

◆ NameHasBeenSet()

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

The name the user gave the instance (e.g., Amazon_Linux-1GB-Ohio-1).

Definition at line 61 of file Instance.h.

◆ NetworkingHasBeenSet()

bool Aws::Lightsail::Model::Instance::NetworkingHasBeenSet ( ) const
inline

Information about the public ports and monthly data transfer rates for the instance.

Definition at line 771 of file Instance.h.

◆ operator=()

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

◆ PrivateIpAddressHasBeenSet()

bool Aws::Lightsail::Model::Instance::PrivateIpAddressHasBeenSet ( ) const
inline

The private IP address of the instance.

Definition at line 567 of file Instance.h.

◆ PublicIpAddressHasBeenSet()

bool Aws::Lightsail::Model::Instance::PublicIpAddressHasBeenSet ( ) const
inline

The public IP address of the instance.

Definition at line 608 of file Instance.h.

◆ ResourceTypeHasBeenSet()

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

The type of resource (usually Instance).

Definition at line 282 of file Instance.h.

◆ SetAddOns() [1/2]

void Aws::Lightsail::Model::Instance::SetAddOns ( Aws::Vector< AddOn > &&  value)
inline

An array of objects representing the add-ons enabled on the instance.

Definition at line 511 of file Instance.h.

◆ SetAddOns() [2/2]

void Aws::Lightsail::Model::Instance::SetAddOns ( const Aws::Vector< AddOn > &  value)
inline

An array of objects representing the add-ons enabled on the instance.

Definition at line 506 of file Instance.h.

◆ SetArn() [1/3]

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

The Amazon Resource Name (ARN) of the instance (e.g., arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE).

Definition at line 122 of file Instance.h.

◆ SetArn() [2/3]

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

The Amazon Resource Name (ARN) of the instance (e.g., arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE).

Definition at line 116 of file Instance.h.

◆ SetArn() [3/3]

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

The Amazon Resource Name (ARN) of the instance (e.g., arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE).

Definition at line 128 of file Instance.h.

◆ SetBlueprintId() [1/3]

void Aws::Lightsail::Model::Instance::SetBlueprintId ( Aws::String &&  value)
inline

The blueprint ID (e.g., os_amlinux_2016_03).

Definition at line 388 of file Instance.h.

◆ SetBlueprintId() [2/3]

void Aws::Lightsail::Model::Instance::SetBlueprintId ( const Aws::String value)
inline

The blueprint ID (e.g., os_amlinux_2016_03).

Definition at line 383 of file Instance.h.

◆ SetBlueprintId() [3/3]

void Aws::Lightsail::Model::Instance::SetBlueprintId ( const char *  value)
inline

The blueprint ID (e.g., os_amlinux_2016_03).

Definition at line 393 of file Instance.h.

◆ SetBlueprintName() [1/3]

void Aws::Lightsail::Model::Instance::SetBlueprintName ( Aws::String &&  value)
inline

The friendly name of the blueprint (e.g., Amazon Linux).

Definition at line 429 of file Instance.h.

◆ SetBlueprintName() [2/3]

void Aws::Lightsail::Model::Instance::SetBlueprintName ( const Aws::String value)
inline

The friendly name of the blueprint (e.g., Amazon Linux).

Definition at line 424 of file Instance.h.

◆ SetBlueprintName() [3/3]

void Aws::Lightsail::Model::Instance::SetBlueprintName ( const char *  value)
inline

The friendly name of the blueprint (e.g., Amazon Linux).

Definition at line 434 of file Instance.h.

◆ SetBundleId() [1/3]

void Aws::Lightsail::Model::Instance::SetBundleId ( Aws::String &&  value)
inline

The bundle for the instance (e.g., micro_1_0).

Definition at line 470 of file Instance.h.

◆ SetBundleId() [2/3]

void Aws::Lightsail::Model::Instance::SetBundleId ( const Aws::String value)
inline

The bundle for the instance (e.g., micro_1_0).

Definition at line 465 of file Instance.h.

◆ SetBundleId() [3/3]

void Aws::Lightsail::Model::Instance::SetBundleId ( const char *  value)
inline

The bundle for the instance (e.g., micro_1_0).

Definition at line 475 of file Instance.h.

◆ SetCreatedAt() [1/2]

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

The timestamp when the instance was created (e.g., 1479734909.17) in Unix time format.

Definition at line 228 of file Instance.h.

◆ SetCreatedAt() [2/2]

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

The timestamp when the instance was created (e.g., 1479734909.17) in Unix time format.

Definition at line 222 of file Instance.h.

◆ SetHardware() [1/2]

void Aws::Lightsail::Model::Instance::SetHardware ( const InstanceHardware value)
inline

The size of the vCPU and the amount of RAM for the instance.

Definition at line 743 of file Instance.h.

◆ SetHardware() [2/2]

void Aws::Lightsail::Model::Instance::SetHardware ( InstanceHardware &&  value)
inline

The size of the vCPU and the amount of RAM for the instance.

Definition at line 748 of file Instance.h.

◆ SetIpAddressType() [1/2]

void Aws::Lightsail::Model::Instance::SetIpAddressType ( const IpAddressType value)
inline

The IP address type of the instance.

The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.

Definition at line 706 of file Instance.h.

◆ SetIpAddressType() [2/2]

void Aws::Lightsail::Model::Instance::SetIpAddressType ( IpAddressType &&  value)
inline

The IP address type of the instance.

The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.

Definition at line 713 of file Instance.h.

◆ SetIpv6Addresses() [1/2]

void Aws::Lightsail::Model::Instance::SetIpv6Addresses ( Aws::Vector< Aws::String > &&  value)
inline

The IPv6 addresses of the instance.

Definition at line 659 of file Instance.h.

◆ SetIpv6Addresses() [2/2]

void Aws::Lightsail::Model::Instance::SetIpv6Addresses ( const Aws::Vector< Aws::String > &  value)
inline

The IPv6 addresses of the instance.

Definition at line 654 of file Instance.h.

◆ SetIsStaticIp()

void Aws::Lightsail::Model::Instance::SetIsStaticIp ( bool  value)
inline

A Boolean value indicating whether this instance has a static IP assigned to it.

Definition at line 550 of file Instance.h.

◆ SetLocation() [1/2]

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

The region name and Availability Zone where the instance is located.

Definition at line 256 of file Instance.h.

◆ SetLocation() [2/2]

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

The region name and Availability Zone where the instance is located.

Definition at line 261 of file Instance.h.

◆ SetName() [1/3]

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

The name the user gave the instance (e.g., Amazon_Linux-1GB-Ohio-1).

Definition at line 73 of file Instance.h.

◆ SetName() [2/3]

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

The name the user gave the instance (e.g., Amazon_Linux-1GB-Ohio-1).

Definition at line 67 of file Instance.h.

◆ SetName() [3/3]

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

The name the user gave the instance (e.g., Amazon_Linux-1GB-Ohio-1).

Definition at line 79 of file Instance.h.

◆ SetNetworking() [1/2]

void Aws::Lightsail::Model::Instance::SetNetworking ( const InstanceNetworking value)
inline

Information about the public ports and monthly data transfer rates for the instance.

Definition at line 777 of file Instance.h.

◆ SetNetworking() [2/2]

void Aws::Lightsail::Model::Instance::SetNetworking ( InstanceNetworking &&  value)
inline

Information about the public ports and monthly data transfer rates for the instance.

Definition at line 783 of file Instance.h.

◆ SetPrivateIpAddress() [1/3]

void Aws::Lightsail::Model::Instance::SetPrivateIpAddress ( Aws::String &&  value)
inline

The private IP address of the instance.

Definition at line 577 of file Instance.h.

◆ SetPrivateIpAddress() [2/3]

void Aws::Lightsail::Model::Instance::SetPrivateIpAddress ( const Aws::String value)
inline

The private IP address of the instance.

Definition at line 572 of file Instance.h.

◆ SetPrivateIpAddress() [3/3]

void Aws::Lightsail::Model::Instance::SetPrivateIpAddress ( const char *  value)
inline

The private IP address of the instance.

Definition at line 582 of file Instance.h.

◆ SetPublicIpAddress() [1/3]

void Aws::Lightsail::Model::Instance::SetPublicIpAddress ( Aws::String &&  value)
inline

The public IP address of the instance.

Definition at line 618 of file Instance.h.

◆ SetPublicIpAddress() [2/3]

void Aws::Lightsail::Model::Instance::SetPublicIpAddress ( const Aws::String value)
inline

The public IP address of the instance.

Definition at line 613 of file Instance.h.

◆ SetPublicIpAddress() [3/3]

void Aws::Lightsail::Model::Instance::SetPublicIpAddress ( const char *  value)
inline

The public IP address of the instance.

Definition at line 623 of file Instance.h.

◆ SetResourceType() [1/2]

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

The type of resource (usually Instance).

Definition at line 287 of file Instance.h.

◆ SetResourceType() [2/2]

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

The type of resource (usually Instance).

Definition at line 292 of file Instance.h.

◆ SetSshKeyName() [1/3]

void Aws::Lightsail::Model::Instance::SetSshKeyName ( Aws::String &&  value)
inline

The name of the SSH key being used to connect to the instance (e.g., LightsailDefaultKeyPair).

Definition at line 906 of file Instance.h.

◆ SetSshKeyName() [2/3]

void Aws::Lightsail::Model::Instance::SetSshKeyName ( const Aws::String value)
inline

The name of the SSH key being used to connect to the instance (e.g., LightsailDefaultKeyPair).

Definition at line 900 of file Instance.h.

◆ SetSshKeyName() [3/3]

void Aws::Lightsail::Model::Instance::SetSshKeyName ( const char *  value)
inline

The name of the SSH key being used to connect to the instance (e.g., LightsailDefaultKeyPair).

Definition at line 912 of file Instance.h.

◆ SetState() [1/2]

void Aws::Lightsail::Model::Instance::SetState ( const InstanceState value)
inline

The status code and the state (e.g., running) for the instance.

Definition at line 814 of file Instance.h.

◆ SetState() [2/2]

void Aws::Lightsail::Model::Instance::SetState ( InstanceState &&  value)
inline

The status code and the state (e.g., running) for the instance.

Definition at line 820 of file Instance.h.

◆ SetSupportCode() [1/3]

void Aws::Lightsail::Model::Instance::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 175 of file Instance.h.

◆ SetSupportCode() [2/3]

void Aws::Lightsail::Model::Instance::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 168 of file Instance.h.

◆ SetSupportCode() [3/3]

void Aws::Lightsail::Model::Instance::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 182 of file Instance.h.

◆ SetTags() [1/2]

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

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

Definition at line 335 of file Instance.h.

◆ SetTags() [2/2]

void Aws::Lightsail::Model::Instance::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 Amazon Lightsail Developer Guide.

Definition at line 327 of file Instance.h.

◆ SetUsername() [1/3]

void Aws::Lightsail::Model::Instance::SetUsername ( Aws::String &&  value)
inline

The user name for connecting to the instance (e.g., ec2-user).

Definition at line 857 of file Instance.h.

◆ SetUsername() [2/3]

void Aws::Lightsail::Model::Instance::SetUsername ( const Aws::String value)
inline

The user name for connecting to the instance (e.g., ec2-user).

Definition at line 851 of file Instance.h.

◆ SetUsername() [3/3]

void Aws::Lightsail::Model::Instance::SetUsername ( const char *  value)
inline

The user name for connecting to the instance (e.g., ec2-user).

Definition at line 863 of file Instance.h.

◆ SshKeyNameHasBeenSet()

bool Aws::Lightsail::Model::Instance::SshKeyNameHasBeenSet ( ) const
inline

The name of the SSH key being used to connect to the instance (e.g., LightsailDefaultKeyPair).

Definition at line 894 of file Instance.h.

◆ StateHasBeenSet()

bool Aws::Lightsail::Model::Instance::StateHasBeenSet ( ) const
inline

The status code and the state (e.g., running) for the instance.

Definition at line 808 of file Instance.h.

◆ SupportCodeHasBeenSet()

bool Aws::Lightsail::Model::Instance::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 161 of file Instance.h.

◆ TagsHasBeenSet()

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

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

Definition at line 319 of file Instance.h.

◆ UsernameHasBeenSet()

bool Aws::Lightsail::Model::Instance::UsernameHasBeenSet ( ) const
inline

The user name for connecting to the instance (e.g., ec2-user).

Definition at line 845 of file Instance.h.

◆ WithAddOns() [1/2]

Instance& Aws::Lightsail::Model::Instance::WithAddOns ( Aws::Vector< AddOn > &&  value)
inline

An array of objects representing the add-ons enabled on the instance.

Definition at line 521 of file Instance.h.

◆ WithAddOns() [2/2]

Instance& Aws::Lightsail::Model::Instance::WithAddOns ( const Aws::Vector< AddOn > &  value)
inline

An array of objects representing the add-ons enabled on the instance.

Definition at line 516 of file Instance.h.

◆ WithArn() [1/3]

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

The Amazon Resource Name (ARN) of the instance (e.g., arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE).

Definition at line 140 of file Instance.h.

◆ WithArn() [2/3]

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

The Amazon Resource Name (ARN) of the instance (e.g., arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE).

Definition at line 134 of file Instance.h.

◆ WithArn() [3/3]

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

The Amazon Resource Name (ARN) of the instance (e.g., arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE).

Definition at line 146 of file Instance.h.

◆ WithBlueprintId() [1/3]

Instance& Aws::Lightsail::Model::Instance::WithBlueprintId ( Aws::String &&  value)
inline

The blueprint ID (e.g., os_amlinux_2016_03).

Definition at line 403 of file Instance.h.

◆ WithBlueprintId() [2/3]

Instance& Aws::Lightsail::Model::Instance::WithBlueprintId ( const Aws::String value)
inline

The blueprint ID (e.g., os_amlinux_2016_03).

Definition at line 398 of file Instance.h.

◆ WithBlueprintId() [3/3]

Instance& Aws::Lightsail::Model::Instance::WithBlueprintId ( const char *  value)
inline

The blueprint ID (e.g., os_amlinux_2016_03).

Definition at line 408 of file Instance.h.

◆ WithBlueprintName() [1/3]

Instance& Aws::Lightsail::Model::Instance::WithBlueprintName ( Aws::String &&  value)
inline

The friendly name of the blueprint (e.g., Amazon Linux).

Definition at line 444 of file Instance.h.

◆ WithBlueprintName() [2/3]

Instance& Aws::Lightsail::Model::Instance::WithBlueprintName ( const Aws::String value)
inline

The friendly name of the blueprint (e.g., Amazon Linux).

Definition at line 439 of file Instance.h.

◆ WithBlueprintName() [3/3]

Instance& Aws::Lightsail::Model::Instance::WithBlueprintName ( const char *  value)
inline

The friendly name of the blueprint (e.g., Amazon Linux).

Definition at line 449 of file Instance.h.

◆ WithBundleId() [1/3]

Instance& Aws::Lightsail::Model::Instance::WithBundleId ( Aws::String &&  value)
inline

The bundle for the instance (e.g., micro_1_0).

Definition at line 485 of file Instance.h.

◆ WithBundleId() [2/3]

Instance& Aws::Lightsail::Model::Instance::WithBundleId ( const Aws::String value)
inline

The bundle for the instance (e.g., micro_1_0).

Definition at line 480 of file Instance.h.

◆ WithBundleId() [3/3]

Instance& Aws::Lightsail::Model::Instance::WithBundleId ( const char *  value)
inline

The bundle for the instance (e.g., micro_1_0).

Definition at line 490 of file Instance.h.

◆ WithCreatedAt() [1/2]

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

The timestamp when the instance was created (e.g., 1479734909.17) in Unix time format.

Definition at line 240 of file Instance.h.

◆ WithCreatedAt() [2/2]

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

The timestamp when the instance was created (e.g., 1479734909.17) in Unix time format.

Definition at line 234 of file Instance.h.

◆ WithHardware() [1/2]

Instance& Aws::Lightsail::Model::Instance::WithHardware ( const InstanceHardware value)
inline

The size of the vCPU and the amount of RAM for the instance.

Definition at line 753 of file Instance.h.

◆ WithHardware() [2/2]

Instance& Aws::Lightsail::Model::Instance::WithHardware ( InstanceHardware &&  value)
inline

The size of the vCPU and the amount of RAM for the instance.

Definition at line 758 of file Instance.h.

◆ WithIpAddressType() [1/2]

Instance& Aws::Lightsail::Model::Instance::WithIpAddressType ( const IpAddressType value)
inline

The IP address type of the instance.

The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.

Definition at line 720 of file Instance.h.

◆ WithIpAddressType() [2/2]

Instance& Aws::Lightsail::Model::Instance::WithIpAddressType ( IpAddressType &&  value)
inline

The IP address type of the instance.

The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.

Definition at line 727 of file Instance.h.

◆ WithIpv6Addresses() [1/2]

Instance& Aws::Lightsail::Model::Instance::WithIpv6Addresses ( Aws::Vector< Aws::String > &&  value)
inline

The IPv6 addresses of the instance.

Definition at line 669 of file Instance.h.

◆ WithIpv6Addresses() [2/2]

Instance& Aws::Lightsail::Model::Instance::WithIpv6Addresses ( const Aws::Vector< Aws::String > &  value)
inline

The IPv6 addresses of the instance.

Definition at line 664 of file Instance.h.

◆ WithIsStaticIp()

Instance& Aws::Lightsail::Model::Instance::WithIsStaticIp ( bool  value)
inline

A Boolean value indicating whether this instance has a static IP assigned to it.

Definition at line 556 of file Instance.h.

◆ WithLocation() [1/2]

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

The region name and Availability Zone where the instance is located.

Definition at line 266 of file Instance.h.

◆ WithLocation() [2/2]

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

The region name and Availability Zone where the instance is located.

Definition at line 271 of file Instance.h.

◆ WithName() [1/3]

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

The name the user gave the instance (e.g., Amazon_Linux-1GB-Ohio-1).

Definition at line 91 of file Instance.h.

◆ WithName() [2/3]

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

The name the user gave the instance (e.g., Amazon_Linux-1GB-Ohio-1).

Definition at line 85 of file Instance.h.

◆ WithName() [3/3]

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

The name the user gave the instance (e.g., Amazon_Linux-1GB-Ohio-1).

Definition at line 97 of file Instance.h.

◆ WithNetworking() [1/2]

Instance& Aws::Lightsail::Model::Instance::WithNetworking ( const InstanceNetworking value)
inline

Information about the public ports and monthly data transfer rates for the instance.

Definition at line 789 of file Instance.h.

◆ WithNetworking() [2/2]

Instance& Aws::Lightsail::Model::Instance::WithNetworking ( InstanceNetworking &&  value)
inline

Information about the public ports and monthly data transfer rates for the instance.

Definition at line 795 of file Instance.h.

◆ WithPrivateIpAddress() [1/3]

Instance& Aws::Lightsail::Model::Instance::WithPrivateIpAddress ( Aws::String &&  value)
inline

The private IP address of the instance.

Definition at line 592 of file Instance.h.

◆ WithPrivateIpAddress() [2/3]

Instance& Aws::Lightsail::Model::Instance::WithPrivateIpAddress ( const Aws::String value)
inline

The private IP address of the instance.

Definition at line 587 of file Instance.h.

◆ WithPrivateIpAddress() [3/3]

Instance& Aws::Lightsail::Model::Instance::WithPrivateIpAddress ( const char *  value)
inline

The private IP address of the instance.

Definition at line 597 of file Instance.h.

◆ WithPublicIpAddress() [1/3]

Instance& Aws::Lightsail::Model::Instance::WithPublicIpAddress ( Aws::String &&  value)
inline

The public IP address of the instance.

Definition at line 633 of file Instance.h.

◆ WithPublicIpAddress() [2/3]

Instance& Aws::Lightsail::Model::Instance::WithPublicIpAddress ( const Aws::String value)
inline

The public IP address of the instance.

Definition at line 628 of file Instance.h.

◆ WithPublicIpAddress() [3/3]

Instance& Aws::Lightsail::Model::Instance::WithPublicIpAddress ( const char *  value)
inline

The public IP address of the instance.

Definition at line 638 of file Instance.h.

◆ WithResourceType() [1/2]

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

The type of resource (usually Instance).

Definition at line 297 of file Instance.h.

◆ WithResourceType() [2/2]

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

The type of resource (usually Instance).

Definition at line 302 of file Instance.h.

◆ WithSshKeyName() [1/3]

Instance& Aws::Lightsail::Model::Instance::WithSshKeyName ( Aws::String &&  value)
inline

The name of the SSH key being used to connect to the instance (e.g., LightsailDefaultKeyPair).

Definition at line 924 of file Instance.h.

◆ WithSshKeyName() [2/3]

Instance& Aws::Lightsail::Model::Instance::WithSshKeyName ( const Aws::String value)
inline

The name of the SSH key being used to connect to the instance (e.g., LightsailDefaultKeyPair).

Definition at line 918 of file Instance.h.

◆ WithSshKeyName() [3/3]

Instance& Aws::Lightsail::Model::Instance::WithSshKeyName ( const char *  value)
inline

The name of the SSH key being used to connect to the instance (e.g., LightsailDefaultKeyPair).

Definition at line 930 of file Instance.h.

◆ WithState() [1/2]

Instance& Aws::Lightsail::Model::Instance::WithState ( const InstanceState value)
inline

The status code and the state (e.g., running) for the instance.

Definition at line 826 of file Instance.h.

◆ WithState() [2/2]

Instance& Aws::Lightsail::Model::Instance::WithState ( InstanceState &&  value)
inline

The status code and the state (e.g., running) for the instance.

Definition at line 832 of file Instance.h.

◆ WithSupportCode() [1/3]

Instance& Aws::Lightsail::Model::Instance::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 196 of file Instance.h.

◆ WithSupportCode() [2/3]

Instance& Aws::Lightsail::Model::Instance::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 189 of file Instance.h.

◆ WithSupportCode() [3/3]

Instance& Aws::Lightsail::Model::Instance::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 203 of file Instance.h.

◆ WithTags() [1/2]

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

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

Definition at line 351 of file Instance.h.

◆ WithTags() [2/2]

Instance& Aws::Lightsail::Model::Instance::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 Amazon Lightsail Developer Guide.

Definition at line 343 of file Instance.h.

◆ WithUsername() [1/3]

Instance& Aws::Lightsail::Model::Instance::WithUsername ( Aws::String &&  value)
inline

The user name for connecting to the instance (e.g., ec2-user).

Definition at line 875 of file Instance.h.

◆ WithUsername() [2/3]

Instance& Aws::Lightsail::Model::Instance::WithUsername ( const Aws::String value)
inline

The user name for connecting to the instance (e.g., ec2-user).

Definition at line 869 of file Instance.h.

◆ WithUsername() [3/3]

Instance& Aws::Lightsail::Model::Instance::WithUsername ( const char *  value)
inline

The user name for connecting to the instance (e.g., ec2-user).

Definition at line 881 of file Instance.h.


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