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

#include <ModifyInstancePlacementRequest.h>

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

Public Member Functions

 ModifyInstancePlacementRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const AffinityGetAffinity () const
 
bool AffinityHasBeenSet () const
 
void SetAffinity (const Affinity &value)
 
void SetAffinity (Affinity &&value)
 
ModifyInstancePlacementRequestWithAffinity (const Affinity &value)
 
ModifyInstancePlacementRequestWithAffinity (Affinity &&value)
 
const Aws::StringGetGroupName () const
 
bool GroupNameHasBeenSet () const
 
void SetGroupName (const Aws::String &value)
 
void SetGroupName (Aws::String &&value)
 
void SetGroupName (const char *value)
 
ModifyInstancePlacementRequestWithGroupName (const Aws::String &value)
 
ModifyInstancePlacementRequestWithGroupName (Aws::String &&value)
 
ModifyInstancePlacementRequestWithGroupName (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)
 
ModifyInstancePlacementRequestWithHostId (const Aws::String &value)
 
ModifyInstancePlacementRequestWithHostId (Aws::String &&value)
 
ModifyInstancePlacementRequestWithHostId (const char *value)
 
const Aws::StringGetInstanceId () const
 
bool InstanceIdHasBeenSet () const
 
void SetInstanceId (const Aws::String &value)
 
void SetInstanceId (Aws::String &&value)
 
void SetInstanceId (const char *value)
 
ModifyInstancePlacementRequestWithInstanceId (const Aws::String &value)
 
ModifyInstancePlacementRequestWithInstanceId (Aws::String &&value)
 
ModifyInstancePlacementRequestWithInstanceId (const char *value)
 
const HostTenancyGetTenancy () const
 
bool TenancyHasBeenSet () const
 
void SetTenancy (const HostTenancy &value)
 
void SetTenancy (HostTenancy &&value)
 
ModifyInstancePlacementRequestWithTenancy (const HostTenancy &value)
 
ModifyInstancePlacementRequestWithTenancy (HostTenancy &&value)
 
int GetPartitionNumber () const
 
bool PartitionNumberHasBeenSet () const
 
void SetPartitionNumber (int value)
 
