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

#include <SpotInstanceRequest.h>

Public Member Functions

 SpotInstanceRequest ()
 
 SpotInstanceRequest (const Aws::Utils::Xml::XmlNode &xmlNode)
 
SpotInstanceRequestoperator= (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::StringGetActualBlockHourlyPrice () const
 
bool ActualBlockHourlyPriceHasBeenSet () const
 
void SetActualBlockHourlyPrice (const Aws::String &value)
 
void SetActualBlockHourlyPrice (Aws::String &&value)
 
void SetActualBlockHourlyPrice (const char *value)
 
SpotInstanceRequestWithActualBlockHourlyPrice (const Aws::String &value)
 
SpotInstanceRequestWithActualBlockHourlyPrice (Aws::String &&value)
 
SpotInstanceRequestWithActualBlockHourlyPrice (const char *value)
 
const Aws::StringGetAvailabilityZoneGroup () const
 
bool AvailabilityZoneGroupHasBeenSet () const
 
void SetAvailabilityZoneGroup (const Aws::String &value)
 
void SetAvailabilityZoneGroup (Aws::String &&value)
 
void SetAvailabilityZoneGroup (const char *value)
 
SpotInstanceRequestWithAvailabilityZoneGroup (const Aws::String &value)
 
SpotInstanceRequestWithAvailabilityZoneGroup (Aws::String &&value)
 
SpotInstanceRequestWithAvailabilityZoneGroup (const char *value)
 
int GetBlockDurationMinutes () const
 
bool BlockDurationMinutesHasBeenSet () const
 
void SetBlockDurationMinutes (int value)
 
SpotInstanceRequestWithBlockDurationMinutes (int value)
 
const Aws::Utils::DateTimeGetCreateTime () const
 
bool CreateTimeHasBeenSet () const
 
void SetCreateTime (const Aws::Utils::DateTime &value)
 
void SetCreateTime (Aws::Utils::DateTime &&value)
 
SpotInstanceRequestWithCreateTime (const Aws::Utils::DateTime &value)
 
SpotInstanceRequestWithCreateTime (Aws::Utils::DateTime &&value)
 
const SpotInstanceStateFaultGetFault () const
 
bool FaultHasBeenSet () const
 
void SetFault (const SpotInstanceStateFault &value)
 
void SetFault (SpotInstanceStateFault &&value)
 
SpotInstanceRequestWithFault (const SpotInstanceStateFault &value)
 
SpotInstanceRequestWithFault (SpotInstanceStateFault &&value)
 
const Aws::StringGetInstanceId () const
 
bool InstanceIdHasBeenSet () const
 
void SetInstanceId (const Aws::String &value)
 
void SetInstanceId (Aws::String &&value)
 
void SetInstanceId (const char *value)
 
SpotInstanceRequestWithInstanceId (const Aws::String &value)
 
SpotInstanceRequestWithInstanceId (Aws::String &&value)
 
SpotInstanceRequestWithInstanceId (const char *value)
 
const Aws::StringGetLaunchGroup () const
 
bool LaunchGroupHasBeenSet () const
 
void SetLaunchGroup (const Aws::String &value)
 
void SetLaunchGroup (Aws::String &&value)
 
void SetLaunchGroup (const char *value)
 
SpotInstanceRequestWithLaunchGroup (const Aws::String &value)
 
SpotInstanceRequestWithLaunchGroup (Aws::String &&value)
 
SpotInstanceRequestWithLaunchGroup (const char *value)
 
const LaunchSpecificationGetLaunchSpecification () const
 
bool LaunchSpecificationHasBeenSet () const
 
void SetLaunchSpecification (const LaunchSpecification &value)
 
void SetLaunchSpecification (LaunchSpecification &&value)
 
SpotInstanceRequestWithLaunchSpecification (const LaunchSpecification &value)
 
SpotInstanceRequestWithLaunchSpecification (LaunchSpecification &&value)
 
const Aws::StringGetLaunchedAvailabilityZone () const
 
bool LaunchedAvailabilityZoneHasBeenSet () const
 
void SetLaunchedAvailabilityZone (const Aws::String &value)
 
void SetLaunchedAvailabilityZone (Aws::String &&value)
 
void SetLaunchedAvailabilityZone (const char *value)
 
SpotInstanceRequestWithLaunchedAvailabilityZone (const Aws::String &value)
 
SpotInstanceRequestWithLaunchedAvailabilityZone (Aws::String &&value)
 
SpotInstanceRequestWithLaunchedAvailabilityZone (const char *value)
 
const RIProductDescriptionGetProductDescription () const
 
bool ProductDescriptionHasBeenSet () const
 
void SetProductDescription (const RIProductDescription &value)
 
void SetProductDescription (RIProductDescription &&value)
 
SpotInstanceRequestWithProductDescription (const RIProductDescription &value)
 
SpotInstanceRequestWithProductDescription (RIProductDescription &&value)
 
const Aws::StringGetSpotInstanceRequestId () const
 
bool SpotInstanceRequestIdHasBeenSet () const
 
void SetSpotInstanceRequestId (const Aws::String &value)
 
void SetSpotInstanceRequestId (Aws::String &&value)
 
void SetSpotInstanceRequestId (const char *value)
 
SpotInstanceRequestWithSpotInstanceRequestId (const Aws::String &value)
 
SpotInstanceRequestWithSpotInstanceRequestId (Aws::String &&value)
 
SpotInstanceRequestWithSpotInstanceRequestId (const char *value)
 
const Aws::StringGetSpotPrice () const
 
bool SpotPriceHasBeenSet () const
 
void SetSpotPrice (const Aws::String &value)
 
void SetSpotPrice (Aws::String &&value)
 
void SetSpotPrice (const char *value)
 
SpotInstanceRequestWithSpotPrice (const Aws::String &value)
 
SpotInstanceRequestWithSpotPrice (Aws::String &&value)
 
SpotInstanceRequestWithSpotPrice (const char *value)
 
const SpotInstanceStateGetState () const
 
bool StateHasBeenSet () const
 
void SetState (const SpotInstanceState &value)
 
void SetState (SpotInstanceState &&value)
 
SpotInstanceRequestWithState (const SpotInstanceState &value)
 
SpotInstanceRequestWithState (SpotInstanceState &&value)
 
const SpotInstanceStatusGetStatus () const
 
bool StatusHasBeenSet () const
 
void SetStatus (const SpotInstanceStatus &value)
 
void SetStatus (SpotInstanceStatus &&value)
 
SpotInstanceRequestWithStatus (const SpotInstanceStatus &value)
 
SpotInstanceRequestWithStatus (SpotInstanceStatus &&value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
SpotInstanceRequestWithTags (const Aws::Vector< Tag > &value)
 
SpotInstanceRequestWithTags (Aws::Vector< Tag > &&value)
 
SpotInstanceRequestAddTags (const Tag &value)
 
SpotInstanceRequestAddTags (Tag &&value)
 
const SpotInstanceTypeGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const SpotInstanceType &value)
 
void SetType (SpotInstanceType &&value)
 
SpotInstanceRequestWithType (const SpotInstanceType &value)
 
SpotInstanceRequestWithType (SpotInstanceType &&value)
 
const Aws::Utils::DateTimeGetValidFrom () const
 
bool ValidFromHasBeenSet () const
 
void SetValidFrom (const Aws::Utils::DateTime &value)
 
void SetValidFrom (Aws::Utils::DateTime &&value)
 
SpotInstanceRequestWithValidFrom (const Aws::Utils::DateTime &value)
 
SpotInstanceRequestWithValidFrom (Aws::Utils::DateTime &&value)
 
const Aws::Utils::DateTimeGetValidUntil () const
 
bool ValidUntilHasBeenSet () const
 
void SetValidUntil (const Aws::Utils::DateTime &value)
 
void SetValidUntil (Aws::Utils::DateTime &&value)
 
SpotInstanceRequestWithValidUntil (const Aws::Utils::DateTime &value)
 
SpotInstanceRequestWithValidUntil (Aws::Utils::DateTime &&value)
 
const InstanceInterruptionBehaviorGetInstanceInterruptionBehavior () const
 
bool InstanceInterruptionBehaviorHasBeenSet () const
 
void SetInstanceInterruptionBehavior (const InstanceInterruptionBehavior &value)
 
void SetInstanceInterruptionBehavior (InstanceInterruptionBehavior &&value)
 
SpotInstanceRequestWithInstanceInterruptionBehavior (const InstanceInterruptionBehavior &value)
 
SpotInstanceRequestWithInstanceInterruptionBehavior (InstanceInterruptionBehavior &&value)
 

Detailed Description

Describes a Spot Instance request.

See Also:

AWS API Reference

Definition at line 41 of file SpotInstanceRequest.h.

Constructor & Destructor Documentation

◆ SpotInstanceRequest() [1/2]

Aws::EC2::Model::SpotInstanceRequest::SpotInstanceRequest ( )

◆ SpotInstanceRequest() [2/2]

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

Member Function Documentation

◆ ActualBlockHourlyPriceHasBeenSet()

bool Aws::EC2::Model::SpotInstanceRequest::ActualBlockHourlyPriceHasBeenSet ( ) const
inline

Deprecated.

Definition at line 60 of file SpotInstanceRequest.h.

◆ AddTags() [1/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::AddTags ( const Tag value)
inline

Any tags assigned to the resource.

Definition at line 649 of file SpotInstanceRequest.h.

◆ AddTags() [2/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::AddTags ( Tag &&  value)
inline

Any tags assigned to the resource.

Definition at line 654 of file SpotInstanceRequest.h.

◆ AvailabilityZoneGroupHasBeenSet()

bool Aws::EC2::Model::SpotInstanceRequest::AvailabilityZoneGroupHasBeenSet ( ) const
inline

The Availability Zone group. If you specify the same Availability Zone group for all Spot Instance requests, all Spot Instances are launched in the same Availability Zone.

Definition at line 105 of file SpotInstanceRequest.h.

◆ BlockDurationMinutesHasBeenSet()

bool Aws::EC2::Model::SpotInstanceRequest::BlockDurationMinutesHasBeenSet ( ) const
inline

Deprecated.

Definition at line 158 of file SpotInstanceRequest.h.

◆ CreateTimeHasBeenSet()

bool Aws::EC2::Model::SpotInstanceRequest::CreateTimeHasBeenSet ( ) const
inline

The date and time when the Spot Instance request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Definition at line 183 of file SpotInstanceRequest.h.

◆ FaultHasBeenSet()

bool Aws::EC2::Model::SpotInstanceRequest::FaultHasBeenSet ( ) const
inline

The fault codes for the Spot Instance request, if any.

Definition at line 222 of file SpotInstanceRequest.h.

◆ GetActualBlockHourlyPrice()

const Aws::String& Aws::EC2::Model::SpotInstanceRequest::GetActualBlockHourlyPrice ( ) const
inline

Deprecated.

Definition at line 55 of file SpotInstanceRequest.h.

◆ GetAvailabilityZoneGroup()

const Aws::String& Aws::EC2::Model::SpotInstanceRequest::GetAvailabilityZoneGroup ( ) const
inline

The Availability Zone group. If you specify the same Availability Zone group for all Spot Instance requests, all Spot Instances are launched in the same Availability Zone.

Definition at line 98 of file SpotInstanceRequest.h.

◆ GetBlockDurationMinutes()

int Aws::EC2::Model::SpotInstanceRequest::GetBlockDurationMinutes ( ) const
inline

Deprecated.

Definition at line 153 of file SpotInstanceRequest.h.

◆ GetCreateTime()

const Aws::Utils::DateTime& Aws::EC2::Model::SpotInstanceRequest::GetCreateTime ( ) const
inline

The date and time when the Spot Instance request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Definition at line 176 of file SpotInstanceRequest.h.

◆ GetFault()

const SpotInstanceStateFault& Aws::EC2::Model::SpotInstanceRequest::GetFault ( ) const
inline

The fault codes for the Spot Instance request, if any.

Definition at line 217 of file SpotInstanceRequest.h.

◆ GetInstanceId()

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

The instance ID, if an instance has been launched to fulfill the Spot Instance request.

Definition at line 249 of file SpotInstanceRequest.h.

◆ GetInstanceInterruptionBehavior()

const InstanceInterruptionBehavior& Aws::EC2::Model::SpotInstanceRequest::GetInstanceInterruptionBehavior ( ) const
inline

The behavior when a Spot Instance is interrupted.

Definition at line 807 of file SpotInstanceRequest.h.

◆ GetLaunchedAvailabilityZone()

const Aws::String& Aws::EC2::Model::SpotInstanceRequest::GetLaunchedAvailabilityZone ( ) const
inline

The Availability Zone in which the request is launched.

Definition at line 377 of file SpotInstanceRequest.h.

◆ GetLaunchGroup()

const Aws::String& Aws::EC2::Model::SpotInstanceRequest::GetLaunchGroup ( ) const
inline

The instance launch group. Launch groups are Spot Instances that launch together and terminate together.

Definition at line 298 of file SpotInstanceRequest.h.

◆ GetLaunchSpecification()

const LaunchSpecification& Aws::EC2::Model::SpotInstanceRequest::GetLaunchSpecification ( ) const
inline

Additional information for launching instances.

Definition at line 346 of file SpotInstanceRequest.h.

◆ GetProductDescription()

const RIProductDescription& Aws::EC2::Model::SpotInstanceRequest::GetProductDescription ( ) const
inline

The product description associated with the Spot Instance.

Definition at line 418 of file SpotInstanceRequest.h.

◆ GetSpotInstanceRequestId()

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

The ID of the Spot Instance request.

Definition at line 449 of file SpotInstanceRequest.h.

◆ GetSpotPrice()

const Aws::String& Aws::EC2::Model::SpotInstanceRequest::GetSpotPrice ( ) const
inline

The maximum price per hour that you are willing to pay for a Spot Instance.

Definition at line 491 of file SpotInstanceRequest.h.

◆ GetState()

const SpotInstanceState& Aws::EC2::Model::SpotInstanceRequest::GetState ( ) const
inline

The state of the Spot Instance request. Spot status information helps track your Spot Instance requests. For more information, see Spot status in the Amazon EC2 User Guide for Linux Instances.

Definition at line 542 of file SpotInstanceRequest.h.

◆ GetStatus()

const SpotInstanceStatus& Aws::EC2::Model::SpotInstanceRequest::GetStatus ( ) const
inline

The status code and status message describing the Spot Instance request.

Definition at line 588 of file SpotInstanceRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::EC2::Model::SpotInstanceRequest::GetTags ( ) const
inline

Any tags assigned to the resource.

Definition at line 619 of file SpotInstanceRequest.h.

◆ GetType()

const SpotInstanceType& Aws::EC2::Model::SpotInstanceRequest::GetType ( ) const
inline

The Spot Instance request type.

Definition at line 660 of file SpotInstanceRequest.h.

◆ GetValidFrom()

const Aws::Utils::DateTime& Aws::EC2::Model::SpotInstanceRequest::GetValidFrom ( ) const
inline

The start date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The request becomes active at this date and time.

Definition at line 693 of file SpotInstanceRequest.h.

◆ GetValidUntil()

const Aws::Utils::DateTime& Aws::EC2::Model::SpotInstanceRequest::GetValidUntil ( ) const
inline

The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ).

  • For a persistent request, the request remains active until the validUntil date and time is reached. Otherwise, the request remains active until you cancel it.

  • For a one-time request, the request remains active until all instances launch, the request is canceled, or the validUntil date and time is reached. By default, the request is valid for 7 days from the date the request was created.

Definition at line 741 of file SpotInstanceRequest.h.

◆ InstanceIdHasBeenSet()

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

The instance ID, if an instance has been launched to fulfill the Spot Instance request.

Definition at line 255 of file SpotInstanceRequest.h.

◆ InstanceInterruptionBehaviorHasBeenSet()

bool Aws::EC2::Model::SpotInstanceRequest::InstanceInterruptionBehaviorHasBeenSet ( ) const
inline

The behavior when a Spot Instance is interrupted.

Definition at line 812 of file SpotInstanceRequest.h.

◆ LaunchedAvailabilityZoneHasBeenSet()

bool Aws::EC2::Model::SpotInstanceRequest::LaunchedAvailabilityZoneHasBeenSet ( ) const
inline

The Availability Zone in which the request is launched.

Definition at line 382 of file SpotInstanceRequest.h.

◆ LaunchGroupHasBeenSet()

bool Aws::EC2::Model::SpotInstanceRequest::LaunchGroupHasBeenSet ( ) const
inline

The instance launch group. Launch groups are Spot Instances that launch together and terminate together.

Definition at line 304 of file SpotInstanceRequest.h.

◆ LaunchSpecificationHasBeenSet()

bool Aws::EC2::Model::SpotInstanceRequest::LaunchSpecificationHasBeenSet ( ) const
inline

Additional information for launching instances.

Definition at line 351 of file SpotInstanceRequest.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ ProductDescriptionHasBeenSet()

bool Aws::EC2::Model::SpotInstanceRequest::ProductDescriptionHasBeenSet ( ) const
inline

The product description associated with the Spot Instance.

Definition at line 423 of file SpotInstanceRequest.h.

◆ SetActualBlockHourlyPrice() [1/3]

void Aws::EC2::Model::SpotInstanceRequest::SetActualBlockHourlyPrice ( Aws::String &&  value)
inline

Deprecated.

Definition at line 70 of file SpotInstanceRequest.h.

◆ SetActualBlockHourlyPrice() [2/3]

void Aws::EC2::Model::SpotInstanceRequest::SetActualBlockHourlyPrice ( const Aws::String value)
inline

Deprecated.

Definition at line 65 of file SpotInstanceRequest.h.

◆ SetActualBlockHourlyPrice() [3/3]

void Aws::EC2::Model::SpotInstanceRequest::SetActualBlockHourlyPrice ( const char *  value)
inline

Deprecated.

Definition at line 75 of file SpotInstanceRequest.h.

◆ SetAvailabilityZoneGroup() [1/3]

void Aws::EC2::Model::SpotInstanceRequest::SetAvailabilityZoneGroup ( Aws::String &&  value)
inline

The Availability Zone group. If you specify the same Availability Zone group for all Spot Instance requests, all Spot Instances are launched in the same Availability Zone.

Definition at line 119 of file SpotInstanceRequest.h.

◆ SetAvailabilityZoneGroup() [2/3]

void Aws::EC2::Model::SpotInstanceRequest::SetAvailabilityZoneGroup ( const Aws::String value)
inline

The Availability Zone group. If you specify the same Availability Zone group for all Spot Instance requests, all Spot Instances are launched in the same Availability Zone.

Definition at line 112 of file SpotInstanceRequest.h.

◆ SetAvailabilityZoneGroup() [3/3]

void Aws::EC2::Model::SpotInstanceRequest::SetAvailabilityZoneGroup ( const char *  value)
inline

The Availability Zone group. If you specify the same Availability Zone group for all Spot Instance requests, all Spot Instances are launched in the same Availability Zone.

Definition at line 126 of file SpotInstanceRequest.h.

◆ SetBlockDurationMinutes()

void Aws::EC2::Model::SpotInstanceRequest::SetBlockDurationMinutes ( int  value)
inline

Deprecated.

Definition at line 163 of file SpotInstanceRequest.h.

◆ SetCreateTime() [1/2]

void Aws::EC2::Model::SpotInstanceRequest::SetCreateTime ( Aws::Utils::DateTime &&  value)
inline

The date and time when the Spot Instance request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Definition at line 197 of file SpotInstanceRequest.h.

◆ SetCreateTime() [2/2]

void Aws::EC2::Model::SpotInstanceRequest::SetCreateTime ( const Aws::Utils::DateTime value)
inline

The date and time when the Spot Instance request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Definition at line 190 of file SpotInstanceRequest.h.

◆ SetFault() [1/2]

void Aws::EC2::Model::SpotInstanceRequest::SetFault ( const SpotInstanceStateFault value)
inline

The fault codes for the Spot Instance request, if any.

Definition at line 227 of file SpotInstanceRequest.h.

◆ SetFault() [2/2]

void Aws::EC2::Model::SpotInstanceRequest::SetFault ( SpotInstanceStateFault &&  value)
inline

The fault codes for the Spot Instance request, if any.

Definition at line 232 of file SpotInstanceRequest.h.

◆ SetInstanceId() [1/3]

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

The instance ID, if an instance has been launched to fulfill the Spot Instance request.

Definition at line 267 of file SpotInstanceRequest.h.

◆ SetInstanceId() [2/3]

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

The instance ID, if an instance has been launched to fulfill the Spot Instance request.

Definition at line 261 of file SpotInstanceRequest.h.

◆ SetInstanceId() [3/3]

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

The instance ID, if an instance has been launched to fulfill the Spot Instance request.

Definition at line 273 of file SpotInstanceRequest.h.

◆ SetInstanceInterruptionBehavior() [1/2]

void Aws::EC2::Model::SpotInstanceRequest::SetInstanceInterruptionBehavior ( const InstanceInterruptionBehavior value)
inline

The behavior when a Spot Instance is interrupted.

Definition at line 817 of file SpotInstanceRequest.h.

◆ SetInstanceInterruptionBehavior() [2/2]

void Aws::EC2::Model::SpotInstanceRequest::SetInstanceInterruptionBehavior ( InstanceInterruptionBehavior &&  value)
inline

The behavior when a Spot Instance is interrupted.

Definition at line 822 of file SpotInstanceRequest.h.

◆ SetLaunchedAvailabilityZone() [1/3]

void Aws::EC2::Model::SpotInstanceRequest::SetLaunchedAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone in which the request is launched.

Definition at line 392 of file SpotInstanceRequest.h.

◆ SetLaunchedAvailabilityZone() [2/3]

void Aws::EC2::Model::SpotInstanceRequest::SetLaunchedAvailabilityZone ( const Aws::String value)
inline

The Availability Zone in which the request is launched.

Definition at line 387 of file SpotInstanceRequest.h.

◆ SetLaunchedAvailabilityZone() [3/3]

void Aws::EC2::Model::SpotInstanceRequest::SetLaunchedAvailabilityZone ( const char *  value)
inline

The Availability Zone in which the request is launched.

Definition at line 397 of file SpotInstanceRequest.h.

◆ SetLaunchGroup() [1/3]

void Aws::EC2::Model::SpotInstanceRequest::SetLaunchGroup ( Aws::String &&  value)
inline

The instance launch group. Launch groups are Spot Instances that launch together and terminate together.

Definition at line 316 of file SpotInstanceRequest.h.

◆ SetLaunchGroup() [2/3]

void Aws::EC2::Model::SpotInstanceRequest::SetLaunchGroup ( const Aws::String value)
inline

The instance launch group. Launch groups are Spot Instances that launch together and terminate together.

Definition at line 310 of file SpotInstanceRequest.h.

◆ SetLaunchGroup() [3/3]

void Aws::EC2::Model::SpotInstanceRequest::SetLaunchGroup ( const char *  value)
inline

The instance launch group. Launch groups are Spot Instances that launch together and terminate together.

Definition at line 322 of file SpotInstanceRequest.h.

◆ SetLaunchSpecification() [1/2]

void Aws::EC2::Model::SpotInstanceRequest::SetLaunchSpecification ( const LaunchSpecification value)
inline

Additional information for launching instances.

Definition at line 356 of file SpotInstanceRequest.h.

◆ SetLaunchSpecification() [2/2]

void Aws::EC2::Model::SpotInstanceRequest::SetLaunchSpecification ( LaunchSpecification &&  value)
inline

Additional information for launching instances.

Definition at line 361 of file SpotInstanceRequest.h.

◆ SetProductDescription() [1/2]

void Aws::EC2::Model::SpotInstanceRequest::SetProductDescription ( const RIProductDescription value)
inline

The product description associated with the Spot Instance.

Definition at line 428 of file SpotInstanceRequest.h.

◆ SetProductDescription() [2/2]

void Aws::EC2::Model::SpotInstanceRequest::SetProductDescription ( RIProductDescription &&  value)
inline

The product description associated with the Spot Instance.

Definition at line 433 of file SpotInstanceRequest.h.

◆ SetSpotInstanceRequestId() [1/3]

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

The ID of the Spot Instance request.

Definition at line 464 of file SpotInstanceRequest.h.

◆ SetSpotInstanceRequestId() [2/3]

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

The ID of the Spot Instance request.

Definition at line 459 of file SpotInstanceRequest.h.

◆ SetSpotInstanceRequestId() [3/3]

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

The ID of the Spot Instance request.

Definition at line 469 of file SpotInstanceRequest.h.

◆ SetSpotPrice() [1/3]

void Aws::EC2::Model::SpotInstanceRequest::SetSpotPrice ( Aws::String &&  value)
inline

The maximum price per hour that you are willing to pay for a Spot Instance.

Definition at line 509 of file SpotInstanceRequest.h.

◆ SetSpotPrice() [2/3]

void Aws::EC2::Model::SpotInstanceRequest::SetSpotPrice ( const Aws::String value)
inline

The maximum price per hour that you are willing to pay for a Spot Instance.

Definition at line 503 of file SpotInstanceRequest.h.

◆ SetSpotPrice() [3/3]

void Aws::EC2::Model::SpotInstanceRequest::SetSpotPrice ( const char *  value)
inline

The maximum price per hour that you are willing to pay for a Spot Instance.

Definition at line 515 of file SpotInstanceRequest.h.

◆ SetState() [1/2]

void Aws::EC2::Model::SpotInstanceRequest::SetState ( const SpotInstanceState value)
inline

The state of the Spot Instance request. Spot status information helps track your Spot Instance requests. For more information, see Spot status in the Amazon EC2 User Guide for Linux Instances.

Definition at line 558 of file SpotInstanceRequest.h.

◆ SetState() [2/2]

void Aws::EC2::Model::SpotInstanceRequest::SetState ( SpotInstanceState &&  value)
inline

The state of the Spot Instance request. Spot status information helps track your Spot Instance requests. For more information, see Spot status in the Amazon EC2 User Guide for Linux Instances.

Definition at line 566 of file SpotInstanceRequest.h.

◆ SetStatus() [1/2]

void Aws::EC2::Model::SpotInstanceRequest::SetStatus ( const SpotInstanceStatus value)
inline

The status code and status message describing the Spot Instance request.

Definition at line 598 of file SpotInstanceRequest.h.

◆ SetStatus() [2/2]

void Aws::EC2::Model::SpotInstanceRequest::SetStatus ( SpotInstanceStatus &&  value)
inline

The status code and status message describing the Spot Instance request.

Definition at line 603 of file SpotInstanceRequest.h.

◆ SetTags() [1/2]

void Aws::EC2::Model::SpotInstanceRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

Any tags assigned to the resource.

Definition at line 634 of file SpotInstanceRequest.h.

◆ SetTags() [2/2]

void Aws::EC2::Model::SpotInstanceRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

Any tags assigned to the resource.

Definition at line 629 of file SpotInstanceRequest.h.

◆ SetType() [1/2]

void Aws::EC2::Model::SpotInstanceRequest::SetType ( const SpotInstanceType value)
inline

The Spot Instance request type.

Definition at line 670 of file SpotInstanceRequest.h.

◆ SetType() [2/2]

void Aws::EC2::Model::SpotInstanceRequest::SetType ( SpotInstanceType &&  value)
inline

The Spot Instance request type.

Definition at line 675 of file SpotInstanceRequest.h.

◆ SetValidFrom() [1/2]

void Aws::EC2::Model::SpotInstanceRequest::SetValidFrom ( Aws::Utils::DateTime &&  value)
inline

The start date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The request becomes active at this date and time.

Definition at line 714 of file SpotInstanceRequest.h.

◆ SetValidFrom() [2/2]

void Aws::EC2::Model::SpotInstanceRequest::SetValidFrom ( const Aws::Utils::DateTime value)
inline

The start date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The request becomes active at this date and time.

Definition at line 707 of file SpotInstanceRequest.h.

◆ SetValidUntil() [1/2]

void Aws::EC2::Model::SpotInstanceRequest::SetValidUntil ( Aws::Utils::DateTime &&  value)
inline

The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ).

  • For a persistent request, the request remains active until the validUntil date and time is reached. Otherwise, the request remains active until you cancel it.

  • For a one-time request, the request remains active until all instances launch, the request is canceled, or the validUntil date and time is reached. By default, the request is valid for 7 days from the date the request was created.

Definition at line 777 of file SpotInstanceRequest.h.

◆ SetValidUntil() [2/2]

void Aws::EC2::Model::SpotInstanceRequest::SetValidUntil ( const Aws::Utils::DateTime value)
inline

The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ).

  • For a persistent request, the request remains active until the validUntil date and time is reached. Otherwise, the request remains active until you cancel it.

  • For a one-time request, the request remains active until all instances launch, the request is canceled, or the validUntil date and time is reached. By default, the request is valid for 7 days from the date the request was created.

