AWS SDK for C++  1.9.106
AWS SDK for C++
Public Member Functions | List of all members
Aws::EC2::Model::InstanceStateChange Class Reference

#include <InstanceStateChange.h>

Public Member Functions

 InstanceStateChange ()
 
 InstanceStateChange (const Aws::Utils::Xml::XmlNode &xmlNode)
 
InstanceStateChangeoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
void OutputToStream (Aws::OStream &oStream, const char *location) const
 
const InstanceStateGetCurrentState () const
 
bool CurrentStateHasBeenSet () const
 
void SetCurrentState (const InstanceState &value)
 
void SetCurrentState (InstanceState &&value)
 
InstanceStateChangeWithCurrentState (const InstanceState &value)
 
InstanceStateChangeWithCurrentState (InstanceState &&value)
 
const Aws::StringGetInstanceId () const
 
bool InstanceIdHasBeenSet () const
 
void SetInstanceId (const Aws::String &value)
 
void SetInstanceId (Aws::String &&value)
 
void SetInstanceId (const char *value)
 
InstanceStateChangeWithInstanceId (const Aws::String &value)
 
InstanceStateChangeWithInstanceId (Aws::String &&value)
 
InstanceStateChangeWithInstanceId (const char *value)
 
const InstanceStateGetPreviousState () const
 
bool PreviousStateHasBeenSet () const
 
void SetPreviousState (const InstanceState &value)
 
void SetPreviousState (InstanceState &&value)
 
InstanceStateChangeWithPreviousState (const InstanceState &value)
 
InstanceStateChangeWithPreviousState (InstanceState &&value)
 

Detailed Description

Describes an instance state change.

See Also:

AWS API Reference

Definition at line 32 of file InstanceStateChange.h.

Constructor & Destructor Documentation

◆ InstanceStateChange() [1/2]

Aws::EC2::Model::InstanceStateChange::InstanceStateChange ( )

◆ InstanceStateChange() [2/2]

Aws::EC2::Model::InstanceStateChange::InstanceStateChange ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ CurrentStateHasBeenSet()

bool Aws::EC2::Model::InstanceStateChange::CurrentStateHasBeenSet ( ) const
inline

The current state of the instance.

Definition at line 51 of file InstanceStateChange.h.

◆ GetCurrentState()

const InstanceState& Aws::EC2::Model::InstanceStateChange::GetCurrentState ( ) const
inline

The current state of the instance.

Definition at line 46 of file InstanceStateChange.h.

◆ GetInstanceId()

const Aws::String& Aws::EC2::Model::InstanceStateChange::GetInstanceId ( ) const
inline

The ID of the instance.

Definition at line 77 of file InstanceStateChange.h.

◆ GetPreviousState()

const InstanceState& Aws::EC2::Model::InstanceStateChange::GetPreviousState ( ) const
inline

The previous state of the instance.

Definition at line 118 of file InstanceStateChange.h.

◆ InstanceIdHasBeenSet()

bool Aws::EC2::Model::InstanceStateChange::InstanceIdHasBeenSet ( ) const
inline

The ID of the instance.

Definition at line 82 of file InstanceStateChange.h.

◆ operator=()

InstanceStateChange& Aws::EC2::Model::InstanceStateChange::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::EC2::Model::InstanceStateChange::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

void Aws::EC2::Model::InstanceStateChange::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ PreviousStateHasBeenSet()

bool Aws::EC2::Model::InstanceStateChange::PreviousStateHasBeenSet ( ) const
inline

The previous state of the instance.

Definition at line 123 of file InstanceStateChange.h.

◆ SetCurrentState() [1/2]

void Aws::EC2::Model::InstanceStateChange::SetCurrentState ( const InstanceState value)
inline

The current state of the instance.

Definition at line 56 of file InstanceStateChange.h.

◆ SetCurrentState() [2/2]

void Aws::EC2::Model::InstanceStateChange::SetCurrentState ( InstanceState &&  value)
inline

The current state of the instance.

Definition at line 61 of file InstanceStateChange.h.

◆ SetInstanceId() [1/3]

void Aws::EC2::Model::InstanceStateChange::SetInstanceId ( Aws::String &&  value)
inline

The ID of the instance.

Definition at line 92 of file InstanceStateChange.h.

◆ SetInstanceId() [2/3]

void Aws::EC2::Model::InstanceStateChange::SetInstanceId ( const Aws::String value)
inline

The ID of the instance.

Definition at line 87 of file InstanceStateChange.h.

◆ SetInstanceId() [3/3]

void Aws::EC2::Model::InstanceStateChange::SetInstanceId ( const char *  value)
inline

The ID of the instance.

Definition at line 97 of file InstanceStateChange.h.

◆ SetPreviousState() [1/2]

void Aws::EC2::Model::InstanceStateChange::SetPreviousState ( const InstanceState value)
inline

The previous state of the instance.

Definition at line 128 of file InstanceStateChange.h.

◆ SetPreviousState() [2/2]

void Aws::EC2::Model::InstanceStateChange::SetPreviousState ( InstanceState &&  value)
inline

The previous state of the instance.

Definition at line 133 of file InstanceStateChange.h.

◆ WithCurrentState() [1/2]

InstanceStateChange& Aws::EC2::Model::InstanceStateChange::WithCurrentState ( const InstanceState value)
inline

The current state of the instance.

Definition at line 66 of file InstanceStateChange.h.

◆ WithCurrentState() [2/2]

InstanceStateChange& Aws::EC2::Model::InstanceStateChange::WithCurrentState ( InstanceState &&  value)
inline

The current state of the instance.

Definition at line 71 of file InstanceStateChange.h.

◆ WithInstanceId() [1/3]

InstanceStateChange& Aws::EC2::Model::InstanceStateChange::WithInstanceId ( Aws::String &&  value)
inline

The ID of the instance.

Definition at line 107 of file InstanceStateChange.h.

◆ WithInstanceId() [2/3]

InstanceStateChange& Aws::EC2::Model::InstanceStateChange::WithInstanceId ( const Aws::String value)
inline

The ID of the instance.

Definition at line 102 of file InstanceStateChange.h.

◆ WithInstanceId() [3/3]

InstanceStateChange& Aws::EC2::Model::InstanceStateChange::WithInstanceId ( const char *  value)
inline

The ID of the instance.

Definition at line 112 of file InstanceStateChange.h.

◆ WithPreviousState() [1/2]

InstanceStateChange& Aws::EC2::Model::InstanceStateChange::WithPreviousState ( const InstanceState value)
inline

The previous state of the instance.

Definition at line 138 of file InstanceStateChange.h.

◆ WithPreviousState() [2/2]

InstanceStateChange& Aws::EC2::Model::InstanceStateChange::WithPreviousState ( InstanceState &&  value)
inline

The previous state of the instance.

Definition at line 143 of file InstanceStateChange.h.


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