ModifyInstancePlacementRequestWithPartitionNumber (int 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 33 of file ModifyInstancePlacementRequest.h.

Constructor & Destructor Documentation

◆ ModifyInstancePlacementRequest()

Aws::EC2::Model::ModifyInstancePlacementRequest::ModifyInstancePlacementRequest ( )

Member Function Documentation

◆ AffinityHasBeenSet()

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

The affinity setting for the instance.

Definition at line 59 of file ModifyInstancePlacementRequest.h.

◆ DumpBodyToUrl()

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

◆ GetAffinity()

const Affinity& Aws::EC2::Model::ModifyInstancePlacementRequest::GetAffinity ( ) const
inline

The affinity setting for the instance.

Definition at line 54 of file ModifyInstancePlacementRequest.h.

◆ GetGroupName()

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

The name of the placement group in which to place the instance. For spread placement groups, the instance must have a tenancy of default. For cluster and partition placement groups, the instance must have a tenancy of default or dedicated.

To remove an instance from a placement group, specify an empty string ("").

Definition at line 89 of file ModifyInstancePlacementRequest.h.

◆ GetHostId()

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

The ID of the Dedicated Host with which to associate the instance.

Definition at line 158 of file ModifyInstancePlacementRequest.h.

◆ GetInstanceId()

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

The ID of the instance that you are modifying.

Definition at line 199 of file ModifyInstancePlacementRequest.h.

◆ GetPartitionNumber()

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

Reserved for future use.

Definition at line 271 of file ModifyInstancePlacementRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 42 of file ModifyInstancePlacementRequest.h.

◆ GetTenancy()

const HostTenancy& Aws::EC2::Model::ModifyInstancePlacementRequest::GetTenancy ( ) const
inline

The tenancy for the instance.

Definition at line 240 of file ModifyInstancePlacementRequest.h.

◆ GroupNameHasBeenSet()

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

The name of the placement group in which to place the instance. For spread placement groups, the instance must have a tenancy of default. For cluster and partition placement groups, the instance must have a tenancy of default or dedicated.

To remove an instance from a placement group, specify an empty string ("").

Definition at line 98 of file ModifyInstancePlacementRequest.h.

◆ HostIdHasBeenSet()

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

The ID of the Dedicated Host with which to associate the instance.

Definition at line 163 of file ModifyInstancePlacementRequest.h.

◆ InstanceIdHasBeenSet()

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

The ID of the instance that you are modifying.

Definition at line 204 of file ModifyInstancePlacementRequest.h.

◆ PartitionNumberHasBeenSet()

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

Reserved for future use.

Definition at line 276 of file ModifyInstancePlacementRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAffinity() [1/2]

void Aws::EC2::Model::ModifyInstancePlacementRequest::SetAffinity ( const Affinity value)
inline

The affinity setting for the instance.

Definition at line 64 of file ModifyInstancePlacementRequest.h.

◆ SetAffinity() [2/2]

void Aws::EC2::Model::ModifyInstancePlacementRequest::SetAffinity ( Affinity &&  value)
inline

The affinity setting for the instance.

Definition at line 69 of file ModifyInstancePlacementRequest.h.

◆ SetGroupName() [1/3]

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

The name of the placement group in which to place the instance. For spread placement groups, the instance must have a tenancy of default. For cluster and partition placement groups, the instance must have a tenancy of default or dedicated.

To remove an instance from a placement group, specify an empty string ("").

Definition at line 107 of file ModifyInstancePlacementRequest.h.

◆ SetGroupName() [2/3]

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

The name of the placement group in which to place the instance. For spread placement groups, the instance must have a tenancy of default. For cluster and partition placement groups, the instance must have a tenancy of default or dedicated.

To remove an instance from a placement group, specify an empty string ("").

Definition at line 116 of file ModifyInstancePlacementRequest.h.

◆ SetGroupName() [3/3]

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

The name of the placement group in which to place the instance. For spread placement groups, the instance must have a tenancy of default. For cluster and partition placement groups, the instance must have a tenancy of default or dedicated.

To remove an instance from a placement group, specify an empty string ("").

Definition at line 125 of file ModifyInstancePlacementRequest.h.

◆ SetHostId() [1/3]

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

The ID of the Dedicated Host with which to associate the instance.

Definition at line 168 of file ModifyInstancePlacementRequest.h.

◆ SetHostId() [2/3]

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

The ID of the Dedicated Host with which to associate the instance.

Definition at line 173 of file ModifyInstancePlacementRequest.h.

◆ SetHostId() [3/3]

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

The ID of the Dedicated Host with which to associate the instance.

Definition at line 178 of file ModifyInstancePlacementRequest.h.

◆ SetInstanceId() [1/3]

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

The ID of the instance that you are modifying.

Definition at line 209 of file ModifyInstancePlacementRequest.h.

◆ SetInstanceId() [2/3]

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

The ID of the instance that you are modifying.

Definition at line 214 of file ModifyInstancePlacementRequest.h.

◆ SetInstanceId() [3/3]

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

The ID of the instance that you are modifying.

Definition at line 219 of file ModifyInstancePlacementRequest.h.

◆ SetPartitionNumber()

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

Reserved for future use.

Definition at line 281 of file ModifyInstancePlacementRequest.h.

◆ SetTenancy() [1/2]

void Aws::EC2::Model::ModifyInstancePlacementRequest::SetTenancy ( const HostTenancy value)
inline

The tenancy for the instance.

Definition at line 250 of file ModifyInstancePlacementRequest.h.

◆ SetTenancy() [2/2]

void Aws::EC2::Model::ModifyInstancePlacementRequest::SetTenancy ( HostTenancy &&  value)
inline

The tenancy for the instance.

Definition at line 255 of file ModifyInstancePlacementRequest.h.

◆ TenancyHasBeenSet()

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

The tenancy for the instance.

Definition at line 245 of file ModifyInstancePlacementRequest.h.

◆ WithAffinity() [1/2]

ModifyInstancePlacementRequest& Aws::EC2::Model::ModifyInstancePlacementRequest::WithAffinity ( const Affinity value)
inline

The affinity setting for the instance.

Definition at line 74 of file ModifyInstancePlacementRequest.h.

◆ WithAffinity() [2/2]

ModifyInstancePlacementRequest& Aws::EC2::Model::ModifyInstancePlacementRequest::WithAffinity ( Affinity &&  value)
inline

The affinity setting for the instance.

Definition at line 79 of file ModifyInstancePlacementRequest.h.

◆ WithGroupName() [1/3]

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

The name of the placement group in which to place the instance. For spread placement groups, the instance must have a tenancy of default. For cluster and partition placement groups, the instance must have a tenancy of default or dedicated.

To remove an instance from a placement group, specify an empty string ("").

Definition at line 134 of file ModifyInstancePlacementRequest.h.

◆ WithGroupName() [2/3]

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

The name of the placement group in which to place the instance. For spread placement groups, the instance must have a tenancy of default. For cluster and partition placement groups, the instance must have a tenancy of default or dedicated.

To remove an instance from a placement group, specify an empty string ("").

Definition at line 143 of file ModifyInstancePlacementRequest.h.

◆ WithGroupName() [3/3]

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

The name of the placement group in which to place the instance. For spread placement groups, the instance must have a tenancy of default. For cluster and partition placement groups, the instance must have a tenancy of default or dedicated.

To remove an instance from a placement group, specify an empty string ("").

Definition at line 152 of file ModifyInstancePlacementRequest.h.

◆ WithHostId() [1/3]

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

The ID of the Dedicated Host with which to associate the instance.

Definition at line 183 of file ModifyInstancePlacementRequest.h.

◆ WithHostId() [2/3]

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

The ID of the Dedicated Host with which to associate the instance.

Definition at line 188 of file ModifyInstancePlacementRequest.h.

◆ WithHostId() [3/3]

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

The ID of the Dedicated Host with which to associate the instance.

Definition at line 193 of file ModifyInstancePlacementRequest.h.

◆ WithInstanceId() [1/3]

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

The ID of the instance that you are modifying.

Definition at line 224 of file ModifyInstancePlacementRequest.h.

◆ WithInstanceId() [2/3]

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

The ID of the instance that you are modifying.

Definition at line 229 of file ModifyInstancePlacementRequest.h.

◆ WithInstanceId() [3/3]

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

The ID of the instance that you are modifying.

Definition at line 234 of file ModifyInstancePlacementRequest.h.

◆ WithPartitionNumber()

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

Reserved for future use.

Definition at line 286 of file ModifyInstancePlacementRequest.h.

◆ WithTenancy() [1/2]

ModifyInstancePlacementRequest& Aws::EC2::Model::ModifyInstancePlacementRequest::WithTenancy ( const HostTenancy value)
inline

The tenancy for the instance.

Definition at line 260 of file ModifyInstancePlacementRequest.h.

◆ WithTenancy() [2/2]

ModifyInstancePlacementRequest& Aws::EC2::Model::ModifyInstancePlacementRequest::WithTenancy ( HostTenancy &&  value)
inline

The tenancy for the instance.

Definition at line 265 of file ModifyInstancePlacementRequest.h.


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