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

#include <LaunchTemplatePlacement.h>

Public Member Functions

 LaunchTemplatePlacement ()
 
 LaunchTemplatePlacement (const Aws::Utils::Xml::XmlNode &xmlNode)
 
LaunchTemplatePlacementoperator= (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)
 
LaunchTemplatePlacementWithAvailabilityZone (const Aws::String &value)
 
LaunchTemplatePlacementWithAvailabilityZone (Aws::String &&value)
 
LaunchTemplatePlacementWithAvailabilityZone (const char *value)
 
const Aws::StringGetAffinity () const
 
bool AffinityHasBeenSet () const
 
void SetAffinity (const Aws::String &value)
 
void SetAffinity (Aws::String &&value)
 
void SetAffinity (const char *value)
 
LaunchTemplatePlacementWithAffinity (const Aws::String &value)
 
LaunchTemplatePlacementWithAffinity (Aws::String &&value)
 
LaunchTemplatePlacementWithAffinity (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)
 
LaunchTemplatePlacementWithGroupName (const Aws::String &value)
 
LaunchTemplatePlacementWithGroupName (Aws::String &&value)
 
LaunchTemplatePlacementWithGroupName (const char *value)
 
const Aws::StringGetHostId () const
 
bool HostIdHasBeenSet () const
 
void SetHostId (const Aws::String &value)
 
void SetHostId (Aws::String &&value)
 
void SetHostId (const char *value)
 
LaunchTemplatePlacementWithHostId (const Aws::String &value)
 
LaunchTemplatePlacementWithHostId (Aws::String &&value)
 
LaunchTemplatePlacementWithHostId (const char *value)
 
const TenancyGetTenancy () const
 
bool TenancyHasBeenSet () const
 
void SetTenancy (const Tenancy &value)
 
void SetTenancy (Tenancy &&value)
 
LaunchTemplatePlacementWithTenancy (const Tenancy &value)
 
LaunchTemplatePlacementWithTenancy (Tenancy &&value)
 
const Aws::StringGetSpreadDomain () const
 
bool SpreadDomainHasBeenSet () const
 
void SetSpreadDomain (const Aws::String &value)
 
void SetSpreadDomain (Aws::String &&value)
 
void SetSpreadDomain (const char *value)
 
LaunchTemplatePlacementWithSpreadDomain (const Aws::String &value)
 
LaunchTemplatePlacementWithSpreadDomain (Aws::String &&value)
 
LaunchTemplatePlacementWithSpreadDomain (const char *value)
 
const Aws::StringGetHostResourceGroupArn () const
 
bool HostResourceGroupArnHasBeenSet () const
 
void SetHostResourceGroupArn (const Aws::String &value)
 
void SetHostResourceGroupArn (Aws::String &&value)
 
void SetHostResourceGroupArn (const char *value)
 
LaunchTemplatePlacementWithHostResourceGroupArn (const Aws::String &value)
 
LaunchTemplatePlacementWithHostResourceGroupArn (Aws::String &&value)
 
LaunchTemplatePlacementWithHostResourceGroupArn (const char *value)
 
int GetPartitionNumber () const
 
bool PartitionNumberHasBeenSet () const
 
void SetPartitionNumber (int value)
 
LaunchTemplatePlacementWithPartitionNumber (int value)
 

Detailed Description

Describes the placement of an instance.

See Also:

AWS API Reference

Definition at line 32 of file LaunchTemplatePlacement.h.

Constructor & Destructor Documentation

◆ LaunchTemplatePlacement() [1/2]

Aws::EC2::Model::LaunchTemplatePlacement::LaunchTemplatePlacement ( )

◆ LaunchTemplatePlacement() [2/2]

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

Member Function Documentation

◆ AffinityHasBeenSet()

bool Aws::EC2::Model::LaunchTemplatePlacement::AffinityHasBeenSet ( ) const
inline

The affinity setting for the instance on the Dedicated Host.

Definition at line 92 of file LaunchTemplatePlacement.h.

◆ AvailabilityZoneHasBeenSet()

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

The Availability Zone of the instance.

Definition at line 51 of file LaunchTemplatePlacement.h.

◆ GetAffinity()

const Aws::String& Aws::EC2::Model::LaunchTemplatePlacement::GetAffinity ( ) const
inline

