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

#include <ModifyInstanceAttributeRequest.h>

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

Public Member Functions

 ModifyInstanceAttributeRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const AttributeBooleanValueGetSourceDestCheck () const
 
bool SourceDestCheckHasBeenSet () const
 
void SetSourceDestCheck (const AttributeBooleanValue &value)
 
void SetSourceDestCheck (AttributeBooleanValue &&value)
 
ModifyInstanceAttributeRequestWithSourceDestCheck (const AttributeBooleanValue &value)
 
ModifyInstanceAttributeRequestWithSourceDestCheck (AttributeBooleanValue &&value)
 
const InstanceAttributeNameGetAttribute () const
 
bool AttributeHasBeenSet () const
 
void SetAttribute (const InstanceAttributeName &value)
 
void SetAttribute (InstanceAttributeName &&value)
 
ModifyInstanceAttributeRequestWithAttribute (const InstanceAttributeName &value)
 
ModifyInstanceAttributeRequestWithAttribute (InstanceAttributeName &&value)
 
const Aws::Vector< InstanceBlockDeviceMappingSpecification > & GetBlockDeviceMappings () const
 
bool BlockDeviceMappingsHasBeenSet () const
 
void SetBlockDeviceMappings (const Aws::Vector< InstanceBlockDeviceMappingSpecification > &value)
 
void SetBlockDeviceMappings (Aws::Vector< InstanceBlockDeviceMappingSpecification > &&value)
 
ModifyInstanceAttributeRequestWithBlockDeviceMappings (const Aws::Vector< InstanceBlockDeviceMappingSpecification > &value)
 
ModifyInstanceAttributeRequestWithBlockDeviceMappings (Aws::Vector< InstanceBlockDeviceMappingSpecification > &&value)
 
ModifyInstanceAttributeRequestAddBlockDeviceMappings (const InstanceBlockDeviceMappingSpecification &value)
 
ModifyInstanceAttributeRequestAddBlockDeviceMappings (InstanceBlockDeviceMappingSpecification &&value)
 
const AttributeBooleanValueGetDisableApiTermination () const
 
bool DisableApiTerminationHasBeenSet () const
 
void SetDisableApiTermination (const AttributeBooleanValue &value)
 
void SetDisableApiTermination (AttributeBooleanValue &&value)
 
ModifyInstanceAttributeRequestWithDisableApiTermination (const AttributeBooleanValue &value)
 
