AWS SDK for C++  1.7.233
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::EC2::Model::AllocateHostsRequest Class Reference

#include <AllocateHostsRequest.h>

+ Inheritance diagram for Aws::EC2::Model::AllocateHostsRequest:

Public Member Functions

 AllocateHostsRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const AutoPlacementGetAutoPlacement () const
 
bool AutoPlacementHasBeenSet () const
 
void SetAutoPlacement (const AutoPlacement &value)
 
void SetAutoPlacement (AutoPlacement &&value)
 
AllocateHostsRequestWithAutoPlacement (const AutoPlacement &value)
 
AllocateHostsRequestWithAutoPlacement (AutoPlacement &&value)
 
const Aws::StringGetAvailabilityZone () const
 
bool AvailabilityZoneHasBeenSet () const
 
void SetAvailabilityZone (const Aws::String &value)
 
void SetAvailabilityZone (Aws::String &&value)
 
void SetAvailabilityZone (const char *value)
 
AllocateHostsRequestWithAvailabilityZone (const Aws::String &value)
 
AllocateHostsRequestWithAvailabilityZone (Aws::String &&value)
 
AllocateHostsRequestWithAvailabilityZone (const char *value)
 
const Aws::StringGetClientToken () const
 
bool ClientTokenHasBeenSet () const
 
void SetClientToken (const Aws::String &value)
 
void SetClientToken (Aws::String &&value)
 
void SetClientToken (const char *value)
 
AllocateHostsRequestWithClientToken (const Aws::String &value)
 
AllocateHostsRequestWithClientToken (Aws::String &&value)
 
AllocateHostsRequestWithClientToken (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)
 
AllocateHostsRequestWithInstanceType (const Aws::String &value)
 
AllocateHostsRequestWithInstanceType (Aws::String &&value)
 
AllocateHostsRequestWithInstanceType (const char *value)
 
const Aws::StringGetInstanceFamily () const
 
bool InstanceFamilyHasBeenSet () const
 
void SetInstanceFamily (const Aws::String &value)
 
void SetInstanceFamily (Aws::String &&value)
 
void SetInstanceFamily (const char *value)
 
AllocateHostsRequestWithInstanceFamily (const Aws::String &value)
 
AllocateHostsRequestWithInstanceFamily (Aws::String &&value)
 
AllocateHostsRequestWithInstanceFamily (const char *value)
 
int GetQuantity () const
 
bool QuantityHasBeenSet () const
 
void SetQuantity (int value)
 
AllocateHostsRequestWithQuantity (int value)
 
const Aws::Vector< TagSpecification > & GetTagSpecifications () const
 
bool TagSpecificationsHasBeenSet () const
 
void SetTagSpecifications (const Aws::Vector< TagSpecification > &value)
 
void SetTagSpecifications (Aws::Vector< TagSpecification > &&value)
 
AllocateHostsRequestWithTagSpecifications (const Aws::Vector< TagSpecification > &value)
 
AllocateHostsRequestWithTagSpecifications (Aws::Vector< TagSpecification > &&value)
 
AllocateHostsRequestAddTagSpecifications (const TagSpecification &value)
 
AllocateHostsRequestAddTagSpecifications (TagSpecification &&value)
 
const HostRecoveryGetHostRecovery () const
 
bool HostRecoveryHasBeenSet () const
 
void SetHostRecovery (const HostRecovery &value)
 
void SetHostRecovery (HostRecovery &&value)
 
AllocateHostsRequestWithHostRecovery (const HostRecovery &value)
 
AllocateHostsRequestWithHostRecovery (HostRecovery &&value)
 
- Public Member Functions inherited from Aws::EC2::EC2Request
virtual ~EC2Request ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Protected Member Functions

void DumpBodyToUrl (Aws::Http::URI &uri) const override
 
- Protected Member Functions inherited from Aws::EC2::EC2Request
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

Definition at line 35 of file AllocateHostsRequest.h.

Constructor & Destructor Documentation

