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

#include <ContainerServicePower.h>

Public Member Functions

 ContainerServicePower ()
 
 ContainerServicePower (Aws::Utils::Json::JsonView jsonValue)
 
ContainerServicePoweroperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetPowerId () const
 
bool PowerIdHasBeenSet () const
 
void SetPowerId (const Aws::String &value)
 
void SetPowerId (Aws::String &&value)
 
void SetPowerId (const char *value)
 
ContainerServicePowerWithPowerId (const Aws::String &value)
 
ContainerServicePowerWithPowerId (Aws::String &&value)
 
ContainerServicePowerWithPowerId (const char *value)
 
double GetPrice () const
 
bool PriceHasBeenSet () const
 
void SetPrice (double value)
 
ContainerServicePowerWithPrice (double value)
 
double GetCpuCount () const
 
bool CpuCountHasBeenSet () const
 
void SetCpuCount (double value)
 
ContainerServicePowerWithCpuCount (double value)
 
double GetRamSizeInGb () const
 
bool RamSizeInGbHasBeenSet () const
 
void SetRamSizeInGb (double value)
 
ContainerServicePowerWithRamSizeInGb (double value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
ContainerServicePowerWithName (const Aws::String &value)
 
ContainerServicePowerWithName (Aws::String &&value)
 
ContainerServicePowerWithName (const char *value)
 
bool GetIsActive () const
 
bool IsActiveHasBeenSet () const
 
void SetIsActive (bool value)
 
ContainerServicePowerWithIsActive (bool value)
 

Detailed Description

Describes the powers that can be specified for an Amazon Lightsail container service.

The power specifies the amount of RAM, the number of vCPUs, and the base price of the container service.

See Also:

AWS API Reference

Definition at line 33 of file ContainerServicePower.h.

Constructor & Destructor Documentation

◆ ContainerServicePower() [1/2]

Aws::Lightsail::Model::ContainerServicePower::ContainerServicePower ( )

◆ ContainerServicePower() [2/2]

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

Member Function Documentation

◆ CpuCountHasBeenSet()

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

The number of vCPUs included in the power.

Definition at line 112 of file ContainerServicePower.h.

◆ GetCpuCount()

double Aws::Lightsail::Model::ContainerServicePower::GetCpuCount ( ) const
inline

The number of vCPUs included in the power.

Definition at line 107 of file ContainerServicePower.h.

◆ GetIsActive()

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

A Boolean value indicating whether the power is active and can be specified for container services.

Definition at line 191 of file ContainerServicePower.h.

◆ GetName()

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

The friendly name of the power (e.g., nano).

Definition at line 149 of file ContainerServicePower.h.

◆ GetPowerId()

const Aws::String& Aws::Lightsail::Model::ContainerServicePower::GetPowerId ( ) const
inline

The ID of the power (e.g., nano-1).

Definition at line 45 of file ContainerServicePower.h.

◆ GetPrice()

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

The monthly price of the power in USD.

Definition at line 86 of file ContainerServicePower.h.

◆ GetRamSizeInGb()

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

The amount of RAM (in GB) of the power.

Definition at line 128 of file ContainerServicePower.h.

◆ IsActiveHasBeenSet()

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

A Boolean value indicating whether the power is active and can be specified for container services.

Definition at line 197 of file ContainerServicePower.h.

◆ Jsonize()

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

◆ NameHasBeenSet()

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

The friendly name of the power (e.g., nano).

Definition at line 154 of file ContainerServicePower.h.

◆ operator=()

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

◆ PowerIdHasBeenSet()

bool Aws::Lightsail::Model::ContainerServicePower::PowerIdHasBeenSet ( ) const
inline

The ID of the power (e.g., nano-1).

Definition at line 50 of file ContainerServicePower.h.

◆ PriceHasBeenSet()

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

The monthly price of the power in USD.

Definition at line 91 of file ContainerServicePower.h.

◆ RamSizeInGbHasBeenSet()

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

The amount of RAM (in GB) of the power.

Definition at line 133 of file ContainerServicePower.h.

◆ SetCpuCount()

void Aws::Lightsail::Model::ContainerServicePower::SetCpuCount ( double  value)
inline

The number of vCPUs included in the power.

Definition at line 117 of file ContainerServicePower.h.

◆ SetIsActive()

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

A Boolean value indicating whether the power is active and can be specified for container services.

Definition at line 203 of file ContainerServicePower.h.

◆ SetName() [1/3]

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

The friendly name of the power (e.g., nano).

Definition at line 164 of file ContainerServicePower.h.

◆ SetName() [2/3]

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

The friendly name of the power (e.g., nano).

Definition at line 159 of file ContainerServicePower.h.

◆ SetName() [3/3]

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

The friendly name of the power (e.g., nano).

Definition at line 169 of file ContainerServicePower.h.

◆ SetPowerId() [1/3]

void Aws::Lightsail::Model::ContainerServicePower::SetPowerId ( Aws::String &&  value)
inline

The ID of the power (e.g., nano-1).

Definition at line 60 of file ContainerServicePower.h.

◆ SetPowerId() [2/3]

void Aws::Lightsail::Model::ContainerServicePower::SetPowerId ( const Aws::String value)
inline

The ID of the power (e.g., nano-1).

Definition at line 55 of file ContainerServicePower.h.

◆ SetPowerId() [3/3]

void Aws::Lightsail::Model::ContainerServicePower::SetPowerId ( const char *  value)
inline

The ID of the power (e.g., nano-1).

Definition at line 65 of file ContainerServicePower.h.

◆ SetPrice()

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

The monthly price of the power in USD.

Definition at line 96 of file ContainerServicePower.h.

◆ SetRamSizeInGb()

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

The amount of RAM (in GB) of the power.

Definition at line 138 of file ContainerServicePower.h.

◆ WithCpuCount()

ContainerServicePower& Aws::Lightsail::Model::ContainerServicePower::WithCpuCount ( double  value)
inline

The number of vCPUs included in the power.

Definition at line 122 of file ContainerServicePower.h.

◆ WithIsActive()

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

A Boolean value indicating whether the power is active and can be specified for container services.

Definition at line 209 of file ContainerServicePower.h.

◆ WithName() [1/3]

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

The friendly name of the power (e.g., nano).

Definition at line 179 of file ContainerServicePower.h.

◆ WithName() [2/3]

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

The friendly name of the power (e.g., nano).

Definition at line 174 of file ContainerServicePower.h.

◆ WithName() [3/3]

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

The friendly name of the power (e.g., nano).

Definition at line 184 of file ContainerServicePower.h.

◆ WithPowerId() [1/3]

ContainerServicePower& Aws::Lightsail::Model::ContainerServicePower::WithPowerId ( Aws::String &&  value)
inline

The ID of the power (e.g., nano-1).

Definition at line 75 of file ContainerServicePower.h.

◆ WithPowerId() [2/3]

ContainerServicePower& Aws::Lightsail::Model::ContainerServicePower::WithPowerId ( const Aws::String value)
inline

The ID of the power (e.g., nano-1).

Definition at line 70 of file ContainerServicePower.h.

◆ WithPowerId() [3/3]

ContainerServicePower& Aws::Lightsail::Model::ContainerServicePower::WithPowerId ( const char *  value)
inline

The ID of the power (e.g., nano-1).

Definition at line 80 of file ContainerServicePower.h.

◆ WithPrice()

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

The monthly price of the power in USD.

Definition at line 101 of file ContainerServicePower.h.

◆ WithRamSizeInGb()

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

The amount of RAM (in GB) of the power.

Definition at line 143 of file ContainerServicePower.h.


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