The affinity setting for the instance on the Dedicated Host.

Definition at line 87 of file LaunchTemplatePlacement.h.

◆ GetAvailabilityZone()

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

The Availability Zone of the instance.

Definition at line 46 of file LaunchTemplatePlacement.h.

◆ GetGroupName()

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

The name of the placement group for the instance.

Definition at line 128 of file LaunchTemplatePlacement.h.

◆ GetHostId()

const Aws::String& Aws::EC2::Model::LaunchTemplatePlacement::GetHostId ( ) const
inline

The ID of the Dedicated Host for the instance.

Definition at line 169 of file LaunchTemplatePlacement.h.

◆ GetHostResourceGroupArn()

const Aws::String& Aws::EC2::Model::LaunchTemplatePlacement::GetHostResourceGroupArn ( ) const
inline

The ARN of the host resource group in which to launch the instances.

Definition at line 294 of file LaunchTemplatePlacement.h.

◆ GetPartitionNumber()

int Aws::EC2::Model::LaunchTemplatePlacement::GetPartitionNumber ( ) const
inline

The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.

Definition at line 336 of file LaunchTemplatePlacement.h.

◆ GetSpreadDomain()

const Aws::String& Aws::EC2::Model::LaunchTemplatePlacement::GetSpreadDomain ( ) const
inline

Reserved for future use.

Definition at line 253 of file LaunchTemplatePlacement.h.

◆ GetTenancy()

const Tenancy& Aws::EC2::Model::LaunchTemplatePlacement::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.

Definition at line 212 of file LaunchTemplatePlacement.h.

◆ GroupNameHasBeenSet()

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

The name of the placement group for the instance.

Definition at line 133 of file LaunchTemplatePlacement.h.

◆ HostIdHasBeenSet()

bool Aws::EC2::Model::LaunchTemplatePlacement::HostIdHasBeenSet ( ) const
inline

The ID of the Dedicated Host for the instance.

Definition at line 174 of file LaunchTemplatePlacement.h.

◆ HostResourceGroupArnHasBeenSet()

bool Aws::EC2::Model::LaunchTemplatePlacement::HostResourceGroupArnHasBeenSet ( ) const
inline

The ARN of the host resource group in which to launch the instances.

Definition at line 299 of file LaunchTemplatePlacement.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PartitionNumberHasBeenSet()

bool Aws::EC2::Model::LaunchTemplatePlacement::PartitionNumberHasBeenSet ( ) const
inline

The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.

Definition at line 342 of file LaunchTemplatePlacement.h.

◆ SetAffinity() [1/3]

void Aws::EC2::Model::LaunchTemplatePlacement::SetAffinity ( Aws::String &&  value)
inline

The affinity setting for the instance on the Dedicated Host.

Definition at line 102 of file LaunchTemplatePlacement.h.

◆ SetAffinity() [2/3]

void Aws::EC2::Model::LaunchTemplatePlacement::SetAffinity ( const Aws::String value)
inline

The affinity setting for the instance on the Dedicated Host.

Definition at line 97 of file LaunchTemplatePlacement.h.

◆ SetAffinity() [3/3]

void Aws::EC2::Model::LaunchTemplatePlacement::SetAffinity ( const char *  value)
inline

The affinity setting for the instance on the Dedicated Host.

Definition at line 107 of file LaunchTemplatePlacement.h.

◆ SetAvailabilityZone() [1/3]

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

The Availability Zone of the instance.

Definition at line 61 of file LaunchTemplatePlacement.h.

◆ SetAvailabilityZone() [2/3]

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

The Availability Zone of the instance.

Definition at line 56 of file LaunchTemplatePlacement.h.

◆ SetAvailabilityZone() [3/3]

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

The Availability Zone of the instance.

Definition at line 66 of file LaunchTemplatePlacement.h.

◆ SetGroupName() [1/3]

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

The name of the placement group for the instance.

Definition at line 143 of file LaunchTemplatePlacement.h.

◆ SetGroupName() [2/3]

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

The name of the placement group for the instance.

Definition at line 138 of file LaunchTemplatePlacement.h.

◆ SetGroupName() [3/3]

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

The name of the placement group for the instance.

Definition at line 148 of file LaunchTemplatePlacement.h.

◆ SetHostId() [1/3]