Definition at line 765 of file SpotInstanceRequest.h.

◆ SpotInstanceRequestIdHasBeenSet()

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

The ID of the Spot Instance request.

Definition at line 454 of file SpotInstanceRequest.h.

◆ SpotPriceHasBeenSet()

bool Aws::EC2::Model::SpotInstanceRequest::SpotPriceHasBeenSet ( ) const
inline

The maximum price per hour that you are willing to pay for a Spot Instance.

Definition at line 497 of file SpotInstanceRequest.h.

◆ StateHasBeenSet()

bool Aws::EC2::Model::SpotInstanceRequest::StateHasBeenSet ( ) const
inline

The state of the Spot Instance request. Spot status information helps track your Spot Instance requests. For more information, see Spot status in the Amazon EC2 User Guide for Linux Instances.

Definition at line 550 of file SpotInstanceRequest.h.

◆ StatusHasBeenSet()

bool Aws::EC2::Model::SpotInstanceRequest::StatusHasBeenSet ( ) const
inline

The status code and status message describing the Spot Instance request.

Definition at line 593 of file SpotInstanceRequest.h.

◆ TagsHasBeenSet()

bool Aws::EC2::Model::SpotInstanceRequest::TagsHasBeenSet ( ) const
inline

Any tags assigned to the resource.

