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

#include <StateReason.h>

Public Member Functions

 StateReason ()
 
 StateReason (const Aws::Utils::Xml::XmlNode &xmlNode)
 
StateReasonoperator= (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::StringGetCode () const
 
void SetCode (const Aws::String &value)
 
void SetCode (Aws::String &&value)
 
void SetCode (const char *value)
 
StateReasonWithCode (const Aws::String &value)
 
StateReasonWithCode (Aws::String &&value)
 
StateReasonWithCode (const char *value)
 
const Aws::StringGetMessage () const
 
void SetMessage (const Aws::String &value)
 
void SetMessage (Aws::String &&value)
 
void SetMessage (const char *value)
 
StateReasonWithMessage (const Aws::String &value)
 
StateReasonWithMessage (Aws::String &&value)
 
StateReasonWithMessage (const char *value)
 

Detailed Description

Describes a state change.

Definition at line 37 of file StateReason.h.

Constructor & Destructor Documentation

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

Member Function Documentation

const Aws::String& Aws::EC2::Model::StateReason::GetCode ( ) const
inline

The reason code for the state change.

Definition at line 50 of file StateReason.h.

const Aws::String& Aws::EC2::Model::StateReason::GetMessage ( ) const
inline

The message for the state change.

  • Server.SpotInstanceTermination: A Spot instance was terminated due to an increase in the market price.

  • Server.InternalError: An internal error occurred during instance launch, resulting in termination.

  • Server.InsufficientInstanceCapacity: There was insufficient instance capacity to satisfy the launch request.

  • Client.InternalError: A client error caused the instance to terminate on launch.

  • Client.InstanceInitiatedShutdown: The instance was shut down using the shutdown -h command from the instance.

  • Client.UserInitiatedShutdown: The instance was shut down using the Amazon EC2 API.

  • Client.VolumeLimitExceeded: The limit on the number of EBS volumes or total storage was exceeded. Decrease usage or request an increase in your limits.

  • Client.InvalidSnapshot.NotFound: The specified snapshot was not found.

Definition at line 101 of file StateReason.h.

StateReason& Aws::EC2::Model::StateReason::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)
void Aws::EC2::Model::StateReason::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const
void Aws::EC2::Model::StateReason::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const
void Aws::EC2::Model::StateReason::SetCode ( const Aws::String value)
inline

The reason code for the state change.

Definition at line 55 of file StateReason.h.

void Aws::EC2::Model::StateReason::SetCode ( Aws::String &&  value)
inline

The reason code for the state change.

Definition at line 60 of file StateReason.h.

void Aws::EC2::Model::StateReason::SetCode ( const char *  value)
inline

The reason code for the state change.

Definition at line 65 of file StateReason.h.

void Aws::EC2::Model::StateReason::SetMessage ( const Aws::String value)
inline

The message for the state change.

  • Server.SpotInstanceTermination: A Spot instance was terminated due to an increase in the market price.

  • Server.InternalError: An internal error occurred during instance launch, resulting in termination.

  • Server.InsufficientInstanceCapacity: There was insufficient instance capacity to satisfy the launch request.

  • Client.InternalError: A client error caused the instance to terminate on launch.

  • Client.InstanceInitiatedShutdown: The instance was shut down using the shutdown -h command from the instance.

  • Client.UserInitiatedShutdown: The instance was shut down using the Amazon EC2 API.

  • Client.VolumeLimitExceeded: The limit on the number of EBS volumes or total storage was exceeded. Decrease usage or request an increase in your limits.

  • Client.InvalidSnapshot.NotFound: The specified snapshot was not found.

Definition at line 122 of file StateReason.h.

void Aws::EC2::Model::StateReason::SetMessage ( Aws::String &&  value)
inline

The message for the state change.

  • Server.SpotInstanceTermination: A Spot instance was terminated due to an increase in the market price.

  • Server.InternalError: An internal error occurred during instance launch, resulting in termination.

  • Server.InsufficientInstanceCapacity: There was insufficient instance capacity to satisfy the launch request.

  • Client.InternalError: A client error caused the instance to terminate on launch.

  • Client.InstanceInitiatedShutdown: The instance was shut down using the shutdown -h command from the instance.

  • Client.UserInitiatedShutdown: The instance was shut down using the Amazon EC2 API.

  • Client.VolumeLimitExceeded: The limit on the number of EBS volumes or total storage was exceeded. Decrease usage or request an increase in your limits.

  • Client.InvalidSnapshot.NotFound: The specified snapshot was not found.