◆ AllocateHostsRequest()

Aws::EC2::Model::AllocateHostsRequest::AllocateHostsRequest ( )

Member Function Documentation

◆ AddTagSpecifications() [1/2]

AllocateHostsRequest& Aws::EC2::Model::AllocateHostsRequest::AddTagSpecifications ( const TagSpecification value)
inline

The tags to apply to the Dedicated Host during creation.

Definition at line 440 of file AllocateHostsRequest.h.

◆ AddTagSpecifications() [2/2]

AllocateHostsRequest& Aws::EC2::Model::AllocateHostsRequest::AddTagSpecifications ( TagSpecification &&  value)
inline

The tags to apply to the Dedicated Host during creation.

Definition at line 445 of file AllocateHostsRequest.h.

◆ AutoPlacementHasBeenSet()

bool Aws::EC2::Model::AllocateHostsRequest::AutoPlacementHasBeenSet ( ) const
inline

Indicates whether the host accepts any untargeted instance launches that match its instance type configuration, or if it only accepts Host tenancy instance launches that specify its unique host ID. For more information, see Understanding Instance Placement and Host Affinity in the Amazon EC2 User Guide for Linux Instances.

Default: on

Definition at line 71 of file AllocateHostsRequest.h.

◆ AvailabilityZoneHasBeenSet()

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

The Availability Zone in which to allocate the Dedicated Host.

Definition at line 122 of file AllocateHostsRequest.h.

◆ ClientTokenHasBeenSet()

bool Aws::EC2::Model::AllocateHostsRequest::ClientTokenHasBeenSet ( ) const
inline

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

Definition at line 169 of file AllocateHostsRequest.h.

◆ DumpBodyToUrl()

void Aws::EC2::Model::AllocateHostsRequest::DumpBodyToUrl ( Aws::Http::URI uri) const
overrideprotectedvirtual

Default does nothing. Override this to convert what would otherwise be the payload of the request to a query string format.

Reimplemented from Aws::AmazonWebServiceRequest.

◆ GetAutoPlacement()

const AutoPlacement& Aws::EC2::Model::AllocateHostsRequest::GetAutoPlacement ( ) const
inline

Indicates whether the host accepts any untargeted instance launches that match its instance type configuration, or if it only accepts Host tenancy instance launches that specify its unique host ID. For more information, see Understanding Instance Placement and Host Affinity in the Amazon EC2 User Guide for Linux Instances.

Default: on

Definition at line 61 of file AllocateHostsRequest.h.

◆ GetAvailabilityZone()

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

The Availability Zone in which to allocate the Dedicated Host.

Definition at line 117 of file AllocateHostsRequest.h.

◆ GetClientToken()

const Aws::String& Aws::EC2::Model::AllocateHostsRequest::GetClientToken ( ) const
inline

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

Definition at line 161 of file AllocateHostsRequest.h.

◆ GetHostRecovery()

const HostRecovery& Aws::EC2::Model::AllocateHostsRequest::GetHostRecovery ( ) const
inline

Indicates whether to enable or disable host recovery for the Dedicated Host. Host recovery is disabled by default. For more information, see Host Recovery in the Amazon Elastic Compute Cloud User Guide.

Default: off

Definition at line 455 of file AllocateHostsRequest.h.

◆ GetInstanceFamily()

const Aws::String& Aws::EC2::Model::AllocateHostsRequest::GetInstanceFamily ( ) const
inline

Specifies the instance family to be supported by the Dedicated Hosts. If you specify an instance family, the Dedicated Hosts support multiple instance types within that instance family.

If you want the Dedicated Hosts to support a specific instance type only, omit this parameter and specify InstanceType instead. You cannot specify InstanceFamily and InstanceType in the same request.

Definition at line 309 of file AllocateHostsRequest.h.

◆ GetInstanceType()

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

Specifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only.

If you want the Dedicated Hosts to support multiple instance types in a specific instance family, omit this parameter and specify InstanceFamily instead. You cannot specify InstanceType and InstanceFamily in the same request.