void Aws::EC2::Model::LaunchTemplatePlacement::SetHostId ( Aws::String &&  value)
inline

The ID of the Dedicated Host for the instance.

Definition at line 184 of file LaunchTemplatePlacement.h.

◆ SetHostId() [2/3]

void Aws::EC2::Model::LaunchTemplatePlacement::SetHostId ( const Aws::String value)
inline

The ID of the Dedicated Host for the instance.

Definition at line 179 of file LaunchTemplatePlacement.h.

◆ SetHostId() [3/3]

void Aws::EC2::Model::LaunchTemplatePlacement::SetHostId ( const char *  value)
inline

The ID of the Dedicated Host for the instance.

Definition at line 189 of file LaunchTemplatePlacement.h.

◆ SetHostResourceGroupArn() [1/3]

void Aws::EC2::Model::LaunchTemplatePlacement::SetHostResourceGroupArn ( Aws::String &&  value)
inline

The ARN of the host resource group in which to launch the instances.

Definition at line 309 of file LaunchTemplatePlacement.h.

◆ SetHostResourceGroupArn() [2/3]

void Aws::EC2::Model::LaunchTemplatePlacement::SetHostResourceGroupArn ( const Aws::String value)
inline

The ARN of the host resource group in which to launch the instances.

Definition at line 304 of file LaunchTemplatePlacement.h.

◆ SetHostResourceGroupArn() [3/3]

void Aws::EC2::Model::LaunchTemplatePlacement::SetHostResourceGroupArn ( const char *  value)
inline

The ARN of the host resource group in which to launch the instances.

Definition at line 314 of file LaunchTemplatePlacement.h.

◆ SetPartitionNumber()

void Aws::EC2::Model::LaunchTemplatePlacement::SetPartitionNumber ( int  value)
inline

The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.

Definition at line 348 of file LaunchTemplatePlacement.h.

◆ SetSpreadDomain() [1/3]

void Aws::EC2::Model::LaunchTemplatePlacement::SetSpreadDomain ( Aws::String &&  value)
inline

Reserved for future use.

Definition at line 268 of file LaunchTemplatePlacement.h.

◆ SetSpreadDomain() [2/3]

void Aws::EC2::Model::LaunchTemplatePlacement::SetSpreadDomain ( const Aws::String value)
inline

Reserved for future use.

Definition at line 263 of file LaunchTemplatePlacement.h.

◆ SetSpreadDomain() [3/3]

void Aws::EC2::Model::LaunchTemplatePlacement::SetSpreadDomain ( const char *  value)
inline

Reserved for future use.

Definition at line 273 of file LaunchTemplatePlacement.h.

◆ SetTenancy() [1/2]

void Aws::EC2::Model::LaunchTemplatePlacement::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.

Definition at line 226 of file LaunchTemplatePlacement.h.

◆ SetTenancy() [2/2]

void Aws::EC2::Model::LaunchTemplatePlacement::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.

Definition at line 233 of file LaunchTemplatePlacement.h.

◆ SpreadDomainHasBeenSet()

bool Aws::EC2::Model::LaunchTemplatePlacement::SpreadDomainHasBeenSet ( ) const
inline

Reserved for future use.

Definition at line 258 of file LaunchTemplatePlacement.h.

◆ TenancyHasBeenSet()

bool Aws::EC2::Model::LaunchTemplatePlacement::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.

Definition at line 219 of file LaunchTemplatePlacement.h.

◆ WithAffinity() [1/3]

LaunchTemplatePlacement& Aws::EC2::Model::LaunchTemplatePlacement::WithAffinity ( Aws::String &&  value)
inline

The affinity setting for the instance on the Dedicated Host.

Definition at line 117 of file LaunchTemplatePlacement.h.

◆ WithAffinity() [2/3]

LaunchTemplatePlacement& Aws::EC2::Model::LaunchTemplatePlacement::WithAffinity ( const Aws::String value)
inline

The affinity setting for the instance on the Dedicated Host.

Definition at line 112 of file LaunchTemplatePlacement.h.

◆ WithAffinity() [3/3]

LaunchTemplatePlacement& Aws::EC2::Model::LaunchTemplatePlacement::WithAffinity ( const char *  value)
inline

The affinity setting for the instance on the Dedicated Host.

Definition at line 122 of file LaunchTemplatePlacement.h.