Definition at line 624 of file SpotInstanceRequest.h.

◆ TypeHasBeenSet()

bool Aws::EC2::Model::SpotInstanceRequest::TypeHasBeenSet ( ) const
inline

The Spot Instance request type.

Definition at line 665 of file SpotInstanceRequest.h.

◆ ValidFromHasBeenSet()

bool Aws::EC2::Model::SpotInstanceRequest::ValidFromHasBeenSet ( ) const
inline

The start date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The request becomes active at this date and time.

Definition at line 700 of file SpotInstanceRequest.h.

◆ ValidUntilHasBeenSet()

bool Aws::EC2::Model::SpotInstanceRequest::ValidUntilHasBeenSet ( ) const
inline

The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ).

  • For a persistent request, the request remains active until the validUntil date and time is reached. Otherwise, the request remains active until you cancel it.

  • For a one-time request, the request remains active until all instances launch, the request is canceled, or the validUntil date and time is reached. By default, the request is valid for 7 days from the date the request was created.

Definition at line 753 of file SpotInstanceRequest.h.

◆ WithActualBlockHourlyPrice() [1/3]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithActualBlockHourlyPrice ( Aws::String &&  value)
inline

Deprecated.

Definition at line 85 of file SpotInstanceRequest.h.

◆ WithActualBlockHourlyPrice() [2/3]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithActualBlockHourlyPrice ( const Aws::String value)
inline

