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

#include <Bundle.h>

Public Member Functions

 Bundle ()
 
 Bundle (Aws::Utils::Json::JsonView jsonValue)
 
Bundleoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
double GetPrice () const
 
bool PriceHasBeenSet () const
 
void SetPrice (double value)
 
BundleWithPrice (double value)
 
int GetCpuCount () const
 
bool CpuCountHasBeenSet () const
 
void SetCpuCount (int value)
 
BundleWithCpuCount (int value)
 
int GetDiskSizeInGb () const
 
bool DiskSizeInGbHasBeenSet () const
 
void SetDiskSizeInGb (int value)
 
BundleWithDiskSizeInGb (int value)
 
const Aws::StringGetBundleId () const
 
bool BundleIdHasBeenSet () const
 
void SetBundleId (const Aws::String &value)
 
void SetBundleId (Aws::String &&value)
 
void SetBundleId (const char *value)
 
BundleWithBundleId (const Aws::String &value)
 
BundleWithBundleId (Aws::String &&value)
 
BundleWithBundleId (const char *value)
 
const Aws::StringGetInstanceType () const
 
bool InstanceTypeHasBeenSet () const
 
void SetInstanceType (const Aws::String &value)
 
void SetInstanceType (Aws::String &&value)
 
void SetInstanceType (const char *value)
 
BundleWithInstanceType (const Aws::String &value)
 
BundleWithInstanceType (Aws::String &&value)
 
BundleWithInstanceType (const char *value)
 
bool GetIsActive () const
 
bool IsActiveHasBeenSet () const
 
void SetIsActive (bool value)
 