◆ WithAvailabilityZone() [1/3]

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

The Availability Zone of the instance.

Definition at line 76 of file LaunchTemplatePlacement.h.

◆ WithAvailabilityZone() [2/3]

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

The Availability Zone of the instance.

Definition at line 71 of file LaunchTemplatePlacement.h.

◆ WithAvailabilityZone() [3/3]

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

The Availability Zone of the instance.

Definition at line 81 of file LaunchTemplatePlacement.h.

◆ WithGroupName() [1/3]

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

The name of the placement group for the instance.

Definition at line 158 of file LaunchTemplatePlacement.h.

◆ WithGroupName() [2/3]

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

The name of the placement group for the instance.

Definition at line 153 of file LaunchTemplatePlacement.h.

◆ WithGroupName() [3/3]

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

The name of the placement group for the instance.

Definition at line 163 of file LaunchTemplatePlacement.h.

◆ WithHostId() [1/3]

LaunchTemplatePlacement& Aws::EC2::Model::LaunchTemplatePlacement::WithHostId ( Aws::String &&  value)
inline

The ID of the Dedicated Host for the instance.

Definition at line 199 of file LaunchTemplatePlacement.h.

◆ WithHostId() [2/3]

LaunchTemplatePlacement& Aws::EC2::Model::LaunchTemplatePlacement::WithHostId ( const Aws::String value)
inline

The ID of the Dedicated Host for the instance.

Definition at line 194 of file LaunchTemplatePlacement.h.

◆ WithHostId() [3/3]

LaunchTemplatePlacement& Aws::EC2::Model::LaunchTemplatePlacement::WithHostId ( const char *  value)
inline

The ID of the Dedicated Host for the instance.

Definition at line 204 of file LaunchTemplatePlacement.h.

◆ WithHostResourceGroupArn() [1/3]

LaunchTemplatePlacement& Aws::EC2::Model::LaunchTemplatePlacement::WithHostResourceGroupArn ( Aws::String &&  value)
inline

The ARN of the host resource group in which to launch the instances.

Definition at line 324 of file LaunchTemplatePlacement.h.

◆ WithHostResourceGroupArn() [2/3]

LaunchTemplatePlacement& Aws::EC2::Model::LaunchTemplatePlacement::WithHostResourceGroupArn ( const Aws::String value)
inline

The ARN of the host resource group in which to launch the instances.

Definition at line 319 of file LaunchTemplatePlacement.h.

◆ WithHostResourceGroupArn() [3/3]

LaunchTemplatePlacement& Aws::EC2::Model::LaunchTemplatePlacement::WithHostResourceGroupArn ( const char *  value)
inline

The ARN of the host resource group in which to launch the instances.

Definition at line 329 of file LaunchTemplatePlacement.h.

◆ WithPartitionNumber()

LaunchTemplatePlacement& Aws::EC2::Model::LaunchTemplatePlacement::WithPartitionNumber ( int  value)
inline

The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.

Definition at line 354 of file LaunchTemplatePlacement.h.

◆ WithSpreadDomain() [1/3]

LaunchTemplatePlacement& Aws::EC2::Model::LaunchTemplatePlacement::WithSpreadDomain ( Aws::String &&  value)
inline

Reserved for future use.

Definition at line 283 of file LaunchTemplatePlacement.h.

◆ WithSpreadDomain() [2/3]

LaunchTemplatePlacement& Aws::EC2::Model::LaunchTemplatePlacement::WithSpreadDomain ( const Aws::String value)
inline

Reserved for future use.

Definition at line 278 of file LaunchTemplatePlacement.h.

◆ WithSpreadDomain() [3/3]

LaunchTemplatePlacement& Aws::EC2::Model::LaunchTemplatePlacement::WithSpreadDomain ( const char *  value)
inline

Reserved for future use.

Definition at line 288 of file LaunchTemplatePlacement.h.

◆ WithTenancy() [1/2]

LaunchTemplatePlacement& Aws::EC2::Model::LaunchTemplatePlacement::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.

Definition at line 240 of file LaunchTemplatePlacement.h.

◆ WithTenancy() [2/2]

LaunchTemplatePlacement& Aws::EC2::Model::LaunchTemplatePlacement::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.

Definition at line 247 of file LaunchTemplatePlacement.h.


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