AWS SDK for C++  1.9.104
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 EC2 User Guide.

Definition at line 226 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 EC2 User Guide.

Definition at line 239 of file ModifyInstanceAttributeRequest.h.

◆ AddGroups() [1/3]

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

[EC2-VPC] Replaces the security groups of the instance with the specified security groups. 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 478 of file ModifyInstanceAttributeRequest.h.

◆ AddGroups() [2/3]

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

[EC2-VPC] Replaces the security groups of the instance with the specified security groups. 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 470 of file ModifyInstanceAttributeRequest.h.

◆ AddGroups() [3/3]

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

[EC2-VPC] Replaces the security groups of the instance with the specified security groups. 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 486 of file ModifyInstanceAttributeRequest.h.

◆ AttributeHasBeenSet()

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

The name of the attribute.

Definition at line 114 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 EC2 User Guide.

Definition at line 161 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 254 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 299 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 334 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 385 of file ModifyInstanceAttributeRequest.h.

◆ GetAttribute()

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

The name of the attribute.

Definition at line 109 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 EC2 User Guide.

Definition at line 148 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 247 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 291 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 325 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 378 of file ModifyInstanceAttributeRequest.h.

◆ GetGroups()

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

[EC2-VPC] Replaces the security groups of the instance with the specified security groups. 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 422 of file ModifyInstanceAttributeRequest.h.

◆ GetInstanceId()

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

The ID of the instance.

Definition at line 492 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 534 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 in the Amazon EC2 User Guide. If the instance type is not valid, the error returned is InvalidInstanceAttributeValue.

Definition at line 574 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 627 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 670 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

Enable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives. If the value is true, source/destination checks are enabled; otherwise, they are disabled. The default value is true. You must disable source/destination checks if the instance runs services such as network address translation, routing, or firewalls.

Definition at line 53 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 715 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 Amazon Web Services 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 769 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 817 of file ModifyInstanceAttributeRequest.h.

◆ GroupsHasBeenSet()

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

[EC2-VPC] Replaces the security groups of the instance with the specified security groups. 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.

◆ InstanceIdHasBeenSet()

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

The ID of the instance.

Definition at line 497 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 540 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 in the Amazon EC2 User Guide. If the instance type is not valid, the error returned is InvalidInstanceAttributeValue.

Definition at line 583 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 634 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 677 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 119 of file ModifyInstanceAttributeRequest.h.

◆ SetAttribute() [2/2]

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

The name of the attribute.

Definition at line 124 of file ModifyInstanceAttributeRequest.h.