Definition at line 143 of file StateReason.h.

void Aws::EC2::Model::StateReason::SetMessage ( const char *  value)
inline

The message for the state change.

  • Server.SpotInstanceTermination: A Spot instance was terminated due to an increase in the market price.

  • Server.InternalError: An internal error occurred during instance launch, resulting in termination.

  • Server.InsufficientInstanceCapacity: There was insufficient instance capacity to satisfy the launch request.

  • Client.InternalError: A client error caused the instance to terminate on launch.

  • Client.InstanceInitiatedShutdown: The instance was shut down using the shutdown -h command from the instance.

  • Client.UserInitiatedShutdown: The instance was shut down using the Amazon EC2 API.

  • Client.VolumeLimitExceeded: The limit on the number of EBS volumes or total storage was exceeded. Decrease usage or request an increase in your limits.

  • Client.InvalidSnapshot.NotFound: The specified snapshot was not found.

Definition at line 164 of file StateReason.h.

StateReason& Aws::EC2::Model::StateReason::WithCode ( const Aws::String value)
inline

The reason code for the state change.

Definition at line 70 of file StateReason.h.

StateReason& Aws::EC2::Model::StateReason::WithCode ( Aws::String &&  value)
inline

The reason code for the state change.

Definition at line 75 of file StateReason.h.

StateReason& Aws::EC2::Model::StateReason::WithCode ( const char *  value)
inline

The reason code for the state change.

Definition at line 80 of file StateReason.h.

StateReason& Aws::EC2::Model::StateReason::WithMessage ( const Aws::String value)
inline

The message for the state change.

  • Server.SpotInstanceTermination: A Spot instance was terminated due to an increase in the market price.

  • Server.InternalError: An internal error occurred during instance launch, resulting in termination.

  • Server.InsufficientInstanceCapacity: There was insufficient instance capacity to satisfy the launch request.

  • Client.InternalError: A client error caused the instance to terminate on launch.

  • Client.InstanceInitiatedShutdown: The instance was shut down using the shutdown -h command from the instance.

  • Client.UserInitiatedShutdown: The instance was shut down using the Amazon EC2 API.

  • Client.VolumeLimitExceeded: The limit on the number of EBS volumes or total storage was exceeded. Decrease usage or request an increase in your limits.

  • Client.InvalidSnapshot.NotFound: The specified snapshot was not found.

Definition at line 185 of file StateReason.h.

StateReason& Aws::EC2::Model::StateReason::WithMessage ( Aws::String &&  value)
inline

The message for the state change.

  • Server.SpotInstanceTermination: A Spot instance was terminated due to an increase in the market price.

  • Server.InternalError: An internal error occurred during instance launch, resulting in termination.

  • Server.InsufficientInstanceCapacity: There was insufficient instance capacity to satisfy the launch request.

  • Client.InternalError: A client error caused the instance to terminate on launch.

  • Client.InstanceInitiatedShutdown: The instance was shut down using the shutdown -h command from the instance.

  • Client.UserInitiatedShutdown: The instance was shut down using the Amazon EC2 API.

  • Client.VolumeLimitExceeded: The limit on the number of EBS volumes or total storage was exceeded. Decrease usage or request an increase in your limits.

  • Client.InvalidSnapshot.NotFound: The specified snapshot was not found.

Definition at line 206 of file StateReason.h.

StateReason& Aws::EC2::Model::StateReason::WithMessage ( const char *  value)
inline

The message for the state change.

  • Server.SpotInstanceTermination: A Spot instance was terminated due to an increase in the market price.

  • Server.InternalError: An internal error occurred during instance launch, resulting in termination.

  • Server.InsufficientInstanceCapacity: There was insufficient instance capacity to satisfy the launch request.

  • Client.InternalError: A client error caused the instance to terminate on launch.

  • Client.InstanceInitiatedShutdown: The instance was shut down using the shutdown -h command from the instance.

  • Client.UserInitiatedShutdown: The instance was shut down using the Amazon EC2 API.

  • Client.VolumeLimitExceeded: The limit on the number of EBS volumes or total storage was exceeded. Decrease usage or request an increase in your limits.

  • Client.InvalidSnapshot.NotFound: The specified snapshot was not found.

Definition at line 227 of file StateReason.h.


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