Deprecated.

Definition at line 80 of file SpotInstanceRequest.h.

◆ WithActualBlockHourlyPrice() [3/3]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithActualBlockHourlyPrice ( const char *  value)
inline

Deprecated.

Definition at line 90 of file SpotInstanceRequest.h.

◆ WithAvailabilityZoneGroup() [1/3]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithAvailabilityZoneGroup ( Aws::String &&  value)
inline

The Availability Zone group. If you specify the same Availability Zone group for all Spot Instance requests, all Spot Instances are launched in the same Availability Zone.

Definition at line 140 of file SpotInstanceRequest.h.

◆ WithAvailabilityZoneGroup() [2/3]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithAvailabilityZoneGroup ( const Aws::String value)
inline

The Availability Zone group. If you specify the same Availability Zone group for all Spot Instance requests, all Spot Instances are launched in the same Availability Zone.

Definition at line 133 of file SpotInstanceRequest.h.

◆ WithAvailabilityZoneGroup() [3/3]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithAvailabilityZoneGroup ( const char *  value)
inline

The Availability Zone group. If you specify the same Availability Zone group for all Spot Instance requests, all Spot Instances are launched in the same Availability Zone.

Definition at line 147 of file SpotInstanceRequest.h.

◆ WithBlockDurationMinutes()

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithBlockDurationMinutes ( int  value)
inline

