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

#include <ModifyHostsRequest.h>

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

Public Member Functions

 ModifyHostsRequest ()
 
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)
 
ModifyHostsRequestWithAutoPlacement (const AutoPlacement &value)
 
ModifyHostsRequestWithAutoPlacement (AutoPlacement &&value)
 
const Aws::Vector< Aws::String > & GetHostIds () const
 
bool HostIdsHasBeenSet () const
 
void SetHostIds (const Aws::Vector< Aws::String > &value)
 
void SetHostIds (Aws::Vector< Aws::String > &&value)
 
ModifyHostsRequestWithHostIds (const Aws::Vector< Aws::String > &value)
 
ModifyHostsRequestWithHostIds (Aws::Vector< Aws::String > &&value)
 
ModifyHostsRequestAddHostIds (const Aws::String &value)
 
ModifyHostsRequestAddHostIds (Aws::String &&value)
 
ModifyHostsRequestAddHostIds (const char *value)
 
const HostRecoveryGetHostRecovery () const
 
bool HostRecoveryHasBeenSet () const
 
void SetHostRecovery (const HostRecovery &value)
 
void SetHostRecovery (HostRecovery &&value)
 
ModifyHostsRequestWithHostRecovery (const HostRecovery &value)
 
ModifyHostsRequestWithHostRecovery (HostRecovery &&value)
 
const Aws::StringGetInstanceType () const
 
bool InstanceTypeHasBeenSet () const
 
void SetInstanceType (const Aws::String &value)
 
void SetInstanceType (Aws::String &&value)
 
void SetInstanceType (const char *value)
 
ModifyHostsRequestWithInstanceType (const Aws::String &value)
 
ModifyHostsRequestWithInstanceType (Aws::String &&value)
 
ModifyHostsRequestWithInstanceType (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)
 
ModifyHostsRequestWithInstanceFamily (const Aws::String &value)
 
ModifyHostsRequestWithInstanceFamily (Aws::String &&value)
 