Definition at line 228 of file AllocateHostsRequest.h.

◆ GetQuantity()

int Aws::EC2::Model::AllocateHostsRequest::GetQuantity ( ) const
inline

The number of Dedicated Hosts to allocate to your account with these parameters.

Definition at line 386 of file AllocateHostsRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::EC2::Model::AllocateHostsRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 44 of file AllocateHostsRequest.h.

◆ GetTagSpecifications()

const Aws::Vector<TagSpecification>& Aws::EC2::Model::AllocateHostsRequest::GetTagSpecifications ( ) const
inline

The tags to apply to the Dedicated Host during creation.

Definition at line 410 of file AllocateHostsRequest.h.

◆ HostRecoveryHasBeenSet()

bool Aws::EC2::Model::AllocateHostsRequest::HostRecoveryHasBeenSet ( ) const
inline

Indicates whether to enable or disable host recovery for the Dedicated Host. Host recovery is disabled by default. For more information, see Host Recovery in the Amazon Elastic Compute Cloud User Guide.

Default: off

Definition at line 464 of file AllocateHostsRequest.h.

◆ InstanceFamilyHasBeenSet()

bool Aws::EC2::Model::AllocateHostsRequest::InstanceFamilyHasBeenSet ( ) const
inline

Specifies the instance family to be supported by the Dedicated Hosts. If you specify an instance family, the Dedicated Hosts support multiple instance types within that instance family.

If you want the Dedicated Hosts to support a specific instance type only, omit this parameter and specify InstanceType instead. You cannot specify InstanceFamily and InstanceType in the same request.

Definition at line 319 of file AllocateHostsRequest.h.

◆ InstanceTypeHasBeenSet()

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

Specifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only.

If you want the Dedicated Hosts to support multiple instance types in a specific instance family, omit this parameter and specify InstanceFamily instead. You cannot specify InstanceType and InstanceFamily in the same request.

Definition at line 238 of file AllocateHostsRequest.h.

◆ QuantityHasBeenSet()

bool Aws::EC2::Model::AllocateHostsRequest::QuantityHasBeenSet ( ) const
inline

The number of Dedicated Hosts to allocate to your account with these parameters.

Definition at line 392 of file AllocateHostsRequest.h.

◆ SerializePayload()

Aws::String Aws::EC2::Model::AllocateHostsRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAutoPlacement() [1/2]

void Aws::EC2::Model::AllocateHostsRequest::SetAutoPlacement ( const AutoPlacement value)
inline

Indicates whether the host accepts any untargeted instance launches that match its instance type configuration, or if it only accepts Host tenancy instance launches that specify its unique host ID. For more information, see Understanding Instance Placement and Host Affinity in the Amazon EC2 User Guide for Linux Instances.

Default: on

Definition at line 81 of file AllocateHostsRequest.h.

◆ SetAutoPlacement() [2/2]

void Aws::EC2::Model::AllocateHostsRequest::SetAutoPlacement ( AutoPlacement &&  value)
inline

Indicates whether the host accepts any untargeted instance launches that match its instance type configuration, or if it only accepts Host tenancy instance launches that specify its unique host ID. For more information, see Understanding Instance Placement and Host Affinity in the Amazon EC2 User Guide for Linux Instances.

Default: on

Definition at line 91 of file AllocateHostsRequest.h.

◆ SetAvailabilityZone() [1/3]

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

The Availability Zone in which to allocate the Dedicated Host.

Definition at line 127 of file AllocateHostsRequest.h.

◆ SetAvailabilityZone() [2/3]

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

The Availability Zone in which to allocate the Dedicated Host.

Definition at line 132 of file AllocateHostsRequest.h.

◆ SetAvailabilityZone() [3/3]

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

The Availability Zone in which to allocate the Dedicated Host.

Definition at line 137 of file AllocateHostsRequest.h.

◆ SetClientToken() [1/3]

