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

#include <ActiveInstance.h>

Public Member Functions

 ActiveInstance ()
 
 ActiveInstance (const Aws::Utils::Xml::XmlNode &xmlNode)
 
ActiveInstanceoperator= (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 Aws::StringGetInstanceId () const
 
bool InstanceIdHasBeenSet () const
 
void SetInstanceId (const Aws::String &value)
 
void SetInstanceId (Aws::String &&value)
 
void SetInstanceId (const char *value)
 
ActiveInstanceWithInstanceId (const Aws::String &value)
 
ActiveInstanceWithInstanceId (Aws::String &&value)
 
ActiveInstanceWithInstanceId (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)
 
ActiveInstanceWithInstanceType (const Aws::String &value)
 
ActiveInstanceWithInstanceType (Aws::String &&value)
 
ActiveInstanceWithInstanceType (const char *value)
 
const Aws::StringGetSpotInstanceRequestId () const
 
bool SpotInstanceRequestIdHasBeenSet () const
 
void SetSpotInstanceRequestId (const Aws::String &value)
 
void SetSpotInstanceRequestId (Aws::String &&value)
 
void SetSpotInstanceRequestId (const char *value)
 
ActiveInstanceWithSpotInstanceRequestId (const Aws::String &value)
 
ActiveInstanceWithSpotInstanceRequestId (Aws::String &&value)
 
ActiveInstanceWithSpotInstanceRequestId (const char *value)
 
const InstanceHealthStatusGetInstanceHealth () const
 
bool InstanceHealthHasBeenSet () const
 
void SetInstanceHealth (const InstanceHealthStatus &value)
 
void SetInstanceHealth (InstanceHealthStatus &&value)
 
ActiveInstanceWithInstanceHealth (const InstanceHealthStatus &value)
 
ActiveInstanceWithInstanceHealth (InstanceHealthStatus &&value)
 

Detailed Description

Describes a running instance in a Spot Fleet.

See Also:

AWS API Reference

Definition at line 32 of file ActiveInstance.h.

Constructor & Destructor Documentation

◆ ActiveInstance() [1/2]

Aws::EC2::Model::ActiveInstance::ActiveInstance ( )

◆ ActiveInstance() [2/2]

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

Member Function Documentation

◆ GetInstanceHealth()

const InstanceHealthStatus& Aws::EC2::Model::ActiveInstance::GetInstanceHealth ( ) const
inline

The health status of the instance. If the status of either the instance status check or the system status check is impaired, the health status of the instance is unhealthy. Otherwise, the health status is healthy.

Definition at line 172 of file ActiveInstance.h.

◆ GetInstanceId()

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

The ID of the instance.

Definition at line 46 of file ActiveInstance.h.

◆ GetInstanceType()

const Aws::String& Aws::EC2::Model::ActiveInstance::GetInstanceType ( ) const
inline

The instance type.

Definition at line 87 of file ActiveInstance.h.

◆ GetSpotInstanceRequestId()

const Aws::String& Aws::EC2::Model::ActiveInstance::GetSpotInstanceRequestId ( ) const
inline

The ID of the Spot Instance request.

Definition at line 128 of file ActiveInstance.h.

◆ InstanceHealthHasBeenSet()

bool Aws::EC2::Model::ActiveInstance::InstanceHealthHasBeenSet ( ) const
inline

The health status of the instance. If the status of either the instance status check or the system status check is impaired, the health status of the instance is unhealthy. Otherwise, the health status is healthy.

Definition at line 180 of file ActiveInstance.h.

◆ InstanceIdHasBeenSet()

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

The ID of the instance.

Definition at line 51 of file ActiveInstance.h.

◆ InstanceTypeHasBeenSet()

bool Aws::EC2::Model::ActiveInstance::InstanceTypeHasBeenSet ( ) const
inline

The instance type.

Definition at line 92 of file ActiveInstance.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ SetInstanceHealth() [1/2]

void Aws::EC2::Model::ActiveInstance::SetInstanceHealth ( const InstanceHealthStatus value)
inline

The health status of the instance. If the status of either the instance status check or the system status check is impaired, the health status of the instance is unhealthy. Otherwise, the health status is healthy.

Definition at line 188 of file ActiveInstance.h.

◆ SetInstanceHealth() [2/2]

void Aws::EC2::Model::ActiveInstance::SetInstanceHealth ( InstanceHealthStatus &&  value)
inline

The health status of the instance. If the status of either the instance status check or the system status check is impaired, the health status of the instance is unhealthy. Otherwise, the health status is healthy.

Definition at line 196 of file ActiveInstance.h.

◆ SetInstanceId() [1/3]

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

The ID of the instance.

Definition at line 61 of file ActiveInstance.h.

◆ SetInstanceId() [2/3]

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

The ID of the instance.

Definition at line 56 of file ActiveInstance.h.

◆ SetInstanceId() [3/3]

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

The ID of the instance.

Definition at line 66 of file ActiveInstance.h.

◆ SetInstanceType() [1/3]

void Aws::EC2::Model::ActiveInstance::SetInstanceType ( Aws::String &&  value)
inline

The instance type.

Definition at line 102 of file ActiveInstance.h.

◆ SetInstanceType() [2/3]

void Aws::EC2::Model::ActiveInstance::SetInstanceType ( const Aws::String value)
inline

The instance type.

Definition at line 97 of file ActiveInstance.h.

◆ SetInstanceType() [3/3]

void Aws::EC2::Model::ActiveInstance::SetInstanceType ( const char *  value)
inline

The instance type.

Definition at line 107 of file ActiveInstance.h.

◆ SetSpotInstanceRequestId() [1/3]

void Aws::EC2::Model::ActiveInstance::SetSpotInstanceRequestId ( Aws::String &&  value)
inline

The ID of the Spot Instance request.

Definition at line 143 of file ActiveInstance.h.

◆ SetSpotInstanceRequestId() [2/3]

void Aws::EC2::Model::ActiveInstance::SetSpotInstanceRequestId ( const Aws::String value)
inline

The ID of the Spot Instance request.

Definition at line 138 of file ActiveInstance.h.

◆ SetSpotInstanceRequestId() [3/3]

void Aws::EC2::Model::ActiveInstance::SetSpotInstanceRequestId ( const char *  value)
inline

The ID of the Spot Instance request.

Definition at line 148 of file ActiveInstance.h.

◆ SpotInstanceRequestIdHasBeenSet()

bool Aws::EC2::Model::ActiveInstance::SpotInstanceRequestIdHasBeenSet ( ) const
inline

The ID of the Spot Instance request.

Definition at line 133 of file ActiveInstance.h.

◆ WithInstanceHealth() [1/2]

ActiveInstance& Aws::EC2::Model::ActiveInstance::WithInstanceHealth ( const InstanceHealthStatus value)
inline

The health status of the instance. If the status of either the instance status check or the system status check is impaired, the health status of the instance is unhealthy. Otherwise, the health status is healthy.

Definition at line 204 of file ActiveInstance.h.

◆ WithInstanceHealth() [2/2]

ActiveInstance& Aws::EC2::Model::ActiveInstance::WithInstanceHealth ( InstanceHealthStatus &&  value)
inline

The health status of the instance. If the status of either the instance status check or the system status check is impaired, the health status of the instance is unhealthy. Otherwise, the health status is healthy.

Definition at line 212 of file ActiveInstance.h.

◆ WithInstanceId() [1/3]

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

The ID of the instance.

Definition at line 76 of file ActiveInstance.h.

◆ WithInstanceId() [2/3]

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

The ID of the instance.

Definition at line 71 of file ActiveInstance.h.

◆ WithInstanceId() [3/3]

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

The ID of the instance.

Definition at line 81 of file ActiveInstance.h.

◆ WithInstanceType() [1/3]

ActiveInstance& Aws::EC2::Model::ActiveInstance::WithInstanceType ( Aws::String &&  value)
inline

The instance type.

Definition at line 117 of file ActiveInstance.h.

◆ WithInstanceType() [2/3]

ActiveInstance& Aws::EC2::Model::ActiveInstance::WithInstanceType ( const Aws::String value)
inline

The instance type.

Definition at line 112 of file ActiveInstance.h.

◆ WithInstanceType() [3/3]

ActiveInstance& Aws::EC2::Model::ActiveInstance::WithInstanceType ( const char *  value)
inline

The instance type.

Definition at line 122 of file ActiveInstance.h.

◆ WithSpotInstanceRequestId() [1/3]

ActiveInstance& Aws::EC2::Model::ActiveInstance::WithSpotInstanceRequestId ( Aws::String &&  value)
inline

The ID of the Spot Instance request.

Definition at line 158 of file ActiveInstance.h.

◆ WithSpotInstanceRequestId() [2/3]

ActiveInstance& Aws::EC2::Model::ActiveInstance::WithSpotInstanceRequestId ( const Aws::String value)
inline

The ID of the Spot Instance request.

Definition at line 153 of file ActiveInstance.h.

◆ WithSpotInstanceRequestId() [3/3]

ActiveInstance& Aws::EC2::Model::ActiveInstance::WithSpotInstanceRequestId ( const char *  value)
inline

The ID of the Spot Instance request.

Definition at line 163 of file ActiveInstance.h.


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