ModifyInstanceAttributeRequestWithDisableApiTermination (AttributeBooleanValue &&value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
ModifyInstanceAttributeRequestWithDryRun (bool value)
 
const AttributeBooleanValueGetEbsOptimized () const
 
bool EbsOptimizedHasBeenSet () const
 
void SetEbsOptimized (const AttributeBooleanValue &value)
 
void SetEbsOptimized (AttributeBooleanValue &&value)
 
ModifyInstanceAttributeRequestWithEbsOptimized (const AttributeBooleanValue &value)
 
ModifyInstanceAttributeRequestWithEbsOptimized (AttributeBooleanValue &&value)
 
const AttributeBooleanValueGetEnaSupport () const
 
bool EnaSupportHasBeenSet () const
 
void SetEnaSupport (const AttributeBooleanValue &value)
 
void SetEnaSupport (AttributeBooleanValue &&value)
 
ModifyInstanceAttributeRequestWithEnaSupport (const AttributeBooleanValue &value)
 
ModifyInstanceAttributeRequestWithEnaSupport (AttributeBooleanValue &&value)
 
const Aws::Vector< Aws::String > & GetGroups () const
 
bool GroupsHasBeenSet () const
 
void SetGroups (const Aws::Vector< Aws::String > &value)
 
void SetGroups (Aws::Vector< Aws::String > &&value)
 
ModifyInstanceAttributeRequestWithGroups (const Aws::Vector< Aws::String > &value)
 
ModifyInstanceAttributeRequestWithGroups (Aws::Vector< Aws::String > &&value)
 
ModifyInstanceAttributeRequestAddGroups (const Aws::String &value)
 
ModifyInstanceAttributeRequestAddGroups (Aws::String &&value)
 
ModifyInstanceAttributeRequestAddGroups (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)
 
ModifyInstanceAttributeRequestWithInstanceId (const Aws::String &value)
 
ModifyInstanceAttributeRequestWithInstanceId (Aws::String &&value)
 
ModifyInstanceAttributeRequestWithInstanceId (const char *value)
 
const AttributeValueGetInstanceInitiatedShutdownBehavior () const
 
bool InstanceInitiatedShutdownBehaviorHasBeenSet () const
 
void SetInstanceInitiatedShutdownBehavior (const AttributeValue &value)
 
void SetInstanceInitiatedShutdownBehavior (AttributeValue &&value)
 
ModifyInstanceAttributeRequestWithInstanceInitiatedShutdownBehavior (const AttributeValue &value)
 
ModifyInstanceAttributeRequestWithInstanceInitiatedShutdownBehavior (AttributeValue &&value)
 
const AttributeValueGetInstanceType () const
 
bool InstanceTypeHasBeenSet () const
 
void SetInstanceType (const AttributeValue &value)
 
void SetInstanceType (AttributeValue &&value)
 
ModifyInstanceAttributeRequestWithInstanceType (const AttributeValue &value)
 
ModifyInstanceAttributeRequestWithInstanceType (AttributeValue &&value)
 
const AttributeValueGetKernel () const
 
bool KernelHasBeenSet () const
 
void SetKernel (const AttributeValue &value)
 
void SetKernel (AttributeValue &&value)
 
ModifyInstanceAttributeRequestWithKernel (const AttributeValue &value)
 
ModifyInstanceAttributeRequestWithKernel (AttributeValue &&value)
 
const AttributeValueGetRamdisk () const
 
bool RamdiskHasBeenSet () const
 
void SetRamdisk (const AttributeValue &value)
 
void SetRamdisk (AttributeValue &&value)
 
ModifyInstanceAttributeRequestWithRamdisk (const AttributeValue &value)
 
ModifyInstanceAttributeRequestWithRamdisk (AttributeValue &&value)
 
const AttributeValueGetSriovNetSupport () const
 
bool SriovNetSupportHasBeenSet () const
 
void SetSriovNetSupport (const AttributeValue &value)
 
void SetSriovNetSupport (AttributeValue &&value)
 
ModifyInstanceAttributeRequestWithSriovNetSupport (const AttributeValue &value)
 
ModifyInstanceAttributeRequestWithSriovNetSupport (AttributeValue &&value)
 
const BlobAttributeValueGetUserData () const
 
bool UserDataHasBeenSet () const
 
void SetUserData (const BlobAttributeValue &value)
 
void SetUserData (BlobAttributeValue &&value)
 
ModifyInstanceAttributeRequestWithUserData (const BlobAttributeValue &value)
 
ModifyInstanceAttributeRequestWithUserData (BlobAttributeValue &&value)
 
const Aws::StringGetValue () const
 
bool ValueHasBeenSet () const
 
void SetValue (const Aws::String &value)
 
void SetValue (Aws::String &&value)
 
void SetValue (const char *value)
 
ModifyInstanceAttributeRequestWithValue (const Aws::String &value)
 
ModifyInstanceAttributeRequestWithValue (Aws::String &&value)
 
ModifyInstanceAttributeRequestWithValue (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 27 of file ModifyInstanceAttributeRequest.h.

Constructor & Destructor Documentation

◆ ModifyInstanceAttributeRequest()

Aws::EC2::Model::ModifyInstanceAttributeRequest::ModifyInstanceAttributeRequest ( )

Member Function Documentation

◆ AddBlockDeviceMappings() [1/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::AddBlockDeviceMappings ( const InstanceBlockDeviceMappingSpecification value)
inline

Modifies the DeleteOnTermination attribute for volumes that are currently attached. The volume must be owned by the caller. If no value is specified for DeleteOnTermination, the default is true and the volume is deleted when the instance is terminated.

To add instance store volumes to an Amazon EBS-backed instance, you must add them when you launch the instance. For more information, see Updating the block device mapping when launching an instance in the Amazon Elastic Compute Cloud User Guide.

Definition at line 214 of file ModifyInstanceAttributeRequest.h.

◆ AddBlockDeviceMappings() [2/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::AddBlockDeviceMappings ( InstanceBlockDeviceMappingSpecification &&  value)
inline

Modifies the DeleteOnTermination attribute for volumes that are currently attached. The volume must be owned by the caller. If no value is specified for DeleteOnTermination, the default is true and the volume is deleted when the instance is terminated.

To add instance store volumes to an Amazon EBS-backed instance, you must add them when you launch the instance. For more information, see Updating the block device mapping when launching an instance in the Amazon Elastic Compute Cloud User Guide.

Definition at line 227 of file ModifyInstanceAttributeRequest.h.

◆ AddGroups() [1/3]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::AddGroups ( const Aws::String value)
inline

[EC2-VPC] Changes the security groups of the instance. You must specify at least one security group, even if it's just the default security group for the VPC. You must specify the security group ID, not the security group name.

Definition at line 451 of file ModifyInstanceAttributeRequest.h.

◆ AddGroups() [2/3]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::AddGroups ( Aws::String &&  value)
inline

[EC2-VPC] Changes the security groups of the instance. You must specify at least one security group, even if it's just the default security group for the VPC. You must specify the security group ID, not the security group name.

Definition at line 458 of file ModifyInstanceAttributeRequest.h.

◆ AddGroups() [3/3]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::AddGroups ( const char *  value)
inline

[EC2-VPC] Changes the security groups of the instance. You must specify at least one security group, even if it's just the default security group for the VPC. You must specify the security group ID, not the security group name.

Definition at line 465 of file ModifyInstanceAttributeRequest.h.

◆ AttributeHasBeenSet()

bool Aws::EC2::Model::ModifyInstanceAttributeRequest::AttributeHasBeenSet ( ) const
inline

The name of the attribute.

Definition at line 102 of file ModifyInstanceAttributeRequest.h.

◆ BlockDeviceMappingsHasBeenSet()

bool Aws::EC2::Model::ModifyInstanceAttributeRequest::BlockDeviceMappingsHasBeenSet ( ) const
inline

Modifies the DeleteOnTermination attribute for volumes that are currently attached. The volume must be owned by the caller. If no value is specified for DeleteOnTermination, the default is true and the volume is deleted when the instance is terminated.

To add instance store volumes to an Amazon EBS-backed instance, you must add them when you launch the instance. For more information, see Updating the block device mapping when launching an instance in the Amazon Elastic Compute Cloud User Guide.

Definition at line 149 of file ModifyInstanceAttributeRequest.h.

◆ DisableApiTerminationHasBeenSet()

bool Aws::EC2::Model::ModifyInstanceAttributeRequest::DisableApiTerminationHasBeenSet ( ) const
inline

If the value is true, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can. You cannot use this parameter for Spot Instances.

Definition at line 242 of file ModifyInstanceAttributeRequest.h.

◆ DryRunHasBeenSet()

bool Aws::EC2::Model::ModifyInstanceAttributeRequest::DryRunHasBeenSet ( ) const
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 287 of file ModifyInstanceAttributeRequest.h.

◆ DumpBodyToUrl()

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

◆ EbsOptimizedHasBeenSet()

bool Aws::EC2::Model::ModifyInstanceAttributeRequest::EbsOptimizedHasBeenSet ( ) const
inline

Specifies whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Definition at line 322 of file ModifyInstanceAttributeRequest.h.

◆ EnaSupportHasBeenSet()

bool Aws::EC2::Model::ModifyInstanceAttributeRequest::EnaSupportHasBeenSet ( ) const
inline

Set to true to enable enhanced networking with ENA for the instance.

This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.

Definition at line 373 of file ModifyInstanceAttributeRequest.h.

◆ GetAttribute()

const InstanceAttributeName& Aws::EC2::Model::ModifyInstanceAttributeRequest::GetAttribute ( ) const
inline

The name of the attribute.

Definition at line 97 of file ModifyInstanceAttributeRequest.h.

◆ GetBlockDeviceMappings()

const Aws::Vector<InstanceBlockDeviceMappingSpecification>& Aws::EC2::Model::ModifyInstanceAttributeRequest::GetBlockDeviceMappings ( ) const
inline

Modifies the DeleteOnTermination attribute for volumes that are currently attached. The volume must be owned by the caller. If no value is specified for DeleteOnTermination, the default is true and the volume is deleted when the instance is terminated.

To add instance store volumes to an Amazon EBS-backed instance, you must add them when you launch the instance. For more information, see Updating the block device mapping when launching an instance in the Amazon Elastic Compute Cloud User Guide.

Definition at line 136 of file ModifyInstanceAttributeRequest.h.

◆ GetDisableApiTermination()

const AttributeBooleanValue& Aws::EC2::Model::ModifyInstanceAttributeRequest::GetDisableApiTermination ( ) const
inline

If the value is true, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can. You cannot use this parameter for Spot Instances.

Definition at line 235 of file ModifyInstanceAttributeRequest.h.

◆ GetDryRun()

bool Aws::EC2::Model::ModifyInstanceAttributeRequest::GetDryRun ( ) const
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 279 of file ModifyInstanceAttributeRequest.h.

◆ GetEbsOptimized()

const AttributeBooleanValue& Aws::EC2::Model::ModifyInstanceAttributeRequest::GetEbsOptimized ( ) const
inline

Specifies whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Definition at line 313 of file ModifyInstanceAttributeRequest.h.

◆ GetEnaSupport()

const AttributeBooleanValue& Aws::EC2::Model::ModifyInstanceAttributeRequest::GetEnaSupport ( ) const
inline

Set to true to enable enhanced networking with ENA for the instance.

This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.

Definition at line 366 of file ModifyInstanceAttributeRequest.h.

◆ GetGroups()

const Aws::Vector<Aws::String>& Aws::EC2::Model::ModifyInstanceAttributeRequest::GetGroups ( ) const
inline

[EC2-VPC] Changes the security groups of the instance. You must specify at least one security group, even if it's just the default security group for the VPC. You must specify the security group ID, not the security group name.

Definition at line 409 of file ModifyInstanceAttributeRequest.h.

◆ GetInstanceId()

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

The ID of the instance.

Definition at line 471 of file ModifyInstanceAttributeRequest.h.

◆ GetInstanceInitiatedShutdownBehavior()

const AttributeValue& Aws::EC2::Model::ModifyInstanceAttributeRequest::GetInstanceInitiatedShutdownBehavior ( ) const
inline

Specifies whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

Definition at line 513 of file ModifyInstanceAttributeRequest.h.

◆ GetInstanceType()

const AttributeValue& Aws::EC2::Model::ModifyInstanceAttributeRequest::GetInstanceType ( ) const
inline

Changes the instance type to the specified value. For more information, see Instance types. If the instance type is not valid, the error returned is InvalidInstanceAttributeValue.

Definition at line 553 of file ModifyInstanceAttributeRequest.h.

◆ GetKernel()

const AttributeValue& Aws::EC2::Model::ModifyInstanceAttributeRequest::GetKernel ( ) const
inline

Changes the instance's kernel to the specified value. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.

Definition at line 606 of file ModifyInstanceAttributeRequest.h.

◆ GetRamdisk()

const AttributeValue& Aws::EC2::Model::ModifyInstanceAttributeRequest::GetRamdisk ( ) const
inline

Changes the instance's RAM disk to the specified value. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.

Definition at line 649 of file ModifyInstanceAttributeRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 36 of file ModifyInstanceAttributeRequest.h.

◆ GetSourceDestCheck()

const AttributeBooleanValue& Aws::EC2::Model::ModifyInstanceAttributeRequest::GetSourceDestCheck ( ) const
inline

Specifies whether source/destination checking is enabled. A value of true means that checking is enabled, and false means that checking is disabled. This value must be false for a NAT instance to perform NAT.

Definition at line 51 of file ModifyInstanceAttributeRequest.h.

◆ GetSriovNetSupport()

const AttributeValue& Aws::EC2::Model::ModifyInstanceAttributeRequest::GetSriovNetSupport ( ) const
inline

Set to simple to enable enhanced networking with the Intel 82599 Virtual Function interface for the instance.

There is no way to disable enhanced networking with the Intel 82599 Virtual Function interface at this time.

This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.

Definition at line 694 of file ModifyInstanceAttributeRequest.h.

◆ GetUserData()

const BlobAttributeValue& Aws::EC2::Model::ModifyInstanceAttributeRequest::GetUserData ( ) const
inline

Changes the instance's user data to the specified value. If you are using an AWS SDK or command line tool, base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text.

Definition at line 747 of file ModifyInstanceAttributeRequest.h.

◆ GetValue()

const Aws::String& Aws::EC2::Model::ModifyInstanceAttributeRequest::GetValue ( ) const
inline

A new value for the attribute. Use only with the kernel, ramdisk, userData, disableApiTermination, or instanceInitiatedShutdownBehavior attribute.

Definition at line 790 of file ModifyInstanceAttributeRequest.h.

◆ GroupsHasBeenSet()

bool Aws::EC2::Model::ModifyInstanceAttributeRequest::GroupsHasBeenSet ( ) const
inline

[EC2-VPC] Changes the security groups of the instance. You must specify at least one security group, even if it's just the default security group for the VPC. You must specify the security group ID, not the security group name.

Definition at line 416 of file ModifyInstanceAttributeRequest.h.

◆ InstanceIdHasBeenSet()

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

The ID of the instance.

Definition at line 476 of file ModifyInstanceAttributeRequest.h.

◆ InstanceInitiatedShutdownBehaviorHasBeenSet()

bool Aws::EC2::Model::ModifyInstanceAttributeRequest::InstanceInitiatedShutdownBehaviorHasBeenSet ( ) const
inline

Specifies whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

Definition at line 519 of file ModifyInstanceAttributeRequest.h.

◆ InstanceTypeHasBeenSet()

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

Changes the instance type to the specified value. For more information, see Instance types. If the instance type is not valid, the error returned is InvalidInstanceAttributeValue.

Definition at line 562 of file ModifyInstanceAttributeRequest.h.

◆ KernelHasBeenSet()

bool Aws::EC2::Model::ModifyInstanceAttributeRequest::KernelHasBeenSet ( ) const
inline

Changes the instance's kernel to the specified value. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.

Definition at line 613 of file ModifyInstanceAttributeRequest.h.

◆ RamdiskHasBeenSet()

bool Aws::EC2::Model::ModifyInstanceAttributeRequest::RamdiskHasBeenSet ( ) const
inline

Changes the instance's RAM disk to the specified value. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.

Definition at line 656 of file ModifyInstanceAttributeRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAttribute() [1/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetAttribute ( const InstanceAttributeName value)
inline

The name of the attribute.

Definition at line 107 of file ModifyInstanceAttributeRequest.h.

◆ SetAttribute() [2/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetAttribute ( InstanceAttributeName &&  value)
inline

The name of the attribute.

Definition at line 112 of file ModifyInstanceAttributeRequest.h.

◆ SetBlockDeviceMappings() [1/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetBlockDeviceMappings ( const Aws::Vector< InstanceBlockDeviceMappingSpecification > &  value)
inline

Modifies the DeleteOnTermination attribute for volumes that are currently attached. The volume must be owned by the caller. If no value is specified for DeleteOnTermination, the default is true and the volume is deleted when the instance is terminated.

To add instance store volumes to an Amazon EBS-backed instance, you must add them when you launch the instance. For more information, see Updating the block device mapping when launching an instance in the Amazon Elastic Compute Cloud User Guide.

Definition at line 162 of file ModifyInstanceAttributeRequest.h.

◆ SetBlockDeviceMappings() [2/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetBlockDeviceMappings ( Aws::Vector< InstanceBlockDeviceMappingSpecification > &&  value)
inline

Modifies the DeleteOnTermination attribute for volumes that are currently attached. The volume must be owned by the caller. If no value is specified for DeleteOnTermination, the default is true and the volume is deleted when the instance is terminated.

To add instance store volumes to an Amazon EBS-backed instance, you must add them when you launch the instance. For more information, see Updating the block device mapping when launching an instance in the Amazon Elastic Compute Cloud User Guide.

Definition at line 175 of file ModifyInstanceAttributeRequest.h.

◆ SetDisableApiTermination() [1/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetDisableApiTermination ( const AttributeBooleanValue value)
inline

If the value is true, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can. You cannot use this parameter for Spot Instances.

Definition at line 249 of file ModifyInstanceAttributeRequest.h.

◆ SetDisableApiTermination() [2/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetDisableApiTermination ( AttributeBooleanValue &&  value)
inline

If the value is true, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can. You cannot use this parameter for Spot Instances.

Definition at line 256 of file ModifyInstanceAttributeRequest.h.

◆ SetDryRun()

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetDryRun ( bool  value)
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 295 of file ModifyInstanceAttributeRequest.h.

◆ SetEbsOptimized() [1/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetEbsOptimized ( const AttributeBooleanValue value)
inline

Specifies whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Definition at line 331 of file ModifyInstanceAttributeRequest.h.

◆ SetEbsOptimized() [2/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetEbsOptimized ( AttributeBooleanValue &&  value)
inline

Specifies whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Definition at line 340 of file ModifyInstanceAttributeRequest.h.

◆ SetEnaSupport() [1/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetEnaSupport ( const AttributeBooleanValue value)
inline

Set to true to enable enhanced networking with ENA for the instance.

This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.

Definition at line 380 of file ModifyInstanceAttributeRequest.h.

◆ SetEnaSupport() [2/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetEnaSupport ( AttributeBooleanValue &&  value)
inline

Set to true to enable enhanced networking with ENA for the instance.

This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.

Definition at line 387 of file ModifyInstanceAttributeRequest.h.

◆ SetGroups() [1/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetGroups ( const Aws::Vector< Aws::String > &  value)
inline

[EC2-VPC] Changes the security groups of the instance. You must specify at least one security group, even if it's just the default security group for the VPC. You must specify the security group ID, not the security group name.

Definition at line 423 of file ModifyInstanceAttributeRequest.h.

◆ SetGroups() [2/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetGroups ( Aws::Vector< Aws::String > &&  value)
inline

[EC2-VPC] Changes the security groups of the instance. You must specify at least one security group, even if it's just the default security group for the VPC. You must specify the security group ID, not the security group name.

Definition at line 430 of file ModifyInstanceAttributeRequest.h.

◆ SetInstanceId() [1/3]

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

The ID of the instance.

Definition at line 481 of file ModifyInstanceAttributeRequest.h.

◆ SetInstanceId() [2/3]

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

The ID of the instance.

Definition at line 486 of file ModifyInstanceAttributeRequest.h.

◆ SetInstanceId() [3/3]

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

The ID of the instance.

Definition at line 491 of file ModifyInstanceAttributeRequest.h.

◆ SetInstanceInitiatedShutdownBehavior() [1/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetInstanceInitiatedShutdownBehavior ( const AttributeValue value)
inline

Specifies whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

Definition at line 525 of file ModifyInstanceAttributeRequest.h.

◆ SetInstanceInitiatedShutdownBehavior() [2/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetInstanceInitiatedShutdownBehavior ( AttributeValue &&  value)
inline

Specifies whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

Definition at line 531 of file ModifyInstanceAttributeRequest.h.

◆ SetInstanceType() [1/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetInstanceType ( const AttributeValue value)
inline

Changes the instance type to the specified value. For more information, see Instance types. If the instance type is not valid, the error returned is InvalidInstanceAttributeValue.

Definition at line 571 of file ModifyInstanceAttributeRequest.h.

◆ SetInstanceType() [2/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetInstanceType ( AttributeValue &&  value)
inline

Changes the instance type to the specified value. For more information, see Instance types. If the instance type is not valid, the error returned is InvalidInstanceAttributeValue.

Definition at line 580 of file ModifyInstanceAttributeRequest.h.

◆ SetKernel() [1/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetKernel ( const AttributeValue value)
inline

Changes the instance's kernel to the specified value. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.

Definition at line 620 of file ModifyInstanceAttributeRequest.h.

◆ SetKernel() [2/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetKernel ( AttributeValue &&  value)
inline

Changes the instance's kernel to the specified value. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.

Definition at line 627 of file ModifyInstanceAttributeRequest.h.

◆ SetRamdisk() [1/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetRamdisk ( const AttributeValue value)
inline

Changes the instance's RAM disk to the specified value. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.

Definition at line 663 of file ModifyInstanceAttributeRequest.h.

◆ SetRamdisk() [2/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetRamdisk ( AttributeValue &&  value)
inline

Changes the instance's RAM disk to the specified value. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.

Definition at line 670 of file ModifyInstanceAttributeRequest.h.

◆ SetSourceDestCheck() [1/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetSourceDestCheck ( const AttributeBooleanValue value)
inline

Specifies whether source/destination checking is enabled. A value of true means that checking is enabled, and false means that checking is disabled. This value must be false for a NAT instance to perform NAT.

Definition at line 67 of file ModifyInstanceAttributeRequest.h.

◆ SetSourceDestCheck() [2/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetSourceDestCheck ( AttributeBooleanValue &&  value)
inline

Specifies whether source/destination checking is enabled. A value of true means that checking is enabled, and false means that checking is disabled. This value must be false for a NAT instance to perform NAT.

Definition at line 75 of file ModifyInstanceAttributeRequest.h.

◆ SetSriovNetSupport() [1/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetSriovNetSupport ( const AttributeValue value)
inline

Set to simple to enable enhanced networking with the Intel 82599 Virtual Function interface for the instance.

There is no way to disable enhanced networking with the Intel 82599 Virtual Function interface at this time.

This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.

Definition at line 712 of file ModifyInstanceAttributeRequest.h.

◆ SetSriovNetSupport() [2/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetSriovNetSupport ( AttributeValue &&  value)
inline

Set to simple to enable enhanced networking with the Intel 82599 Virtual Function interface for the instance.

There is no way to disable enhanced networking with the Intel 82599 Virtual Function interface at this time.

This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.

Definition at line 721 of file ModifyInstanceAttributeRequest.h.

◆ SetUserData() [1/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetUserData ( const BlobAttributeValue value)
inline

Changes the instance's user data to the specified value. If you are using an AWS SDK or command line tool, base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text.

Definition at line 761 of file ModifyInstanceAttributeRequest.h.

◆ SetUserData() [2/2]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetUserData ( BlobAttributeValue &&  value)
inline

Changes the instance's user data to the specified value. If you are using an AWS SDK or command line tool, base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text.

Definition at line 768 of file ModifyInstanceAttributeRequest.h.

◆ SetValue() [1/3]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetValue ( const Aws::String value)
inline

A new value for the attribute. Use only with the kernel, ramdisk, userData, disableApiTermination, or instanceInitiatedShutdownBehavior attribute.

Definition at line 804 of file ModifyInstanceAttributeRequest.h.

◆ SetValue() [2/3]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetValue ( Aws::String &&  value)
inline

A new value for the attribute. Use only with the kernel, ramdisk, userData, disableApiTermination, or instanceInitiatedShutdownBehavior attribute.

Definition at line 811 of file ModifyInstanceAttributeRequest.h.

◆ SetValue() [3/3]

void Aws::EC2::Model::ModifyInstanceAttributeRequest::SetValue ( const char *  value)
inline

A new value for the attribute. Use only with the kernel, ramdisk, userData, disableApiTermination, or instanceInitiatedShutdownBehavior attribute.

Definition at line 818 of file ModifyInstanceAttributeRequest.h.

◆ SourceDestCheckHasBeenSet()

bool Aws::EC2::Model::ModifyInstanceAttributeRequest::SourceDestCheckHasBeenSet ( ) const
inline

Specifies whether source/destination checking is enabled. A value of true means that checking is enabled, and false means that checking is disabled. This value must be false for a NAT instance to perform NAT.

Definition at line 59 of file ModifyInstanceAttributeRequest.h.

◆ SriovNetSupportHasBeenSet()

bool Aws::EC2::Model::ModifyInstanceAttributeRequest::SriovNetSupportHasBeenSet ( ) const
inline

Set to simple to enable enhanced networking with the Intel 82599 Virtual Function interface for the instance.

There is no way to disable enhanced networking with the Intel 82599 Virtual Function interface at this time.

This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.

Definition at line 703 of file ModifyInstanceAttributeRequest.h.

◆ UserDataHasBeenSet()

bool Aws::EC2::Model::ModifyInstanceAttributeRequest::UserDataHasBeenSet ( ) const
inline

Changes the instance's user data to the specified value. If you are using an AWS SDK or command line tool, base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text.

Definition at line 754 of file ModifyInstanceAttributeRequest.h.

◆ ValueHasBeenSet()

bool Aws::EC2::Model::ModifyInstanceAttributeRequest::ValueHasBeenSet ( ) const
inline

A new value for the attribute. Use only with the kernel, ramdisk, userData, disableApiTermination, or instanceInitiatedShutdownBehavior attribute.

Definition at line 797 of file ModifyInstanceAttributeRequest.h.

◆ WithAttribute() [1/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithAttribute ( const InstanceAttributeName value)
inline

The name of the attribute.

Definition at line 117 of file ModifyInstanceAttributeRequest.h.

◆ WithAttribute() [2/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithAttribute ( InstanceAttributeName &&  value)
inline

The name of the attribute.

Definition at line 122 of file ModifyInstanceAttributeRequest.h.

◆ WithBlockDeviceMappings() [1/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithBlockDeviceMappings ( const Aws::Vector< InstanceBlockDeviceMappingSpecification > &  value)
inline

Modifies the DeleteOnTermination attribute for volumes that are currently attached. The volume must be owned by the caller. If no value is specified for DeleteOnTermination, the default is true and the volume is deleted when the instance is terminated.

To add instance store volumes to an Amazon EBS-backed instance, you must add them when you launch the instance. For more information, see Updating the block device mapping when launching an instance in the Amazon Elastic Compute Cloud User Guide.

Definition at line 188 of file ModifyInstanceAttributeRequest.h.

◆ WithBlockDeviceMappings() [2/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithBlockDeviceMappings ( Aws::Vector< InstanceBlockDeviceMappingSpecification > &&  value)
inline

Modifies the DeleteOnTermination attribute for volumes that are currently attached. The volume must be owned by the caller. If no value is specified for DeleteOnTermination, the default is true and the volume is deleted when the instance is terminated.

To add instance store volumes to an Amazon EBS-backed instance, you must add them when you launch the instance. For more information, see Updating the block device mapping when launching an instance in the Amazon Elastic Compute Cloud User Guide.

Definition at line 201 of file ModifyInstanceAttributeRequest.h.

◆ WithDisableApiTermination() [1/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithDisableApiTermination ( const AttributeBooleanValue value)
inline

If the value is true, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can. You cannot use this parameter for Spot Instances.

Definition at line 263 of file ModifyInstanceAttributeRequest.h.

◆ WithDisableApiTermination() [2/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithDisableApiTermination ( AttributeBooleanValue &&  value)
inline

If the value is true, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can. You cannot use this parameter for Spot Instances.

Definition at line 270 of file ModifyInstanceAttributeRequest.h.

◆ WithDryRun()

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithDryRun ( bool  value)
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 303 of file ModifyInstanceAttributeRequest.h.

◆ WithEbsOptimized() [1/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithEbsOptimized ( const AttributeBooleanValue value)
inline

Specifies whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Definition at line 349 of file ModifyInstanceAttributeRequest.h.

◆ WithEbsOptimized() [2/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithEbsOptimized ( AttributeBooleanValue &&  value)
inline

Specifies whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Definition at line 358 of file ModifyInstanceAttributeRequest.h.

◆ WithEnaSupport() [1/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithEnaSupport ( const AttributeBooleanValue value)
inline

Set to true to enable enhanced networking with ENA for the instance.

This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.

Definition at line 394 of file ModifyInstanceAttributeRequest.h.

◆ WithEnaSupport() [2/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithEnaSupport ( AttributeBooleanValue &&  value)
inline

Set to true to enable enhanced networking with ENA for the instance.

This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.

Definition at line 401 of file ModifyInstanceAttributeRequest.h.

◆ WithGroups() [1/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithGroups ( const Aws::Vector< Aws::String > &  value)
inline

[EC2-VPC] Changes the security groups of the instance. You must specify at least one security group, even if it's just the default security group for the VPC. You must specify the security group ID, not the security group name.

Definition at line 437 of file ModifyInstanceAttributeRequest.h.

◆ WithGroups() [2/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithGroups ( Aws::Vector< Aws::String > &&  value)
inline

[EC2-VPC] Changes the security groups of the instance. You must specify at least one security group, even if it's just the default security group for the VPC. You must specify the security group ID, not the security group name.

Definition at line 444 of file ModifyInstanceAttributeRequest.h.

◆ WithInstanceId() [1/3]

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

The ID of the instance.

Definition at line 496 of file ModifyInstanceAttributeRequest.h.

◆ WithInstanceId() [2/3]

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

The ID of the instance.

Definition at line 501 of file ModifyInstanceAttributeRequest.h.

◆ WithInstanceId() [3/3]

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

The ID of the instance.

Definition at line 506 of file ModifyInstanceAttributeRequest.h.

◆ WithInstanceInitiatedShutdownBehavior() [1/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithInstanceInitiatedShutdownBehavior ( const AttributeValue value)
inline

Specifies whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

Definition at line 537 of file ModifyInstanceAttributeRequest.h.

◆ WithInstanceInitiatedShutdownBehavior() [2/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithInstanceInitiatedShutdownBehavior ( AttributeValue &&  value)
inline

Specifies whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

Definition at line 543 of file ModifyInstanceAttributeRequest.h.

◆ WithInstanceType() [1/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithInstanceType ( const AttributeValue value)
inline

Changes the instance type to the specified value. For more information, see Instance types. If the instance type is not valid, the error returned is InvalidInstanceAttributeValue.

Definition at line 589 of file ModifyInstanceAttributeRequest.h.

◆ WithInstanceType() [2/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithInstanceType ( AttributeValue &&  value)
inline

Changes the instance type to the specified value. For more information, see Instance types. If the instance type is not valid, the error returned is InvalidInstanceAttributeValue.

Definition at line 598 of file ModifyInstanceAttributeRequest.h.

◆ WithKernel() [1/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithKernel ( const AttributeValue value)
inline

Changes the instance's kernel to the specified value. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.

Definition at line 634 of file ModifyInstanceAttributeRequest.h.

◆ WithKernel() [2/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithKernel ( AttributeValue &&  value)
inline

Changes the instance's kernel to the specified value. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.

Definition at line 641 of file ModifyInstanceAttributeRequest.h.

◆ WithRamdisk() [1/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithRamdisk ( const AttributeValue value)
inline

Changes the instance's RAM disk to the specified value. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.

Definition at line 677 of file ModifyInstanceAttributeRequest.h.

◆ WithRamdisk() [2/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithRamdisk ( AttributeValue &&  value)
inline

Changes the instance's RAM disk to the specified value. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.

Definition at line 684 of file ModifyInstanceAttributeRequest.h.

◆ WithSourceDestCheck() [1/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithSourceDestCheck ( const AttributeBooleanValue value)
inline

Specifies whether source/destination checking is enabled. A value of true means that checking is enabled, and false means that checking is disabled. This value must be false for a NAT instance to perform NAT.

Definition at line 83 of file ModifyInstanceAttributeRequest.h.

◆ WithSourceDestCheck() [2/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithSourceDestCheck ( AttributeBooleanValue &&  value)
inline

Specifies whether source/destination checking is enabled. A value of true means that checking is enabled, and false means that checking is disabled. This value must be false for a NAT instance to perform NAT.

Definition at line 91 of file ModifyInstanceAttributeRequest.h.

◆ WithSriovNetSupport() [1/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithSriovNetSupport ( const AttributeValue value)
inline

Set to simple to enable enhanced networking with the Intel 82599 Virtual Function interface for the instance.

There is no way to disable enhanced networking with the Intel 82599 Virtual Function interface at this time.

This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.

Definition at line 730 of file ModifyInstanceAttributeRequest.h.

◆ WithSriovNetSupport() [2/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithSriovNetSupport ( AttributeValue &&  value)
inline

Set to simple to enable enhanced networking with the Intel 82599 Virtual Function interface for the instance.

There is no way to disable enhanced networking with the Intel 82599 Virtual Function interface at this time.

This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.

Definition at line 739 of file ModifyInstanceAttributeRequest.h.

◆ WithUserData() [1/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithUserData ( const BlobAttributeValue value)
inline

Changes the instance's user data to the specified value. If you are using an AWS SDK or command line tool, base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text.

Definition at line 775 of file ModifyInstanceAttributeRequest.h.

◆ WithUserData() [2/2]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithUserData ( BlobAttributeValue &&  value)
inline

Changes the instance's user data to the specified value. If you are using an AWS SDK or command line tool, base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text.

Definition at line 782 of file ModifyInstanceAttributeRequest.h.

◆ WithValue() [1/3]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithValue ( const Aws::String value)
inline

A new value for the attribute. Use only with the kernel, ramdisk, userData, disableApiTermination, or instanceInitiatedShutdownBehavior attribute.

Definition at line 825 of file ModifyInstanceAttributeRequest.h.

◆ WithValue() [2/3]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithValue ( Aws::String &&  value)
inline

A new value for the attribute. Use only with the kernel, ramdisk, userData, disableApiTermination, or instanceInitiatedShutdownBehavior attribute.

Definition at line 832 of file ModifyInstanceAttributeRequest.h.

◆ WithValue() [3/3]

ModifyInstanceAttributeRequest& Aws::EC2::Model::ModifyInstanceAttributeRequest::WithValue ( const char *  value)
inline

A new value for the attribute. Use only with the kernel, ramdisk, userData, disableApiTermination, or instanceInitiatedShutdownBehavior attribute.

Definition at line 839 of file ModifyInstanceAttributeRequest.h.


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