ModifyHostsRequestWithInstanceFamily (const char *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 34 of file ModifyHostsRequest.h.

Constructor & Destructor Documentation

◆ ModifyHostsRequest()

Aws::EC2::Model::ModifyHostsRequest::ModifyHostsRequest ( )

Member Function Documentation

◆ AddHostIds() [1/3]

ModifyHostsRequest& Aws::EC2::Model::ModifyHostsRequest::AddHostIds ( const Aws::String value)
inline

The IDs of the Dedicated Hosts to modify.

Definition at line 116 of file ModifyHostsRequest.h.

◆ AddHostIds() [2/3]

ModifyHostsRequest& Aws::EC2::Model::ModifyHostsRequest::AddHostIds ( Aws::String &&  value)
inline

The IDs of the Dedicated Hosts to modify.

Definition at line 121 of file ModifyHostsRequest.h.

◆ AddHostIds() [3/3]

ModifyHostsRequest& Aws::EC2::Model::ModifyHostsRequest::AddHostIds ( const char *  value)
inline

The IDs of the Dedicated Hosts to modify.

Definition at line 126 of file ModifyHostsRequest.h.

◆ AutoPlacementHasBeenSet()

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

Specify whether to enable or disable auto-placement.

Definition at line 60 of file ModifyHostsRequest.h.

◆ DumpBodyToUrl()

void Aws::EC2::Model::ModifyHostsRequest::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::ModifyHostsRequest::GetAutoPlacement ( ) const
inline

Specify whether to enable or disable auto-placement.

Definition at line 55 of file ModifyHostsRequest.h.

◆ GetHostIds()

const Aws::Vector<Aws::String>& Aws::EC2::Model::ModifyHostsRequest::GetHostIds ( ) const
inline

The IDs of the Dedicated Hosts to modify.

Definition at line 86 of file ModifyHostsRequest.h.

◆ GetHostRecovery()

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

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

Definition at line 135 of file ModifyHostsRequest.h.

◆ GetInstanceFamily()

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

Specifies the instance family to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support multiple instance types within its current instance family.

If you want to modify a Dedicated Host 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 267 of file ModifyHostsRequest.h.

◆ GetInstanceType()

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

Specifies the instance type to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support only a specific instance type.

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

Definition at line 186 of file ModifyHostsRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 43 of file ModifyHostsRequest.h.

◆ HostIdsHasBeenSet()

bool Aws::EC2::Model::ModifyHostsRequest::HostIdsHasBeenSet ( ) const
inline

The IDs of the Dedicated Hosts to modify.

Definition at line 91 of file ModifyHostsRequest.h.

◆ HostRecoveryHasBeenSet()

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

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

Definition at line 143 of file ModifyHostsRequest.h.

◆ InstanceFamilyHasBeenSet()

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

Specifies the instance family to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support multiple instance types within its current instance family.

If you want to modify a Dedicated Host 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 277 of file ModifyHostsRequest.h.

◆ InstanceTypeHasBeenSet()

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

Specifies the instance type to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support only a specific instance type.

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

Definition at line 196 of file ModifyHostsRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAutoPlacement() [1/2]

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

Specify whether to enable or disable auto-placement.

Definition at line 65 of file ModifyHostsRequest.h.

◆ SetAutoPlacement() [2/2]

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

Specify whether to enable or disable auto-placement.

Definition at line 70 of file ModifyHostsRequest.h.

◆ SetHostIds() [1/2]

void Aws::EC2::Model::ModifyHostsRequest::SetHostIds ( const Aws::Vector< Aws::String > &  value)
inline

The IDs of the Dedicated Hosts to modify.

Definition at line 96 of file ModifyHostsRequest.h.

◆ SetHostIds() [2/2]

void Aws::EC2::Model::ModifyHostsRequest::SetHostIds ( Aws::Vector< Aws::String > &&  value)
inline

The IDs of the Dedicated Hosts to modify.

Definition at line 101 of file ModifyHostsRequest.h.

◆ SetHostRecovery() [1/2]

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

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

Definition at line 151 of file ModifyHostsRequest.h.

◆ SetHostRecovery() [2/2]

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

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

Definition at line 159 of file ModifyHostsRequest.h.

◆ SetInstanceFamily() [1/3]

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

Specifies the instance family to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support multiple instance types within its current instance family.

If you want to modify a Dedicated Host 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 287 of file ModifyHostsRequest.h.

◆ SetInstanceFamily() [2/3]

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

Specifies the instance family to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support multiple instance types within its current instance family.

If you want to modify a Dedicated Host 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 297 of file ModifyHostsRequest.h.

◆ SetInstanceFamily() [3/3]

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

Specifies the instance family to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support multiple instance types within its current instance family.

If you want to modify a Dedicated Host 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 307 of file ModifyHostsRequest.h.

◆ SetInstanceType() [1/3]

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

Specifies the instance type to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support only a specific instance type.

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

Definition at line 206 of file ModifyHostsRequest.h.

◆ SetInstanceType() [2/3]

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

Specifies the instance type to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support only a specific instance type.

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

Definition at line 216 of file ModifyHostsRequest.h.

◆ SetInstanceType() [3/3]

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

Specifies the instance type to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support only a specific instance type.

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

Definition at line 226 of file ModifyHostsRequest.h.

◆ WithAutoPlacement() [1/2]

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

Specify whether to enable or disable auto-placement.

Definition at line 75 of file ModifyHostsRequest.h.

◆ WithAutoPlacement() [2/2]

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

Specify whether to enable or disable auto-placement.

Definition at line 80 of file ModifyHostsRequest.h.

◆ WithHostIds() [1/2]

ModifyHostsRequest& Aws::EC2::Model::ModifyHostsRequest::WithHostIds ( const Aws::Vector< Aws::String > &  value)
inline

The IDs of the Dedicated Hosts to modify.

Definition at line 106 of file ModifyHostsRequest.h.

◆ WithHostIds() [2/2]

ModifyHostsRequest& Aws::EC2::Model::ModifyHostsRequest::WithHostIds ( Aws::Vector< Aws::String > &&  value)
inline

The IDs of the Dedicated Hosts to modify.

Definition at line 111 of file ModifyHostsRequest.h.

◆ WithHostRecovery() [1/2]

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

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

Definition at line 167 of file ModifyHostsRequest.h.

◆ WithHostRecovery() [2/2]

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

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

Definition at line 175 of file ModifyHostsRequest.h.

◆ WithInstanceFamily() [1/3]

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

Specifies the instance family to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support multiple instance types within its current instance family.

If you want to modify a Dedicated Host 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 317 of file ModifyHostsRequest.h.

◆ WithInstanceFamily() [2/3]

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

Specifies the instance family to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support multiple instance types within its current instance family.

If you want to modify a Dedicated Host 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 327 of file ModifyHostsRequest.h.

◆ WithInstanceFamily() [3/3]

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

Specifies the instance family to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support multiple instance types within its current instance family.

If you want to modify a Dedicated Host 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 337 of file ModifyHostsRequest.h.

◆ WithInstanceType() [1/3]

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

Specifies the instance type to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support only a specific instance type.

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

Definition at line 236 of file ModifyHostsRequest.h.

◆ WithInstanceType() [2/3]

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

Specifies the instance type to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support only a specific instance type.

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

Definition at line 246 of file ModifyHostsRequest.h.

◆ WithInstanceType() [3/3]

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

Specifies the instance type to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support only a specific instance type.

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

Definition at line 256 of file ModifyHostsRequest.h.


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