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

#include <InstanceState.h>

Public Member Functions

 InstanceState ()
 
 InstanceState (Aws::Utils::Json::JsonView jsonValue)
 
InstanceStateoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
int GetCode () const
 
bool CodeHasBeenSet () const
 
void SetCode (int value)
 
InstanceStateWithCode (int value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
InstanceStateWithName (const Aws::String &value)
 
InstanceStateWithName (Aws::String &&value)
 
InstanceStateWithName (const char *value)
 

Detailed Description

Describes the virtual private server (or instance) status.

See Also:

AWS API Reference

Definition at line 32 of file InstanceState.h.

Constructor & Destructor Documentation

◆ InstanceState() [1/2]

Aws::Lightsail::Model::InstanceState::InstanceState ( )

◆ InstanceState() [2/2]

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

Member Function Documentation

◆ CodeHasBeenSet()

bool Aws::Lightsail::Model::InstanceState::CodeHasBeenSet ( ) const
inline

The status code for the instance.

Definition at line 49 of file InstanceState.h.

◆ GetCode()

int Aws::Lightsail::Model::InstanceState::GetCode ( ) const
inline

The status code for the instance.

Definition at line 44 of file InstanceState.h.

◆ GetName()

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

The state of the instance (e.g., running or pending).

Definition at line 66 of file InstanceState.h.

◆ Jsonize()

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

◆ NameHasBeenSet()

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

The state of the instance (e.g., running or pending).

Definition at line 72 of file InstanceState.h.

◆ operator=()

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

◆ SetCode()

void Aws::Lightsail::Model::InstanceState::SetCode ( int  value)
inline

The status code for the instance.

Definition at line 54 of file InstanceState.h.

◆ SetName() [1/3]

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

The state of the instance (e.g., running or pending).

Definition at line 78 of file InstanceState.h.

◆ SetName() [2/3]

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

The state of the instance (e.g., running or pending).

Definition at line 84 of file InstanceState.h.

◆ SetName() [3/3]

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

The state of the instance (e.g., running or pending).

Definition at line 90 of file InstanceState.h.

◆ WithCode()

InstanceState& Aws::Lightsail::Model::InstanceState::WithCode ( int  value)
inline

The status code for the instance.

Definition at line 59 of file InstanceState.h.

◆ WithName() [1/3]

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

The state of the instance (e.g., running or pending).

Definition at line 96 of file InstanceState.h.

◆ WithName() [2/3]

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

The state of the instance (e.g., running or pending).

Definition at line 102 of file InstanceState.h.

◆ WithName() [3/3]

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

The state of the instance (e.g., running or pending).

Definition at line 108 of file InstanceState.h.


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