BundleWithIsActive (bool value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
BundleWithName (const Aws::String &value)
 
BundleWithName (Aws::String &&value)
 
BundleWithName (const char *value)
 
int GetPower () const
 
bool PowerHasBeenSet () const
 
void SetPower (int value)
 
BundleWithPower (int value)
 
double GetRamSizeInGb () const
 
bool RamSizeInGbHasBeenSet () const
 
void SetRamSizeInGb (double value)
 
BundleWithRamSizeInGb (double value)
 
int GetTransferPerMonthInGb () const
 
bool TransferPerMonthInGbHasBeenSet () const
 
void SetTransferPerMonthInGb (int value)
 
BundleWithTransferPerMonthInGb (int value)
 
const Aws::Vector< InstancePlatform > & GetSupportedPlatforms () const
 
bool SupportedPlatformsHasBeenSet () const
 
void SetSupportedPlatforms (const Aws::Vector< InstancePlatform > &value)
 
void SetSupportedPlatforms (Aws::Vector< InstancePlatform > &&value)
 
BundleWithSupportedPlatforms (const Aws::Vector< InstancePlatform > &value)
 
BundleWithSupportedPlatforms (Aws::Vector< InstancePlatform > &&value)
 
BundleAddSupportedPlatforms (const InstancePlatform &value)
 
BundleAddSupportedPlatforms (InstancePlatform &&value)
 

Detailed Description

Describes a bundle, which is a set of specs describing your virtual private server (or instance).

See Also:

AWS API Reference

Definition at line 34 of file Bundle.h.

Constructor & Destructor Documentation

◆ Bundle() [1/2]

Aws::Lightsail::Model::Bundle::Bundle ( )

◆ Bundle() [2/2]

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

Member Function Documentation

◆ AddSupportedPlatforms() [1/2]

Bundle& Aws::Lightsail::Model::Bundle::AddSupportedPlatforms ( const InstancePlatform value)
inline

The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch a WINDOWS bundle on a blueprint that supports the WINDOWS platform. LINUX_UNIX blueprints require a LINUX_UNIX bundle.

Definition at line 383 of file Bundle.h.

◆ AddSupportedPlatforms() [2/2]

Bundle& Aws::Lightsail::Model::Bundle::AddSupportedPlatforms ( InstancePlatform &&  value)
inline

The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch a WINDOWS bundle on a blueprint that supports the WINDOWS platform. LINUX_UNIX blueprints require a LINUX_UNIX bundle.

Definition at line 391 of file Bundle.h.

◆ BundleIdHasBeenSet()

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

The bundle ID (e.g., micro_1_0).

Definition at line 114 of file Bundle.h.

◆ CpuCountHasBeenSet()

bool Aws::Lightsail::Model::Bundle::CpuCountHasBeenSet ( ) const
inline

The number of vCPUs included in the bundle (e.g., 2).

Definition at line 72 of file Bundle.h.

◆ DiskSizeInGbHasBeenSet()

bool Aws::Lightsail::Model::Bundle::DiskSizeInGbHasBeenSet ( ) const
inline

The size of the SSD (e.g., 30).

Definition at line 93 of file Bundle.h.

◆ GetBundleId()

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

The bundle ID (e.g., micro_1_0).

Definition at line 109 of file Bundle.h.

◆ GetCpuCount()

int Aws::Lightsail::Model::Bundle::GetCpuCount ( ) const
inline

The number of vCPUs included in the bundle (e.g., 2).

Definition at line 67 of file Bundle.h.

◆ GetDiskSizeInGb()

int Aws::Lightsail::Model::Bundle::GetDiskSizeInGb ( ) const
inline

The size of the SSD (e.g., 30).

Definition at line 88 of file Bundle.h.

◆ GetInstanceType()

const Aws::String& Aws::Lightsail::Model::Bundle::GetInstanceType ( ) const
inline

The Amazon EC2 instance type (e.g., t2.micro).

Definition at line 150 of file Bundle.h.

◆ GetIsActive()

bool Aws::Lightsail::Model::Bundle::GetIsActive ( ) const
inline

A Boolean value indicating whether the bundle is active.

Definition at line 191 of file Bundle.h.

◆ GetName()

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

A friendly name for the bundle (e.g., Micro).

Definition at line 212 of file Bundle.h.

◆ GetPower()

int Aws::Lightsail::Model::Bundle::GetPower ( ) const
inline

A numeric value that represents the power of the bundle (e.g., 500). You can use the bundle's power value in conjunction with a blueprint's minimum power value to determine whether the blueprint will run on the bundle. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500.

Definition at line 257 of file Bundle.h.

◆ GetPrice()

double Aws::Lightsail::Model::Bundle::GetPrice ( ) const
inline

The price in US dollars (e.g., 5.0) of the bundle.

Definition at line 46 of file Bundle.h.

◆ GetRamSizeInGb()

double Aws::Lightsail::Model::Bundle::GetRamSizeInGb ( ) const
inline

The amount of RAM in GB (e.g., 2.0).

Definition at line 290 of file Bundle.h.

◆ GetSupportedPlatforms()

const Aws::Vector<InstancePlatform>& Aws::Lightsail::Model::Bundle::GetSupportedPlatforms ( ) const
inline

The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch a WINDOWS bundle on a blueprint that supports the WINDOWS platform. LINUX_UNIX blueprints require a LINUX_UNIX bundle.

Definition at line 335 of file Bundle.h.

◆ GetTransferPerMonthInGb()

int Aws::Lightsail::Model::Bundle::GetTransferPerMonthInGb ( ) const
inline

The data transfer rate per month in GB (e.g., 2000).

Definition at line 311 of file Bundle.h.

◆ InstanceTypeHasBeenSet()

bool Aws::Lightsail::Model::Bundle::InstanceTypeHasBeenSet ( ) const
inline

The Amazon EC2 instance type (e.g., t2.micro).

Definition at line 155 of file Bundle.h.

◆ IsActiveHasBeenSet()

bool Aws::Lightsail::Model::Bundle::IsActiveHasBeenSet ( ) const
inline

A Boolean value indicating whether the bundle is active.

Definition at line 196 of file Bundle.h.

◆ Jsonize()

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

◆ NameHasBeenSet()

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

A friendly name for the bundle (e.g., Micro).

Definition at line 217 of file Bundle.h.

◆ operator=()

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

◆ PowerHasBeenSet()

bool Aws::Lightsail::Model::Bundle::PowerHasBeenSet ( ) const
inline

A numeric value that represents the power of the bundle (e.g., 500). You can use the bundle's power value in conjunction with a blueprint's minimum power value to determine whether the blueprint will run on the bundle. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500.

Definition at line 266 of file Bundle.h.

◆ PriceHasBeenSet()

bool Aws::Lightsail::Model::Bundle::PriceHasBeenSet ( ) const
inline

The price in US dollars (e.g., 5.0) of the bundle.

Definition at line 51 of file Bundle.h.

◆ RamSizeInGbHasBeenSet()

bool Aws::Lightsail::Model::Bundle::RamSizeInGbHasBeenSet ( ) const
inline

The amount of RAM in GB (e.g., 2.0).

Definition at line 295 of file Bundle.h.

◆ SetBundleId() [1/3]

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

The bundle ID (e.g., micro_1_0).

Definition at line 119 of file Bundle.h.

◆ SetBundleId() [2/3]

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

The bundle ID (e.g., micro_1_0).

Definition at line 124 of file Bundle.h.

◆ SetBundleId() [3/3]

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

The bundle ID (e.g., micro_1_0).

Definition at line 129 of file Bundle.h.

◆ SetCpuCount()

void Aws::Lightsail::Model::Bundle::SetCpuCount ( int  value)
inline

The number of vCPUs included in the bundle (e.g., 2).

Definition at line 77 of file Bundle.h.

◆ SetDiskSizeInGb()

void Aws::Lightsail::Model::Bundle::SetDiskSizeInGb ( int  value)
inline

The size of the SSD (e.g., 30).

Definition at line 98 of file Bundle.h.

◆ SetInstanceType() [1/3]

void Aws::Lightsail::Model::Bundle::SetInstanceType ( const Aws::String value)
inline

The Amazon EC2 instance type (e.g., t2.micro).

Definition at line 160 of file Bundle.h.

◆ SetInstanceType() [2/3]

void Aws::Lightsail::Model::Bundle::SetInstanceType ( Aws::String &&  value)
inline

The Amazon EC2 instance type (e.g., t2.micro).

Definition at line 165 of file Bundle.h.

◆ SetInstanceType() [3/3]

void Aws::Lightsail::Model::Bundle::SetInstanceType ( const char *  value)
inline

The Amazon EC2 instance type (e.g., t2.micro).

Definition at line 170 of file Bundle.h.

◆ SetIsActive()

void Aws::Lightsail::Model::Bundle::SetIsActive ( bool  value)
inline

A Boolean value indicating whether the bundle is active.

Definition at line 201 of file Bundle.h.

◆ SetName() [1/3]

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

A friendly name for the bundle (e.g., Micro).

Definition at line 222 of file Bundle.h.

◆ SetName() [2/3]

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

A friendly name for the bundle (e.g., Micro).

Definition at line 227 of file Bundle.h.

◆ SetName() [3/3]

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

A friendly name for the bundle (e.g., Micro).

Definition at line 232 of file Bundle.h.

◆ SetPower()

void Aws::Lightsail::Model::Bundle::SetPower ( int  value)
inline

A numeric value that represents the power of the bundle (e.g., 500). You can use the bundle's power value in conjunction with a blueprint's minimum power value to determine whether the blueprint will run on the bundle. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500.

Definition at line 275 of file Bundle.h.

◆ SetPrice()

void Aws::Lightsail::Model::Bundle::SetPrice ( double  value)
inline

The price in US dollars (e.g., 5.0) of the bundle.

Definition at line 56 of file Bundle.h.

◆ SetRamSizeInGb()

void Aws::Lightsail::Model::Bundle::SetRamSizeInGb ( double  value)
inline

The amount of RAM in GB (e.g., 2.0).

Definition at line 300 of file Bundle.h.

◆ SetSupportedPlatforms() [1/2]

void Aws::Lightsail::Model::Bundle::SetSupportedPlatforms ( const Aws::Vector< InstancePlatform > &  value)
inline

The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch a WINDOWS bundle on a blueprint that supports the WINDOWS platform. LINUX_UNIX blueprints require a LINUX_UNIX bundle.

Definition at line 351 of file Bundle.h.

◆ SetSupportedPlatforms() [2/2]

void Aws::Lightsail::Model::Bundle::SetSupportedPlatforms ( Aws::Vector< InstancePlatform > &&  value)
inline

The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch a WINDOWS bundle on a blueprint that supports the WINDOWS platform. LINUX_UNIX blueprints require a LINUX_UNIX bundle.

Definition at line 359 of file Bundle.h.

◆ SetTransferPerMonthInGb()

void Aws::Lightsail::Model::Bundle::SetTransferPerMonthInGb ( int  value)
inline

The data transfer rate per month in GB (e.g., 2000).

Definition at line 321 of file Bundle.h.

◆ SupportedPlatformsHasBeenSet()

bool Aws::Lightsail::Model::Bundle::SupportedPlatformsHasBeenSet ( ) const
inline

The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch a WINDOWS bundle on a blueprint that supports the WINDOWS platform. LINUX_UNIX blueprints require a LINUX_UNIX bundle.

Definition at line 343 of file Bundle.h.

◆ TransferPerMonthInGbHasBeenSet()

bool Aws::Lightsail::Model::Bundle::TransferPerMonthInGbHasBeenSet ( ) const
inline

The data transfer rate per month in GB (e.g., 2000).

Definition at line 316 of file Bundle.h.

◆ WithBundleId() [1/3]

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

The bundle ID (e.g., micro_1_0).

Definition at line 134 of file Bundle.h.

◆ WithBundleId() [2/3]

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

The bundle ID (e.g., micro_1_0).

Definition at line 139 of file Bundle.h.

◆ WithBundleId() [3/3]

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

The bundle ID (e.g., micro_1_0).

Definition at line 144 of file Bundle.h.

◆ WithCpuCount()

Bundle& Aws::Lightsail::Model::Bundle::WithCpuCount ( int  value)
inline

The number of vCPUs included in the bundle (e.g., 2).

Definition at line 82 of file Bundle.h.

◆ WithDiskSizeInGb()

Bundle& Aws::Lightsail::Model::Bundle::WithDiskSizeInGb ( int  value)
inline

The size of the SSD (e.g., 30).

Definition at line 103 of file Bundle.h.

◆ WithInstanceType() [1/3]

Bundle& Aws::Lightsail::Model::Bundle::WithInstanceType ( const Aws::String value)
inline

The Amazon EC2 instance type (e.g., t2.micro).

Definition at line 175 of file Bundle.h.

◆ WithInstanceType() [2/3]

Bundle& Aws::Lightsail::Model::Bundle::WithInstanceType ( Aws::String &&  value)
inline

The Amazon EC2 instance type (e.g., t2.micro).

Definition at line 180 of file Bundle.h.

◆ WithInstanceType() [3/3]

Bundle& Aws::Lightsail::Model::Bundle::WithInstanceType ( const char *  value)
inline

The Amazon EC2 instance type (e.g., t2.micro).

Definition at line 185 of file Bundle.h.

◆ WithIsActive()

Bundle& Aws::Lightsail::Model::Bundle::WithIsActive ( bool  value)
inline

A Boolean value indicating whether the bundle is active.

Definition at line 206 of file Bundle.h.

◆ WithName() [1/3]

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

A friendly name for the bundle (e.g., Micro).

Definition at line 237 of file Bundle.h.

◆ WithName() [2/3]

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

A friendly name for the bundle (e.g., Micro).

Definition at line 242 of file Bundle.h.

◆ WithName() [3/3]

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

A friendly name for the bundle (e.g., Micro).

Definition at line 247 of file Bundle.h.

◆ WithPower()

Bundle& Aws::Lightsail::Model::Bundle::WithPower ( int  value)
inline

A numeric value that represents the power of the bundle (e.g., 500). You can use the bundle's power value in conjunction with a blueprint's minimum power value to determine whether the blueprint will run on the bundle. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500.

Definition at line 284 of file Bundle.h.

◆ WithPrice()

Bundle& Aws::Lightsail::Model::Bundle::WithPrice ( double  value)
inline

The price in US dollars (e.g., 5.0) of the bundle.

Definition at line 61 of file Bundle.h.

◆ WithRamSizeInGb()

Bundle& Aws::Lightsail::Model::Bundle::WithRamSizeInGb ( double  value)
inline

The amount of RAM in GB (e.g., 2.0).

Definition at line 305 of file Bundle.h.

◆ WithSupportedPlatforms() [1/2]

Bundle& Aws::Lightsail::Model::Bundle::WithSupportedPlatforms ( const Aws::Vector< InstancePlatform > &  value)
inline

The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch a WINDOWS bundle on a blueprint that supports the WINDOWS platform. LINUX_UNIX blueprints require a LINUX_UNIX bundle.

Definition at line 367 of file Bundle.h.

◆ WithSupportedPlatforms() [2/2]

Bundle& Aws::Lightsail::Model::Bundle::WithSupportedPlatforms ( Aws::Vector< InstancePlatform > &&  value)
inline

The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch a WINDOWS bundle on a blueprint that supports the WINDOWS platform. LINUX_UNIX blueprints require a LINUX_UNIX bundle.

Definition at line 375 of file Bundle.h.

◆ WithTransferPerMonthInGb()

Bundle& Aws::Lightsail::Model::Bundle::WithTransferPerMonthInGb ( int  value)
inline

The data transfer rate per month in GB (e.g., 2000).

Definition at line 326 of file Bundle.h.


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