◆ SetBlockDeviceMappings() [1/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 EC2 User Guide.

Definition at line 187 of file ModifyInstanceAttributeRequest.h.

◆ SetBlockDeviceMappings() [2/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 EC2 User Guide.

Definition at line 174 of file ModifyInstanceAttributeRequest.h.

◆ SetDisableApiTermination() [1/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 268 of file ModifyInstanceAttributeRequest.h.

◆ SetDisableApiTermination() [2/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 261 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 307 of file ModifyInstanceAttributeRequest.h.

◆ SetEbsOptimized() [1/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 352 of file ModifyInstanceAttributeRequest.h.

◆ SetEbsOptimized() [2/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 343 of file ModifyInstanceAttributeRequest.h.

◆ SetEnaSupport() [1/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 399 of file ModifyInstanceAttributeRequest.h.

◆ SetEnaSupport() [2/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 392 of file ModifyInstanceAttributeRequest.h.

◆ SetGroups() [1/2]

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

[EC2-VPC] Replaces the security groups of the instance with the specified security groups. 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 446 of file ModifyInstanceAttributeRequest.h.

◆ SetGroups() [2/2]

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

[EC2-VPC] Replaces the security groups of the instance with the specified security groups. 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 438 of file ModifyInstanceAttributeRequest.h.

◆ SetInstanceId() [1/3]

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

The ID of the instance.

Definition at line 507 of file ModifyInstanceAttributeRequest.h.

◆ SetInstanceId() [2/3]

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

The ID of the instance.

Definition at line 502 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 512 of file ModifyInstanceAttributeRequest.h.

◆ SetInstanceInitiatedShutdownBehavior() [1/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 552 of file ModifyInstanceAttributeRequest.h.

◆ SetInstanceInitiatedShutdownBehavior() [2/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 546 of file ModifyInstanceAttributeRequest.h.

◆ SetInstanceType() [1/2]

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

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

Definition at line 601 of file ModifyInstanceAttributeRequest.h.

◆ SetInstanceType() [2/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 in the Amazon EC2 User Guide. If the instance type is not valid, the error returned is InvalidInstanceAttributeValue.

Definition at line 592 of file ModifyInstanceAttributeRequest.h.

◆ SetKernel() [1/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 648 of file ModifyInstanceAttributeRequest.h.

◆ SetKernel() [2/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 641 of file ModifyInstanceAttributeRequest.h.

◆ SetRamdisk() [1/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 691 of file ModifyInstanceAttributeRequest.h.

◆ SetRamdisk() [2/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 684 of file ModifyInstanceAttributeRequest.h.

◆ SetSourceDestCheck() [1/2]

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

Enable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives. If the value is true, source/destination checks are enabled; otherwise, they are disabled. The default value is true. You must disable source/destination checks if the instance runs services such as network address translation, routing, or firewalls.

Definition at line 83 of file ModifyInstanceAttributeRequest.h.

◆ SetSourceDestCheck() [2/2]

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

Enable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives. If the value is true, source/destination checks are enabled; otherwise, they are disabled. The default value is true. You must disable source/destination checks if the instance runs services such as network address translation, routing, or firewalls.

Definition at line 73 of file ModifyInstanceAttributeRequest.h.

◆ SetSriovNetSupport() [1/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 742 of file ModifyInstanceAttributeRequest.h.

◆ SetSriovNetSupport() [2/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 733 of file ModifyInstanceAttributeRequest.h.

◆ SetUserData() [1/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 Amazon Web Services 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 793 of file ModifyInstanceAttributeRequest.h.

◆ SetUserData() [2/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 Amazon Web Services 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 785 of file ModifyInstanceAttributeRequest.h.

◆ SetValue() [1/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 838 of file ModifyInstanceAttributeRequest.h.

◆ SetValue() [2/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 831 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 845 of file ModifyInstanceAttributeRequest.h.

◆ SourceDestCheckHasBeenSet()

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

Enable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives. If the value is true, source/destination checks are enabled; otherwise, they are disabled. The default value is true. You must disable source/destination checks if the instance runs services such as network address translation, routing, or firewalls.

Definition at line 63 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 724 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 Amazon Web Services 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 777 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 824 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 129 of file ModifyInstanceAttributeRequest.h.

◆ WithAttribute() [2/2]

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

The name of the attribute.

Definition at line 134 of file ModifyInstanceAttributeRequest.h.

◆ WithBlockDeviceMappings() [1/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 EC2 User Guide.

Definition at line 213 of file ModifyInstanceAttributeRequest.h.

◆ WithBlockDeviceMappings() [2/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 EC2 User Guide.

Definition at line 200 of file ModifyInstanceAttributeRequest.h.

◆ WithDisableApiTermination() [1/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 282 of file ModifyInstanceAttributeRequest.h.

◆ WithDisableApiTermination() [2/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 275 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 315 of file ModifyInstanceAttributeRequest.h.

◆ WithEbsOptimized() [1/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 370 of file ModifyInstanceAttributeRequest.h.

◆ WithEbsOptimized() [2/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 361 of file ModifyInstanceAttributeRequest.h.

◆ WithEnaSupport() [1/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 413 of file ModifyInstanceAttributeRequest.h.

◆ WithEnaSupport() [2/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 406 of file ModifyInstanceAttributeRequest.h.

◆ WithGroups() [1/2]

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

[EC2-VPC] Replaces the security groups of the instance with the specified security groups. 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 462 of file ModifyInstanceAttributeRequest.h.

◆ WithGroups() [2/2]

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

[EC2-VPC] Replaces the security groups of the instance with the specified security groups. 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 454 of file ModifyInstanceAttributeRequest.h.

◆ WithInstanceId() [1/3]

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

The ID of the instance.

Definition at line 522 of file ModifyInstanceAttributeRequest.h.

◆ WithInstanceId() [2/3]

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

The ID of the instance.

Definition at line 517 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 527 of file ModifyInstanceAttributeRequest.h.

◆ WithInstanceInitiatedShutdownBehavior() [1/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 564 of file ModifyInstanceAttributeRequest.h.

◆ WithInstanceInitiatedShutdownBehavior() [2/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 558 of file ModifyInstanceAttributeRequest.h.

◆ WithInstanceType() [1/2]

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

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

Definition at line 619 of file ModifyInstanceAttributeRequest.h.

◆ WithInstanceType() [2/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 in the Amazon EC2 User Guide. If the instance type is not valid, the error returned is InvalidInstanceAttributeValue.

Definition at line 610 of file ModifyInstanceAttributeRequest.h.

◆ WithKernel() [1/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 662 of file ModifyInstanceAttributeRequest.h.

◆ WithKernel() [2/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 655 of file ModifyInstanceAttributeRequest.h.

◆ WithRamdisk() [1/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 705 of file ModifyInstanceAttributeRequest.h.

◆ WithRamdisk() [2/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 698 of file ModifyInstanceAttributeRequest.h.

◆ WithSourceDestCheck() [1/2]

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

Enable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives. If the value is true, source/destination checks are enabled; otherwise, they are disabled. The default value is true. You must disable source/destination checks if the instance runs services such as network address translation, routing, or firewalls.

Definition at line 103 of file ModifyInstanceAttributeRequest.h.

◆ WithSourceDestCheck() [2/2]

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

Enable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives. If the value is true, source/destination checks are enabled; otherwise, they are disabled. The default value is true. You must disable source/destination checks if the instance runs services such as network address translation, routing, or firewalls.

Definition at line 93 of file ModifyInstanceAttributeRequest.h.

◆ WithSriovNetSupport() [1/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 760 of file ModifyInstanceAttributeRequest.h.

◆ WithSriovNetSupport() [2/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 751 of file ModifyInstanceAttributeRequest.h.

◆ WithUserData() [1/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 Amazon Web Services 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 809 of file ModifyInstanceAttributeRequest.h.

◆ WithUserData() [2/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 Amazon Web Services 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 801 of file ModifyInstanceAttributeRequest.h.

◆ WithValue() [1/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 859 of file ModifyInstanceAttributeRequest.h.

◆ WithValue() [2/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 852 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 866 of file ModifyInstanceAttributeRequest.h.


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