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

#include <SpotPlacement.h>

Public Member Functions

 SpotPlacement ()
 
 SpotPlacement (const Aws::Utils::Xml::XmlNode &xmlNode)
 
SpotPlacementoperator= (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::StringGetAvailabilityZone () const
 
bool AvailabilityZoneHasBeenSet () const
 
void SetAvailabilityZone (const Aws::String &value)
 
void SetAvailabilityZone (Aws::String &&value)
 
void SetAvailabilityZone (const char *value)
 
SpotPlacementWithAvailabilityZone (const Aws::String &value)
 
SpotPlacementWithAvailabilityZone (Aws::String &&value)
 
SpotPlacementWithAvailabilityZone (const char *value)
 
const Aws::StringGetGroupName () const
 
bool GroupNameHasBeenSet () const
 
void SetGroupName (const Aws::String &value)
 
void SetGroupName (Aws::String &&value)
 
void SetGroupName (const char *value)
 
SpotPlacementWithGroupName (const Aws::String &value)
 
SpotPlacementWithGroupName (Aws::String &&value)
 
SpotPlacementWithGroupName (const char *value)
 
const TenancyGetTenancy () const
 
bool TenancyHasBeenSet () const
 
void SetTenancy (const Tenancy &value)
 
void SetTenancy (Tenancy &&value)
 
SpotPlacementWithTenancy (const Tenancy &value)
 
SpotPlacementWithTenancy (Tenancy &&value)
 

Detailed Description

Describes Spot Instance placement.

See Also:

AWS API Reference

Definition at line 32 of file SpotPlacement.h.

Constructor & Destructor Documentation

◆ SpotPlacement() [1/2]

Aws::EC2::Model::SpotPlacement::SpotPlacement ( )

◆ SpotPlacement() [2/2]

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

Member Function Documentation

◆ AvailabilityZoneHasBeenSet()

bool Aws::EC2::Model::SpotPlacement::AvailabilityZoneHasBeenSet ( ) const
inline

The Availability Zone.

[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".

Definition at line 55 of file SpotPlacement.h.

◆ GetAvailabilityZone()

const Aws::String& Aws::EC2::Model::SpotPlacement::GetAvailabilityZone ( ) const
inline

The Availability Zone.

[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".

Definition at line 48 of file SpotPlacement.h.

◆ GetGroupName()

const Aws::String& Aws::EC2::Model::SpotPlacement::GetGroupName ( ) const
inline

The name of the placement group.

Definition at line 103 of file SpotPlacement.h.

◆ GetTenancy()

const Tenancy& Aws::EC2::Model::SpotPlacement::GetTenancy ( ) const
inline

The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware. The host tenancy is not supported for Spot Instances.

Definition at line 146 of file SpotPlacement.h.

◆ GroupNameHasBeenSet()

bool Aws::EC2::Model::SpotPlacement::GroupNameHasBeenSet ( ) const
inline

The name of the placement group.

Definition at line 108 of file SpotPlacement.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ SetAvailabilityZone() [1/3]

void Aws::EC2::Model::SpotPlacement::SetAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone.

[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".

Definition at line 69 of file SpotPlacement.h.

◆ SetAvailabilityZone() [2/3]

void Aws::EC2::Model::SpotPlacement::SetAvailabilityZone ( const Aws::String value)
inline

The Availability Zone.

[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".

Definition at line 62 of file SpotPlacement.h.

◆ SetAvailabilityZone() [3/3]

void Aws::EC2::Model::SpotPlacement::SetAvailabilityZone ( const char *  value)
inline

The Availability Zone.

[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".

Definition at line 76 of file SpotPlacement.h.

◆ SetGroupName() [1/3]

void Aws::EC2::Model::SpotPlacement::SetGroupName ( Aws::String &&  value)
inline

The name of the placement group.

Definition at line 118 of file SpotPlacement.h.

◆ SetGroupName() [2/3]

void Aws::EC2::Model::SpotPlacement::SetGroupName ( const Aws::String value)
inline

The name of the placement group.

Definition at line 113 of file SpotPlacement.h.

◆ SetGroupName() [3/3]

void Aws::EC2::Model::SpotPlacement::SetGroupName ( const char *  value)
inline

The name of the placement group.

Definition at line 123 of file SpotPlacement.h.

◆ SetTenancy() [1/2]

void Aws::EC2::Model::SpotPlacement::SetTenancy ( const Tenancy value)
inline

The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware. The host tenancy is not supported for Spot Instances.

Definition at line 160 of file SpotPlacement.h.

◆ SetTenancy() [2/2]

void Aws::EC2::Model::SpotPlacement::SetTenancy ( Tenancy &&  value)
inline

The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware. The host tenancy is not supported for Spot Instances.

Definition at line 167 of file SpotPlacement.h.

◆ TenancyHasBeenSet()

bool Aws::EC2::Model::SpotPlacement::TenancyHasBeenSet ( ) const
inline

The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware. The host tenancy is not supported for Spot Instances.

Definition at line 153 of file SpotPlacement.h.

◆ WithAvailabilityZone() [1/3]

SpotPlacement& Aws::EC2::Model::SpotPlacement::WithAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone.

[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".

Definition at line 90 of file SpotPlacement.h.

◆ WithAvailabilityZone() [2/3]

SpotPlacement& Aws::EC2::Model::SpotPlacement::WithAvailabilityZone ( const Aws::String value)
inline

The Availability Zone.

[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".

Definition at line 83 of file SpotPlacement.h.

◆ WithAvailabilityZone() [3/3]

SpotPlacement& Aws::EC2::Model::SpotPlacement::WithAvailabilityZone ( const char *  value)
inline

The Availability Zone.

[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".

Definition at line 97 of file SpotPlacement.h.

◆ WithGroupName() [1/3]

SpotPlacement& Aws::EC2::Model::SpotPlacement::WithGroupName ( Aws::String &&  value)
inline

The name of the placement group.

Definition at line 133 of file SpotPlacement.h.

◆ WithGroupName() [2/3]

SpotPlacement& Aws::EC2::Model::SpotPlacement::WithGroupName ( const Aws::String value)
inline

The name of the placement group.

Definition at line 128 of file SpotPlacement.h.

◆ WithGroupName() [3/3]

SpotPlacement& Aws::EC2::Model::SpotPlacement::WithGroupName ( const char *  value)
inline

The name of the placement group.

Definition at line 138 of file SpotPlacement.h.

◆ WithTenancy() [1/2]

SpotPlacement& Aws::EC2::Model::SpotPlacement::WithTenancy ( const Tenancy value)
inline

The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware. The host tenancy is not supported for Spot Instances.

Definition at line 174 of file SpotPlacement.h.

◆ WithTenancy() [2/2]

SpotPlacement& Aws::EC2::Model::SpotPlacement::WithTenancy ( Tenancy &&  value)
inline

The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware. The host tenancy is not supported for Spot Instances.

Definition at line 181 of file SpotPlacement.h.


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