void Aws::EC2::Model::AllocateHostsRequest::SetClientToken ( const Aws::String value)
inline

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

Definition at line 177 of file AllocateHostsRequest.h.

◆ SetClientToken() [2/3]

void Aws::EC2::Model::AllocateHostsRequest::SetClientToken ( Aws::String &&  value)
inline

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

Definition at line 185 of file AllocateHostsRequest.h.

◆ SetClientToken() [3/3]

void Aws::EC2::Model::AllocateHostsRequest::SetClientToken ( const char *  value)
inline

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

Definition at line 193 of file AllocateHostsRequest.h.

◆ SetHostRecovery() [1/2]

void Aws::EC2::Model::AllocateHostsRequest::SetHostRecovery ( const HostRecovery value)
inline

Indicates whether to enable or disable host recovery for the Dedicated Host. Host recovery is disabled by default. For more information, see Host Recovery in the Amazon Elastic Compute Cloud User Guide.

Default: off

Definition at line 473 of file AllocateHostsRequest.h.

◆ SetHostRecovery() [2/2]

void Aws::EC2::Model::AllocateHostsRequest::SetHostRecovery ( HostRecovery &&  value)
inline

Indicates whether to enable or disable host recovery for the Dedicated Host. Host recovery is disabled by default. For more information, see Host Recovery in the Amazon Elastic Compute Cloud User Guide.

Default: off

Definition at line 482 of file AllocateHostsRequest.h.

◆ SetInstanceFamily() [1/3]

void Aws::EC2::Model::AllocateHostsRequest::SetInstanceFamily ( const Aws::String value)
inline

Specifies the instance family to be supported by the Dedicated Hosts. If you specify an instance family, the Dedicated Hosts support multiple instance types within that instance family.

If you want the Dedicated Hosts to support a specific instance type only, omit this parameter and specify InstanceType instead. You cannot specify InstanceFamily and InstanceType in the same request.

Definition at line 329 of file AllocateHostsRequest.h.

◆ SetInstanceFamily() [2/3]

void Aws::EC2::Model::AllocateHostsRequest::SetInstanceFamily ( Aws::String &&  value)
inline

Specifies the instance family to be supported by the Dedicated Hosts. If you specify an instance family, the Dedicated Hosts support multiple instance types within that instance family.

If you want the Dedicated Hosts to support a specific instance type only, omit this parameter and specify InstanceType instead. You cannot specify InstanceFamily and InstanceType in the same request.

Definition at line 339 of file AllocateHostsRequest.h.

◆ SetInstanceFamily() [3/3]

void Aws::EC2::Model::AllocateHostsRequest::SetInstanceFamily ( const char *  value)
inline

Specifies the instance family to be supported by the Dedicated Hosts. If you specify an instance family, the Dedicated Hosts support multiple instance types within that instance family.

If you want the Dedicated Hosts to support a specific instance type only, omit this parameter and specify InstanceType instead. You cannot specify InstanceFamily and InstanceType in the same request.

Definition at line 349 of file AllocateHostsRequest.h.

◆ SetInstanceType() [1/3]

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

Specifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only.

If you want the Dedicated Hosts to support multiple instance types in a specific instance family, omit this parameter and specify InstanceFamily instead. You cannot specify InstanceType and InstanceFamily in the same request.

Definition at line 248 of file AllocateHostsRequest.h.

◆ SetInstanceType() [2/3]

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

Specifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only.

If you want the Dedicated Hosts to support multiple instance types in a specific instance family, omit this parameter and specify InstanceFamily instead. You cannot specify InstanceType and InstanceFamily in the same request.

Definition at line 258 of file AllocateHostsRequest.h.

◆ SetInstanceType() [3/3]

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

Specifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only.

If you want the Dedicated Hosts to support multiple instance types in a specific instance family, omit this parameter and specify InstanceFamily instead. You cannot specify InstanceType and InstanceFamily in the same request.

Definition at line 268 of file AllocateHostsRequest.h.