Deprecated.

Definition at line 168 of file SpotInstanceRequest.h.

◆ WithCreateTime() [1/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithCreateTime ( Aws::Utils::DateTime &&  value)
inline

The date and time when the Spot Instance request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Definition at line 211 of file SpotInstanceRequest.h.

◆ WithCreateTime() [2/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithCreateTime ( const Aws::Utils::DateTime value)
inline

The date and time when the Spot Instance request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Definition at line 204 of file SpotInstanceRequest.h.

◆ WithFault() [1/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithFault ( const SpotInstanceStateFault value)
inline

The fault codes for the Spot Instance request, if any.

Definition at line 237 of file SpotInstanceRequest.h.

◆ WithFault() [2/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithFault ( SpotInstanceStateFault &&  value)
inline

The fault codes for the Spot Instance request, if any.

Definition at line 242 of file SpotInstanceRequest.h.

◆ WithInstanceId() [1/3]

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

The instance ID, if an instance has been launched to fulfill the Spot Instance request.

Definition at line 285 of file SpotInstanceRequest.h.

◆ WithInstanceId() [2/3]

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

The instance ID, if an instance has been launched to fulfill the Spot Instance request.

Definition at line 279 of file SpotInstanceRequest.h.

◆ WithInstanceId() [3/3]

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

The instance ID, if an instance has been launched to fulfill the Spot Instance request.

Definition at line 291 of file SpotInstanceRequest.h.

◆ WithInstanceInterruptionBehavior() [1/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithInstanceInterruptionBehavior ( const InstanceInterruptionBehavior value)
inline

The behavior when a Spot Instance is interrupted.

Definition at line 827 of file SpotInstanceRequest.h.

◆ WithInstanceInterruptionBehavior() [2/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithInstanceInterruptionBehavior ( InstanceInterruptionBehavior &&  value)
inline

The behavior when a Spot Instance is interrupted.

Definition at line 832 of file SpotInstanceRequest.h.

◆ WithLaunchedAvailabilityZone() [1/3]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithLaunchedAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone in which the request is launched.

Definition at line 407 of file SpotInstanceRequest.h.

◆ WithLaunchedAvailabilityZone() [2/3]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithLaunchedAvailabilityZone ( const Aws::String value)
inline

The Availability Zone in which the request is launched.

Definition at line 402 of file SpotInstanceRequest.h.

◆ WithLaunchedAvailabilityZone() [3/3]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithLaunchedAvailabilityZone ( const char *  value)
inline

The Availability Zone in which the request is launched.

Definition at line 412 of file SpotInstanceRequest.h.

◆ WithLaunchGroup() [1/3]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithLaunchGroup ( Aws::String &&  value)
inline

The instance launch group. Launch groups are Spot Instances that launch together and terminate together.

Definition at line 334 of file SpotInstanceRequest.h.

◆ WithLaunchGroup() [2/3]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithLaunchGroup ( const Aws::String value)
inline

The instance launch group. Launch groups are Spot Instances that launch together and terminate together.

Definition at line 328 of file SpotInstanceRequest.h.

◆ WithLaunchGroup() [3/3]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithLaunchGroup ( const char *  value)
inline

The instance launch group. Launch groups are Spot Instances that launch together and terminate together.

Definition at line 340 of file SpotInstanceRequest.h.

◆ WithLaunchSpecification() [1/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithLaunchSpecification ( const LaunchSpecification value)
inline

Additional information for launching instances.

Definition at line 366 of file SpotInstanceRequest.h.

◆ WithLaunchSpecification() [2/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithLaunchSpecification ( LaunchSpecification &&  value)
inline

Additional information for launching instances.

Definition at line 371 of file SpotInstanceRequest.h.

◆ WithProductDescription() [1/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithProductDescription ( const RIProductDescription value)
inline

The product description associated with the Spot Instance.

Definition at line 438 of file SpotInstanceRequest.h.

◆ WithProductDescription() [2/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithProductDescription ( RIProductDescription &&  value)
inline

The product description associated with the Spot Instance.

Definition at line 443 of file SpotInstanceRequest.h.

◆ WithSpotInstanceRequestId() [1/3]

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

The ID of the Spot Instance request.

Definition at line 479 of file SpotInstanceRequest.h.

◆ WithSpotInstanceRequestId() [2/3]

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

The ID of the Spot Instance request.

Definition at line 474 of file SpotInstanceRequest.h.

◆ WithSpotInstanceRequestId() [3/3]

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

The ID of the Spot Instance request.

Definition at line 484 of file SpotInstanceRequest.h.

◆ WithSpotPrice() [1/3]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithSpotPrice ( Aws::String &&  value)
inline

The maximum price per hour that you are willing to pay for a Spot Instance.

Definition at line 527 of file SpotInstanceRequest.h.

◆ WithSpotPrice() [2/3]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithSpotPrice ( const Aws::String value)
inline

The maximum price per hour that you are willing to pay for a Spot Instance.

Definition at line 521 of file SpotInstanceRequest.h.

◆ WithSpotPrice() [3/3]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithSpotPrice ( const char *  value)
inline

The maximum price per hour that you are willing to pay for a Spot Instance.

Definition at line 533 of file SpotInstanceRequest.h.

◆ WithState() [1/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithState ( const SpotInstanceState value)
inline

The state of the Spot Instance request. Spot status information helps track your Spot Instance requests. For more information, see Spot status in the Amazon EC2 User Guide for Linux Instances.

Definition at line 574 of file SpotInstanceRequest.h.

◆ WithState() [2/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithState ( SpotInstanceState &&  value)
inline

The state of the Spot Instance request. Spot status information helps track your Spot Instance requests. For more information, see Spot status in the Amazon EC2 User Guide for Linux Instances.

Definition at line 582 of file SpotInstanceRequest.h.

◆ WithStatus() [1/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithStatus ( const SpotInstanceStatus value)
inline

The status code and status message describing the Spot Instance request.

Definition at line 608 of file SpotInstanceRequest.h.

◆ WithStatus() [2/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithStatus ( SpotInstanceStatus &&  value)
inline

The status code and status message describing the Spot Instance request.

Definition at line 613 of file SpotInstanceRequest.h.

◆ WithTags() [1/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

Any tags assigned to the resource.

Definition at line 644 of file SpotInstanceRequest.h.

◆ WithTags() [2/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

Any tags assigned to the resource.

Definition at line 639 of file SpotInstanceRequest.h.

◆ WithType() [1/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithType ( const SpotInstanceType value)
inline

The Spot Instance request type.

Definition at line 680 of file SpotInstanceRequest.h.

◆ WithType() [2/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithType ( SpotInstanceType &&  value)
inline

The Spot Instance request type.

Definition at line 685 of file SpotInstanceRequest.h.

◆ WithValidFrom() [1/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithValidFrom ( Aws::Utils::DateTime &&  value)
inline

The start date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The request becomes active at this date and time.

Definition at line 728 of file SpotInstanceRequest.h.

◆ WithValidFrom() [2/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithValidFrom ( const Aws::Utils::DateTime value)
inline

The start date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The request becomes active at this date and time.

Definition at line 721 of file SpotInstanceRequest.h.

◆ WithValidUntil() [1/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithValidUntil ( Aws::Utils::DateTime &&  value)
inline

The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ).

  • For a persistent request, the request remains active until the validUntil date and time is reached. Otherwise, the request remains active until you cancel it.

  • For a one-time request, the request remains active until all instances launch, the request is canceled, or the validUntil date and time is reached. By default, the request is valid for 7 days from the date the request was created.

Definition at line 801 of file SpotInstanceRequest.h.

◆ WithValidUntil() [2/2]

SpotInstanceRequest& Aws::EC2::Model::SpotInstanceRequest::WithValidUntil ( const Aws::Utils::DateTime value)
inline

The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ).

  • For a persistent request, the request remains active until the validUntil date and time is reached. Otherwise, the request remains active until you cancel it.

  • For a one-time request, the request remains active until all instances launch, the request is canceled, or the validUntil date and time is reached. By default, the request is valid for 7 days from the date the request was created.

Definition at line 789 of file SpotInstanceRequest.h.


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