◆ SetQuantity()

void Aws::EC2::Model::AllocateHostsRequest::SetQuantity ( int  value)
inline

The number of Dedicated Hosts to allocate to your account with these parameters.

Definition at line 398 of file AllocateHostsRequest.h.

◆ SetTagSpecifications() [1/2]

void Aws::EC2::Model::AllocateHostsRequest::SetTagSpecifications ( const Aws::Vector< TagSpecification > &  value)
inline

The tags to apply to the Dedicated Host during creation.

Definition at line 420 of file AllocateHostsRequest.h.

◆ SetTagSpecifications() [2/2]

void Aws::EC2::Model::AllocateHostsRequest::SetTagSpecifications ( Aws::Vector< TagSpecification > &&  value)
inline

The tags to apply to the Dedicated Host during creation.

Definition at line 425 of file AllocateHostsRequest.h.

◆ TagSpecificationsHasBeenSet()

bool Aws::EC2::Model::AllocateHostsRequest::TagSpecificationsHasBeenSet ( ) const
inline

The tags to apply to the Dedicated Host during creation.

Definition at line 415 of file AllocateHostsRequest.h.

◆ WithAutoPlacement() [1/2]

AllocateHostsRequest& Aws::EC2::Model::AllocateHostsRequest::WithAutoPlacement ( const AutoPlacement value)
inline

Indicates whether the host accepts any untargeted instance launches that match its instance type configuration, or if it only accepts Host tenancy instance launches that specify its unique host ID. For more information, see Understanding Instance Placement and Host Affinity in the Amazon EC2 User Guide for Linux Instances.

Default: on

Definition at line 101 of file AllocateHostsRequest.h.

◆ WithAutoPlacement() [2/2]

AllocateHostsRequest& Aws::EC2::Model::AllocateHostsRequest::WithAutoPlacement ( AutoPlacement &&  value)
inline

Indicates whether the host accepts any untargeted instance launches that match its instance type configuration, or if it only accepts Host tenancy instance launches that specify its unique host ID. For more information, see Understanding Instance Placement and Host Affinity in the Amazon EC2 User Guide for Linux Instances.

Default: on

Definition at line 111 of file AllocateHostsRequest.h.

◆ WithAvailabilityZone() [1/3]

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

The Availability Zone in which to allocate the Dedicated Host.

Definition at line 142 of file AllocateHostsRequest.h.

◆ WithAvailabilityZone() [2/3]

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

The Availability Zone in which to allocate the Dedicated Host.

Definition at line 147 of file AllocateHostsRequest.h.

◆ WithAvailabilityZone() [3/3]

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

The Availability Zone in which to allocate the Dedicated Host.

Definition at line 152 of file AllocateHostsRequest.h.

◆ WithClientToken() [1/3]

AllocateHostsRequest& Aws::EC2::Model::AllocateHostsRequest::WithClientToken ( const Aws::String value)
inline

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

Definition at line 201 of file AllocateHostsRequest.h.

◆ WithClientToken() [2/3]

AllocateHostsRequest& Aws::EC2::Model::AllocateHostsRequest::WithClientToken ( Aws::String &&  value)
inline

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

Definition at line 209 of file AllocateHostsRequest.h.

◆ WithClientToken() [3/3]

AllocateHostsRequest& Aws::EC2::Model::AllocateHostsRequest::WithClientToken ( const char *  value)
inline

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

Definition at line 217 of file AllocateHostsRequest.h.

◆ WithHostRecovery() [1/2]

AllocateHostsRequest& Aws::EC2::Model::AllocateHostsRequest::WithHostRecovery ( const HostRecovery value)
inline

Indicates whether to enable or disable host recovery for the Dedicated Host. Host recovery is disabled by default. For more information, see Host Recovery in the Amazon Elastic Compute Cloud User Guide.

Default: off

Definition at line 491 of file AllocateHostsRequest.h.

◆ WithHostRecovery() [2/2]

AllocateHostsRequest& Aws::EC2::Model::AllocateHostsRequest::WithHostRecovery ( HostRecovery &&  value)
inline

Indicates whether to enable or disable host recovery for the Dedicated Host. Host recovery is disabled by default. For more information, see Host Recovery in the Amazon Elastic Compute Cloud User Guide.

Default: off

Definition at line 500 of file AllocateHostsRequest.h.

◆ WithInstanceFamily() [1/3]

AllocateHostsRequest& Aws::EC2::Model::AllocateHostsRequest::WithInstanceFamily ( const Aws::String value)
inline

Specifies the instance family to be supported by the Dedicated Hosts. If you specify an instance family, the Dedicated Hosts support multiple instance types within that instance family.

If you want the Dedicated Hosts to support a specific instance type only, omit this parameter and specify InstanceType instead. You cannot specify InstanceFamily and InstanceType in the same request.

Definition at line 359 of file AllocateHostsRequest.h.

◆ WithInstanceFamily() [2/3]

AllocateHostsRequest& Aws::EC2::Model::AllocateHostsRequest::WithInstanceFamily ( Aws::String &&  value)
inline

Specifies the instance family to be supported by the Dedicated Hosts. If you specify an instance family, the Dedicated Hosts support multiple instance types within that instance family.

If you want the Dedicated Hosts to support a specific instance type only, omit this parameter and specify InstanceType instead. You cannot specify InstanceFamily and InstanceType in the same request.

Definition at line 369 of file AllocateHostsRequest.h.

◆ WithInstanceFamily() [3/3]

AllocateHostsRequest& Aws::EC2::Model::AllocateHostsRequest::WithInstanceFamily ( const char *  value)
inline

Specifies the instance family to be supported by the Dedicated Hosts. If you specify an instance family, the Dedicated Hosts support multiple instance types within that instance family.

If you want the Dedicated Hosts to support a specific instance type only, omit this parameter and specify InstanceType instead. You cannot specify InstanceFamily and InstanceType in the same request.

Definition at line 379 of file AllocateHostsRequest.h.

◆ WithInstanceType() [1/3]

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

Specifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only.

If you want the Dedicated Hosts to support multiple instance types in a specific instance family, omit this parameter and specify InstanceFamily instead. You cannot specify InstanceType and InstanceFamily in the same request.

Definition at line 278 of file AllocateHostsRequest.h.

◆ WithInstanceType() [2/3]

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

Specifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only.

If you want the Dedicated Hosts to support multiple instance types in a specific instance family, omit this parameter and specify InstanceFamily instead. You cannot specify InstanceType and InstanceFamily in the same request.

Definition at line 288 of file AllocateHostsRequest.h.

◆ WithInstanceType() [3/3]

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

Specifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only.

If you want the Dedicated Hosts to support multiple instance types in a specific instance family, omit this parameter and specify InstanceFamily instead. You cannot specify InstanceType and InstanceFamily in the same request.

Definition at line 298 of file AllocateHostsRequest.h.

◆ WithQuantity()

AllocateHostsRequest& Aws::EC2::Model::AllocateHostsRequest::WithQuantity ( int  value)
inline

The number of Dedicated Hosts to allocate to your account with these parameters.

Definition at line 404 of file AllocateHostsRequest.h.

◆ WithTagSpecifications() [1/2]

AllocateHostsRequest& Aws::EC2::Model::AllocateHostsRequest::WithTagSpecifications ( const Aws::Vector< TagSpecification > &  value)
inline

The tags to apply to the Dedicated Host during creation.

Definition at line 430 of file AllocateHostsRequest.h.

◆ WithTagSpecifications() [2/2]

AllocateHostsRequest& Aws::EC2::Model::AllocateHostsRequest::WithTagSpecifications ( Aws::Vector< TagSpecification > &&  value)
inline

The tags to apply to the Dedicated Host during creation.

Definition at line 435 of file AllocateHostsRequest.h.


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