AWS SDK for C++  1.9.109
AWS SDK for C++
Public Member Functions | List of all members
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest Class Reference

#include <CreateInstancesFromSnapshotRequest.h>

+ Inheritance diagram for Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest:

Public Member Functions

 CreateInstancesFromSnapshotRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::Vector< Aws::String > & GetInstanceNames () const
 
bool InstanceNamesHasBeenSet () const
 
void SetInstanceNames (const Aws::Vector< Aws::String > &value)
 
void SetInstanceNames (Aws::Vector< Aws::String > &&value)
 
CreateInstancesFromSnapshotRequestWithInstanceNames (const Aws::Vector< Aws::String > &value)
 
CreateInstancesFromSnapshotRequestWithInstanceNames (Aws::Vector< Aws::String > &&value)
 
CreateInstancesFromSnapshotRequestAddInstanceNames (const Aws::String &value)
 
CreateInstancesFromSnapshotRequestAddInstanceNames (Aws::String &&value)
 
CreateInstancesFromSnapshotRequestAddInstanceNames (const char *value)
 
const Aws::Map< Aws::String, Aws::Vector< DiskMap > > & GetAttachedDiskMapping () const
 
bool AttachedDiskMappingHasBeenSet () const
 
void SetAttachedDiskMapping (const Aws::Map< Aws::String, Aws::Vector< DiskMap >> &value)
 
void SetAttachedDiskMapping (Aws::Map< Aws::String, Aws::Vector< DiskMap >> &&value)
 
CreateInstancesFromSnapshotRequestWithAttachedDiskMapping (const Aws::Map< Aws::String, Aws::Vector< DiskMap >> &value)
 
CreateInstancesFromSnapshotRequestWithAttachedDiskMapping (Aws::Map< Aws::String, Aws::Vector< DiskMap >> &&value)
 
CreateInstancesFromSnapshotRequestAddAttachedDiskMapping (const Aws::String &key, const Aws::Vector< DiskMap > &value)
 
CreateInstancesFromSnapshotRequestAddAttachedDiskMapping (Aws::String &&key, const Aws::Vector< DiskMap > &value)
 
CreateInstancesFromSnapshotRequestAddAttachedDiskMapping (const Aws::String &key, Aws::Vector< DiskMap > &&value)
 
CreateInstancesFromSnapshotRequestAddAttachedDiskMapping (Aws::String &&key, Aws::Vector< DiskMap > &&value)
 
CreateInstancesFromSnapshotRequestAddAttachedDiskMapping (const char *key, Aws::Vector< DiskMap > &&value)
 
CreateInstancesFromSnapshotRequestAddAttachedDiskMapping (const char *key, const Aws::Vector< DiskMap > &value)
 
const Aws::StringGetAvailabilityZone () const
 
bool AvailabilityZoneHasBeenSet () const
 
void SetAvailabilityZone (const Aws::String &value)
 
void SetAvailabilityZone (Aws::String &&value)
 
void SetAvailabilityZone (const char *value)
 
CreateInstancesFromSnapshotRequestWithAvailabilityZone (const Aws::String &value)
 
CreateInstancesFromSnapshotRequestWithAvailabilityZone (Aws::String &&value)
 
CreateInstancesFromSnapshotRequestWithAvailabilityZone (const char *value)
 
const Aws::StringGetInstanceSnapshotName () const
 
bool InstanceSnapshotNameHasBeenSet () const
 
void SetInstanceSnapshotName (const Aws::String &value)
 
void SetInstanceSnapshotName (Aws::String &&value)
 
void SetInstanceSnapshotName (const char *value)
 
CreateInstancesFromSnapshotRequestWithInstanceSnapshotName (const Aws::String &value)
 
CreateInstancesFromSnapshotRequestWithInstanceSnapshotName (Aws::String &&value)
 
CreateInstancesFromSnapshotRequestWithInstanceSnapshotName (const char *value)
 
const Aws::StringGetBundleId () const
 
bool BundleIdHasBeenSet () const
 
void SetBundleId (const Aws::String &value)
 
void SetBundleId (Aws::String &&value)
 
void SetBundleId (const char *value)
 
CreateInstancesFromSnapshotRequestWithBundleId (const Aws::String &value)
 
CreateInstancesFromSnapshotRequestWithBundleId (Aws::String &&value)
 
CreateInstancesFromSnapshotRequestWithBundleId (const char *value)
 
const Aws::StringGetUserData () const
 
bool UserDataHasBeenSet () const
 
void SetUserData (const Aws::String &value)
 
void SetUserData (Aws::String &&value)
 
void SetUserData (const char *value)
 
CreateInstancesFromSnapshotRequestWithUserData (const Aws::String &value)
 
CreateInstancesFromSnapshotRequestWithUserData (Aws::String &&value)
 
CreateInstancesFromSnapshotRequestWithUserData (const char *value)
 
const Aws::StringGetKeyPairName () const
 
bool KeyPairNameHasBeenSet () const
 
void SetKeyPairName (const Aws::String &value)
 
void SetKeyPairName (Aws::String &&value)
 
void SetKeyPairName (const char *value)
 
CreateInstancesFromSnapshotRequestWithKeyPairName (const Aws::String &value)
 
CreateInstancesFromSnapshotRequestWithKeyPairName (Aws::String &&value)
 
CreateInstancesFromSnapshotRequestWithKeyPairName (const char *value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreateInstancesFromSnapshotRequestWithTags (const Aws::Vector< Tag > &value)
 
CreateInstancesFromSnapshotRequestWithTags (Aws::Vector< Tag > &&value)
 
CreateInstancesFromSnapshotRequestAddTags (const Tag &value)
 
CreateInstancesFromSnapshotRequestAddTags (Tag &&value)
 
const Aws::Vector< AddOnRequest > & GetAddOns () const
 
bool AddOnsHasBeenSet () const
 
void SetAddOns (const Aws::Vector< AddOnRequest > &value)
 
void SetAddOns (Aws::Vector< AddOnRequest > &&value)
 
CreateInstancesFromSnapshotRequestWithAddOns (const Aws::Vector< AddOnRequest > &value)
 
CreateInstancesFromSnapshotRequestWithAddOns (Aws::Vector< AddOnRequest > &&value)
 
CreateInstancesFromSnapshotRequestAddAddOns (const AddOnRequest &value)
 
CreateInstancesFromSnapshotRequestAddAddOns (AddOnRequest &&value)
 
const IpAddressTypeGetIpAddressType () const
 
bool IpAddressTypeHasBeenSet () const
 
void SetIpAddressType (const IpAddressType &value)
 
void SetIpAddressType (IpAddressType &&value)
 
CreateInstancesFromSnapshotRequestWithIpAddressType (const IpAddressType &value)
 
CreateInstancesFromSnapshotRequestWithIpAddressType (IpAddressType &&value)
 
const Aws::StringGetSourceInstanceName () const
 
bool SourceInstanceNameHasBeenSet () const
 
void SetSourceInstanceName (const Aws::String &value)
 
void SetSourceInstanceName (Aws::String &&value)
 
void SetSourceInstanceName (const char *value)
 
CreateInstancesFromSnapshotRequestWithSourceInstanceName (const Aws::String &value)
 
CreateInstancesFromSnapshotRequestWithSourceInstanceName (Aws::String &&value)
 
CreateInstancesFromSnapshotRequestWithSourceInstanceName (const char *value)
 
const Aws::StringGetRestoreDate () const
 
bool RestoreDateHasBeenSet () const
 
void SetRestoreDate (const Aws::String &value)
 
void SetRestoreDate (Aws::String &&value)
 
void SetRestoreDate (const char *value)
 
CreateInstancesFromSnapshotRequestWithRestoreDate (const Aws::String &value)
 
CreateInstancesFromSnapshotRequestWithRestoreDate (Aws::String &&value)
 
CreateInstancesFromSnapshotRequestWithRestoreDate (const char *value)
 
bool GetUseLatestRestorableAutoSnapshot () const
 
bool UseLatestRestorableAutoSnapshotHasBeenSet () const
 
void SetUseLatestRestorableAutoSnapshot (bool value)
 
CreateInstancesFromSnapshotRequestWithUseLatestRestorableAutoSnapshot (bool value)
 
- Public Member Functions inherited from Aws::Lightsail::LightsailRequest
virtual ~LightsailRequest ()
 
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
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 27 of file CreateInstancesFromSnapshotRequest.h.

Constructor & Destructor Documentation

◆ CreateInstancesFromSnapshotRequest()

Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::CreateInstancesFromSnapshotRequest ( )

Member Function Documentation

◆ AddAddOns() [1/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAddOns ( AddOnRequest &&  value)
inline

An array of objects representing the add-ons to enable for the new instance.

Definition at line 602 of file CreateInstancesFromSnapshotRequest.h.

◆ AddAddOns() [2/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAddOns ( const AddOnRequest value)
inline

An array of objects representing the add-ons to enable for the new instance.

Definition at line 596 of file CreateInstancesFromSnapshotRequest.h.

◆ AddAttachedDiskMapping() [1/6]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAttachedDiskMapping ( Aws::String &&  key,
Aws::Vector< DiskMap > &&  value 
)
inline

An object containing information about one or more disk mappings.

Definition at line 137 of file CreateInstancesFromSnapshotRequest.h.

◆ AddAttachedDiskMapping() [2/6]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAttachedDiskMapping ( Aws::String &&  key,
const Aws::Vector< DiskMap > &  value 
)
inline

An object containing information about one or more disk mappings.

Definition at line 127 of file CreateInstancesFromSnapshotRequest.h.

◆ AddAttachedDiskMapping() [3/6]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAttachedDiskMapping ( const Aws::String key,
Aws::Vector< DiskMap > &&  value 
)
inline

An object containing information about one or more disk mappings.

Definition at line 132 of file CreateInstancesFromSnapshotRequest.h.

◆ AddAttachedDiskMapping() [4/6]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAttachedDiskMapping ( const Aws::String key,
const Aws::Vector< DiskMap > &  value 
)
inline

An object containing information about one or more disk mappings.

Definition at line 122 of file CreateInstancesFromSnapshotRequest.h.

◆ AddAttachedDiskMapping() [5/6]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAttachedDiskMapping ( const char *  key,
Aws::Vector< DiskMap > &&  value 
)
inline

An object containing information about one or more disk mappings.

Definition at line 142 of file CreateInstancesFromSnapshotRequest.h.

◆ AddAttachedDiskMapping() [6/6]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAttachedDiskMapping ( const char *  key,
const Aws::Vector< DiskMap > &  value 
)
inline

An object containing information about one or more disk mappings.

Definition at line 147 of file CreateInstancesFromSnapshotRequest.h.

◆ AddInstanceNames() [1/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddInstanceNames ( Aws::String &&  value)
inline

The names for your new instances.

Definition at line 81 of file CreateInstancesFromSnapshotRequest.h.

◆ AddInstanceNames() [2/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddInstanceNames ( const Aws::String value)
inline

The names for your new instances.

Definition at line 76 of file CreateInstancesFromSnapshotRequest.h.

◆ AddInstanceNames() [3/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddInstanceNames ( const char *  value)
inline

The names for your new instances.

Definition at line 86 of file CreateInstancesFromSnapshotRequest.h.

◆ AddOnsHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddOnsHasBeenSet ( ) const
inline

An array of objects representing the add-ons to enable for the new instance.

Definition at line 566 of file CreateInstancesFromSnapshotRequest.h.

◆ AddTags() [1/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddTags ( const Tag value)
inline

The tag keys and optional values to add to the resource during create.

Use the TagResource action to tag a resource after it's created.

Definition at line 546 of file CreateInstancesFromSnapshotRequest.h.

◆ AddTags() [2/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddTags ( Tag &&  value)
inline

The tag keys and optional values to add to the resource during create.

Use the TagResource action to tag a resource after it's created.

Definition at line 553 of file CreateInstancesFromSnapshotRequest.h.

◆ AttachedDiskMappingHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AttachedDiskMappingHasBeenSet ( ) const
inline

An object containing information about one or more disk mappings.

Definition at line 97 of file CreateInstancesFromSnapshotRequest.h.

◆ AvailabilityZoneHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AvailabilityZoneHasBeenSet ( ) const
inline

The Availability Zone where you want to create your instances. Use the following formatting: us-east-2a (case sensitive). You can get a list of Availability Zones by using the get regions operation. Be sure to add the include Availability Zones parameter to your request.

Definition at line 168 of file CreateInstancesFromSnapshotRequest.h.

◆ BundleIdHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::BundleIdHasBeenSet ( ) const
inline

The bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0).

Definition at line 322 of file CreateInstancesFromSnapshotRequest.h.

◆ GetAddOns()

const Aws::Vector<AddOnRequest>& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetAddOns ( ) const
inline

An array of objects representing the add-ons to enable for the new instance.

Definition at line 560 of file CreateInstancesFromSnapshotRequest.h.

◆ GetAttachedDiskMapping()

const Aws::Map<Aws::String, Aws::Vector<DiskMap> >& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetAttachedDiskMapping ( ) const
inline

An object containing information about one or more disk mappings.

Definition at line 92 of file CreateInstancesFromSnapshotRequest.h.

◆ GetAvailabilityZone()

const Aws::String& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetAvailabilityZone ( ) const
inline

The Availability Zone where you want to create your instances. Use the following formatting: us-east-2a (case sensitive). You can get a list of Availability Zones by using the get regions operation. Be sure to add the include Availability Zones parameter to your request.

Definition at line 158 of file CreateInstancesFromSnapshotRequest.h.

◆ GetBundleId()

const Aws::String& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetBundleId ( ) const
inline

The bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0).

Definition at line 316 of file CreateInstancesFromSnapshotRequest.h.

◆ GetInstanceNames()

const Aws::Vector<Aws::String>& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetInstanceNames ( ) const
inline

The names for your new instances.

Definition at line 46 of file CreateInstancesFromSnapshotRequest.h.

◆ GetInstanceSnapshotName()

const Aws::String& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetInstanceSnapshotName ( ) const
inline

The name of the instance snapshot on which you are basing your new instances. Use the get instance snapshots operation to return information about your existing snapshots.

Constraint:

  • This parameter cannot be defined together with the source instance name parameter. The instance snapshot name and source instance name parameters are mutually exclusive.

Definition at line 239 of file CreateInstancesFromSnapshotRequest.h.

◆ GetIpAddressType()

const IpAddressType& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetIpAddressType ( ) const
inline

The IP address type for the instance.

The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.

The default value is dualstack.

Definition at line 610 of file CreateInstancesFromSnapshotRequest.h.

◆ GetKeyPairName()

const Aws::String& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetKeyPairName ( ) const
inline

The name for your key pair.

Definition at line 461 of file CreateInstancesFromSnapshotRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::Lightsail::LightsailRequest.

◆ GetRestoreDate()

const Aws::String& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetRestoreDate ( ) const
inline

The date of the automatic snapshot to use for the new instance. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.

Definition at line 766 of file CreateInstancesFromSnapshotRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 36 of file CreateInstancesFromSnapshotRequest.h.

◆ GetSourceInstanceName()

const Aws::String& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetSourceInstanceName ( ) const
inline

The name of the source instance from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the instance snapshot name parameter. The source instance name and instance snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.

Definition at line 659 of file CreateInstancesFromSnapshotRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetTags ( ) const
inline

The tag keys and optional values to add to the resource during create.

Use the TagResource action to tag a resource after it's created.

Definition at line 504 of file CreateInstancesFromSnapshotRequest.h.

◆ GetUseLatestRestorableAutoSnapshot()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetUseLatestRestorableAutoSnapshot ( ) const
inline

A Boolean value to indicate whether to use the latest available automatic snapshot.

Constraints:

  • This parameter cannot be defined together with the restore date parameter. The use latest restorable auto snapshot and restore date parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.

Definition at line 884 of file CreateInstancesFromSnapshotRequest.h.

◆ GetUserData()

const Aws::String& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetUserData ( ) const
inline

You can create a launch script that configures a server with additional user data. For example, apt-get -y update.

Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg. For a complete list, see the Amazon Lightsail Developer Guide.

Definition at line 371 of file CreateInstancesFromSnapshotRequest.h.

◆ InstanceNamesHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::InstanceNamesHasBeenSet ( ) const
inline

The names for your new instances.

Definition at line 51 of file CreateInstancesFromSnapshotRequest.h.

◆ InstanceSnapshotNameHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::InstanceSnapshotNameHasBeenSet ( ) const
inline

The name of the instance snapshot on which you are basing your new instances. Use the get instance snapshots operation to return information about your existing snapshots.

Constraint:

  • This parameter cannot be defined together with the source instance name parameter. The instance snapshot name and source instance name parameters are mutually exclusive.

Definition at line 249 of file CreateInstancesFromSnapshotRequest.h.

◆ IpAddressTypeHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::IpAddressTypeHasBeenSet ( ) const
inline

The IP address type for the instance.

The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.

The default value is dualstack.

Definition at line 617 of file CreateInstancesFromSnapshotRequest.h.

◆ KeyPairNameHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::KeyPairNameHasBeenSet ( ) const
inline

The name for your key pair.

Definition at line 466 of file CreateInstancesFromSnapshotRequest.h.

◆ RestoreDateHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::RestoreDateHasBeenSet ( ) const
inline

The date of the automatic snapshot to use for the new instance. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.

Definition at line 781 of file CreateInstancesFromSnapshotRequest.h.

◆ SerializePayload()

Aws::String Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAddOns() [1/2]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetAddOns ( Aws::Vector< AddOnRequest > &&  value)
inline

An array of objects representing the add-ons to enable for the new instance.

Definition at line 578 of file CreateInstancesFromSnapshotRequest.h.

◆ SetAddOns() [2/2]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetAddOns ( const Aws::Vector< AddOnRequest > &  value)
inline

An array of objects representing the add-ons to enable for the new instance.

Definition at line 572 of file CreateInstancesFromSnapshotRequest.h.

◆ SetAttachedDiskMapping() [1/2]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetAttachedDiskMapping ( Aws::Map< Aws::String, Aws::Vector< DiskMap >> &&  value)
inline

An object containing information about one or more disk mappings.

Definition at line 107 of file CreateInstancesFromSnapshotRequest.h.

◆ SetAttachedDiskMapping() [2/2]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetAttachedDiskMapping ( const Aws::Map< Aws::String, Aws::Vector< DiskMap >> &  value)
inline

An object containing information about one or more disk mappings.

Definition at line 102 of file CreateInstancesFromSnapshotRequest.h.

◆ SetAvailabilityZone() [1/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone where you want to create your instances. Use the following formatting: us-east-2a (case sensitive). You can get a list of Availability Zones by using the get regions operation. Be sure to add the include Availability Zones parameter to your request.

Definition at line 188 of file CreateInstancesFromSnapshotRequest.h.

◆ SetAvailabilityZone() [2/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetAvailabilityZone ( const Aws::String value)
inline

The Availability Zone where you want to create your instances. Use the following formatting: us-east-2a (case sensitive). You can get a list of Availability Zones by using the get regions operation. Be sure to add the include Availability Zones parameter to your request.

Definition at line 178 of file CreateInstancesFromSnapshotRequest.h.

◆ SetAvailabilityZone() [3/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetAvailabilityZone ( const char *  value)
inline

The Availability Zone where you want to create your instances. Use the following formatting: us-east-2a (case sensitive). You can get a list of Availability Zones by using the get regions operation. Be sure to add the include Availability Zones parameter to your request.

Definition at line 198 of file CreateInstancesFromSnapshotRequest.h.

◆ SetBundleId() [1/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetBundleId ( Aws::String &&  value)
inline

The bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0).

Definition at line 334 of file CreateInstancesFromSnapshotRequest.h.

◆ SetBundleId() [2/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetBundleId ( const Aws::String value)
inline

The bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0).

Definition at line 328 of file CreateInstancesFromSnapshotRequest.h.

◆ SetBundleId() [3/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetBundleId ( const char *  value)
inline

The bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0).

Definition at line 340 of file CreateInstancesFromSnapshotRequest.h.

◆ SetInstanceNames() [1/2]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetInstanceNames ( Aws::Vector< Aws::String > &&  value)
inline

The names for your new instances.

Definition at line 61 of file CreateInstancesFromSnapshotRequest.h.

◆ SetInstanceNames() [2/2]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetInstanceNames ( const Aws::Vector< Aws::String > &  value)
inline

The names for your new instances.

Definition at line 56 of file CreateInstancesFromSnapshotRequest.h.

◆ SetInstanceSnapshotName() [1/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetInstanceSnapshotName ( Aws::String &&  value)
inline

The name of the instance snapshot on which you are basing your new instances. Use the get instance snapshots operation to return information about your existing snapshots.

Constraint:

  • This parameter cannot be defined together with the source instance name parameter. The instance snapshot name and source instance name parameters are mutually exclusive.

Definition at line 269 of file CreateInstancesFromSnapshotRequest.h.

◆ SetInstanceSnapshotName() [2/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetInstanceSnapshotName ( const Aws::String value)
inline

The name of the instance snapshot on which you are basing your new instances. Use the get instance snapshots operation to return information about your existing snapshots.

Constraint:

  • This parameter cannot be defined together with the source instance name parameter. The instance snapshot name and source instance name parameters are mutually exclusive.

Definition at line 259 of file CreateInstancesFromSnapshotRequest.h.

◆ SetInstanceSnapshotName() [3/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetInstanceSnapshotName ( const char *  value)
inline

The name of the instance snapshot on which you are basing your new instances. Use the get instance snapshots operation to return information about your existing snapshots.

Constraint:

  • This parameter cannot be defined together with the source instance name parameter. The instance snapshot name and source instance name parameters are mutually exclusive.

Definition at line 279 of file CreateInstancesFromSnapshotRequest.h.

◆ SetIpAddressType() [1/2]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetIpAddressType ( const IpAddressType value)
inline

The IP address type for the instance.

The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.

The default value is dualstack.

Definition at line 624 of file CreateInstancesFromSnapshotRequest.h.

◆ SetIpAddressType() [2/2]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetIpAddressType ( IpAddressType &&  value)
inline

The IP address type for the instance.

The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.

The default value is dualstack.

Definition at line 631 of file CreateInstancesFromSnapshotRequest.h.

◆ SetKeyPairName() [1/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetKeyPairName ( Aws::String &&  value)
inline

The name for your key pair.

Definition at line 476 of file CreateInstancesFromSnapshotRequest.h.

◆ SetKeyPairName() [2/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetKeyPairName ( const Aws::String value)
inline

The name for your key pair.

Definition at line 471 of file CreateInstancesFromSnapshotRequest.h.

◆ SetKeyPairName() [3/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetKeyPairName ( const char *  value)
inline

The name for your key pair.

Definition at line 481 of file CreateInstancesFromSnapshotRequest.h.

◆ SetRestoreDate() [1/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetRestoreDate ( Aws::String &&  value)
inline

The date of the automatic snapshot to use for the new instance. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.

Definition at line 811 of file CreateInstancesFromSnapshotRequest.h.

◆ SetRestoreDate() [2/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetRestoreDate ( const Aws::String value)
inline

The date of the automatic snapshot to use for the new instance. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.

Definition at line 796 of file CreateInstancesFromSnapshotRequest.h.

◆ SetRestoreDate() [3/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetRestoreDate ( const char *  value)
inline

The date of the automatic snapshot to use for the new instance. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.

Definition at line 826 of file CreateInstancesFromSnapshotRequest.h.

◆ SetSourceInstanceName() [1/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetSourceInstanceName ( Aws::String &&  value)
inline

The name of the source instance from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the instance snapshot name parameter. The source instance name and instance snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.

Definition at line 698 of file CreateInstancesFromSnapshotRequest.h.

◆ SetSourceInstanceName() [2/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetSourceInstanceName ( const Aws::String value)
inline

The name of the source instance from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the instance snapshot name parameter. The source instance name and instance snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.

Definition at line 685 of file CreateInstancesFromSnapshotRequest.h.

◆ SetSourceInstanceName() [3/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetSourceInstanceName ( const char *  value)
inline

The name of the source instance from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the instance snapshot name parameter. The source instance name and instance snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.

Definition at line 711 of file CreateInstancesFromSnapshotRequest.h.

◆ SetTags() [1/2]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

The tag keys and optional values to add to the resource during create.

Use the TagResource action to tag a resource after it's created.

Definition at line 525 of file CreateInstancesFromSnapshotRequest.h.

◆ SetTags() [2/2]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

The tag keys and optional values to add to the resource during create.

Use the TagResource action to tag a resource after it's created.

Definition at line 518 of file CreateInstancesFromSnapshotRequest.h.

◆ SetUseLatestRestorableAutoSnapshot()

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetUseLatestRestorableAutoSnapshot ( bool  value)
inline

A Boolean value to indicate whether to use the latest available automatic snapshot.

Constraints:

  • This parameter cannot be defined together with the restore date parameter. The use latest restorable auto snapshot and restore date parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.

Definition at line 908 of file CreateInstancesFromSnapshotRequest.h.

◆ SetUserData() [1/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetUserData ( Aws::String &&  value)
inline

You can create a launch script that configures a server with additional user data. For example, apt-get -y update.

Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg. For a complete list, see the Amazon Lightsail Developer Guide.

Definition at line 407 of file CreateInstancesFromSnapshotRequest.h.

◆ SetUserData() [2/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetUserData ( const Aws::String value)
inline

You can create a launch script that configures a server with additional user data. For example, apt-get -y update.

Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg. For a complete list, see the Amazon Lightsail Developer Guide.

Definition at line 395 of file CreateInstancesFromSnapshotRequest.h.

◆ SetUserData() [3/3]

void Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetUserData ( const char *  value)
inline

You can create a launch script that configures a server with additional user data. For example, apt-get -y update.

Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg. For a complete list, see the Amazon Lightsail Developer Guide.

Definition at line 419 of file CreateInstancesFromSnapshotRequest.h.

◆ SourceInstanceNameHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SourceInstanceNameHasBeenSet ( ) const
inline

The name of the source instance from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the instance snapshot name parameter. The source instance name and instance snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.

Definition at line 672 of file CreateInstancesFromSnapshotRequest.h.

◆ TagsHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::TagsHasBeenSet ( ) const
inline

The tag keys and optional values to add to the resource during create.

Use the TagResource action to tag a resource after it's created.

Definition at line 511 of file CreateInstancesFromSnapshotRequest.h.

◆ UseLatestRestorableAutoSnapshotHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::UseLatestRestorableAutoSnapshotHasBeenSet ( ) const
inline

A Boolean value to indicate whether to use the latest available automatic snapshot.

Constraints:

  • This parameter cannot be defined together with the restore date parameter. The use latest restorable auto snapshot and restore date parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.

Definition at line 896 of file CreateInstancesFromSnapshotRequest.h.

◆ UserDataHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::UserDataHasBeenSet ( ) const
inline

You can create a launch script that configures a server with additional user data. For example, apt-get -y update.

Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg. For a complete list, see the Amazon Lightsail Developer Guide.

Definition at line 383 of file CreateInstancesFromSnapshotRequest.h.

◆ WithAddOns() [1/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithAddOns ( Aws::Vector< AddOnRequest > &&  value)
inline

An array of objects representing the add-ons to enable for the new instance.

Definition at line 590 of file CreateInstancesFromSnapshotRequest.h.

◆ WithAddOns() [2/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithAddOns ( const Aws::Vector< AddOnRequest > &  value)
inline

An array of objects representing the add-ons to enable for the new instance.

Definition at line 584 of file CreateInstancesFromSnapshotRequest.h.

◆ WithAttachedDiskMapping() [1/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithAttachedDiskMapping ( Aws::Map< Aws::String, Aws::Vector< DiskMap >> &&  value)
inline

An object containing information about one or more disk mappings.

Definition at line 117 of file CreateInstancesFromSnapshotRequest.h.

◆ WithAttachedDiskMapping() [2/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithAttachedDiskMapping ( const Aws::Map< Aws::String, Aws::Vector< DiskMap >> &  value)
inline

An object containing information about one or more disk mappings.

Definition at line 112 of file CreateInstancesFromSnapshotRequest.h.

◆ WithAvailabilityZone() [1/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone where you want to create your instances. Use the following formatting: us-east-2a (case sensitive). You can get a list of Availability Zones by using the get regions operation. Be sure to add the include Availability Zones parameter to your request.

Definition at line 218 of file CreateInstancesFromSnapshotRequest.h.

◆ WithAvailabilityZone() [2/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithAvailabilityZone ( const Aws::String value)
inline

The Availability Zone where you want to create your instances. Use the following formatting: us-east-2a (case sensitive). You can get a list of Availability Zones by using the get regions operation. Be sure to add the include Availability Zones parameter to your request.

Definition at line 208 of file CreateInstancesFromSnapshotRequest.h.

◆ WithAvailabilityZone() [3/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithAvailabilityZone ( const char *  value)
inline

The Availability Zone where you want to create your instances. Use the following formatting: us-east-2a (case sensitive). You can get a list of Availability Zones by using the get regions operation. Be sure to add the include Availability Zones parameter to your request.

Definition at line 228 of file CreateInstancesFromSnapshotRequest.h.

◆ WithBundleId() [1/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithBundleId ( Aws::String &&  value)
inline

The bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0).

Definition at line 352 of file CreateInstancesFromSnapshotRequest.h.

◆ WithBundleId() [2/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithBundleId ( const Aws::String value)
inline

The bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0).

Definition at line 346 of file CreateInstancesFromSnapshotRequest.h.

◆ WithBundleId() [3/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithBundleId ( const char *  value)
inline

The bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0).

Definition at line 358 of file CreateInstancesFromSnapshotRequest.h.

◆ WithInstanceNames() [1/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithInstanceNames ( Aws::Vector< Aws::String > &&  value)
inline

The names for your new instances.

Definition at line 71 of file CreateInstancesFromSnapshotRequest.h.

◆ WithInstanceNames() [2/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithInstanceNames ( const Aws::Vector< Aws::String > &  value)
inline

The names for your new instances.

Definition at line 66 of file CreateInstancesFromSnapshotRequest.h.

◆ WithInstanceSnapshotName() [1/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithInstanceSnapshotName ( Aws::String &&  value)
inline

The name of the instance snapshot on which you are basing your new instances. Use the get instance snapshots operation to return information about your existing snapshots.

Constraint:

  • This parameter cannot be defined together with the source instance name parameter. The instance snapshot name and source instance name parameters are mutually exclusive.

Definition at line 299 of file CreateInstancesFromSnapshotRequest.h.

◆ WithInstanceSnapshotName() [2/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithInstanceSnapshotName ( const Aws::String value)
inline

The name of the instance snapshot on which you are basing your new instances. Use the get instance snapshots operation to return information about your existing snapshots.

Constraint:

  • This parameter cannot be defined together with the source instance name parameter. The instance snapshot name and source instance name parameters are mutually exclusive.

Definition at line 289 of file CreateInstancesFromSnapshotRequest.h.

◆ WithInstanceSnapshotName() [3/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithInstanceSnapshotName ( const char *  value)
inline

The name of the instance snapshot on which you are basing your new instances. Use the get instance snapshots operation to return information about your existing snapshots.

Constraint:

  • This parameter cannot be defined together with the source instance name parameter. The instance snapshot name and source instance name parameters are mutually exclusive.

Definition at line 309 of file CreateInstancesFromSnapshotRequest.h.

◆ WithIpAddressType() [1/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithIpAddressType ( const IpAddressType value)
inline

The IP address type for the instance.

The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.

The default value is dualstack.

Definition at line 638 of file CreateInstancesFromSnapshotRequest.h.

◆ WithIpAddressType() [2/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithIpAddressType ( IpAddressType &&  value)
inline

The IP address type for the instance.

The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.

The default value is dualstack.

Definition at line 645 of file CreateInstancesFromSnapshotRequest.h.

◆ WithKeyPairName() [1/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithKeyPairName ( Aws::String &&  value)
inline

The name for your key pair.

Definition at line 491 of file CreateInstancesFromSnapshotRequest.h.

◆ WithKeyPairName() [2/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithKeyPairName ( const Aws::String value)
inline

The name for your key pair.

Definition at line 486 of file CreateInstancesFromSnapshotRequest.h.

◆ WithKeyPairName() [3/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithKeyPairName ( const char *  value)
inline

The name for your key pair.

Definition at line 496 of file CreateInstancesFromSnapshotRequest.h.

◆ WithRestoreDate() [1/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithRestoreDate ( Aws::String &&  value)
inline

The date of the automatic snapshot to use for the new instance. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.

Definition at line 856 of file CreateInstancesFromSnapshotRequest.h.

◆ WithRestoreDate() [2/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithRestoreDate ( const Aws::String value)
inline

The date of the automatic snapshot to use for the new instance. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.

Definition at line 841 of file CreateInstancesFromSnapshotRequest.h.

◆ WithRestoreDate() [3/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithRestoreDate ( const char *  value)
inline

The date of the automatic snapshot to use for the new instance. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.

  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.

Definition at line 871 of file CreateInstancesFromSnapshotRequest.h.

◆ WithSourceInstanceName() [1/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithSourceInstanceName ( Aws::String &&  value)
inline

The name of the source instance from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the instance snapshot name parameter. The source instance name and instance snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.

Definition at line 737 of file CreateInstancesFromSnapshotRequest.h.

◆ WithSourceInstanceName() [2/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithSourceInstanceName ( const Aws::String value)
inline

The name of the source instance from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the instance snapshot name parameter. The source instance name and instance snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.

Definition at line 724 of file CreateInstancesFromSnapshotRequest.h.

◆ WithSourceInstanceName() [3/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithSourceInstanceName ( const char *  value)
inline

The name of the source instance from which the source automatic snapshot was created.

Constraints:

  • This parameter cannot be defined together with the instance snapshot name parameter. The source instance name and instance snapshot name parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.

Definition at line 750 of file CreateInstancesFromSnapshotRequest.h.

◆ WithTags() [1/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

The tag keys and optional values to add to the resource during create.

Use the TagResource action to tag a resource after it's created.

Definition at line 539 of file CreateInstancesFromSnapshotRequest.h.

◆ WithTags() [2/2]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

The tag keys and optional values to add to the resource during create.

Use the TagResource action to tag a resource after it's created.

Definition at line 532 of file CreateInstancesFromSnapshotRequest.h.

◆ WithUseLatestRestorableAutoSnapshot()

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithUseLatestRestorableAutoSnapshot ( bool  value)
inline

A Boolean value to indicate whether to use the latest available automatic snapshot.

Constraints:

  • This parameter cannot be defined together with the restore date parameter. The use latest restorable auto snapshot and restore date parameters are mutually exclusive.

  • Define this parameter only when creating a new instance from an automatic snapshot. For more information, see the Amazon Lightsail Developer Guide.

Definition at line 920 of file CreateInstancesFromSnapshotRequest.h.

◆ WithUserData() [1/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithUserData ( Aws::String &&  value)
inline

You can create a launch script that configures a server with additional user data. For example, apt-get -y update.

Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg. For a complete list, see the Amazon Lightsail Developer Guide.

Definition at line 443 of file CreateInstancesFromSnapshotRequest.h.

◆ WithUserData() [2/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithUserData ( const Aws::String value)
inline

You can create a launch script that configures a server with additional user data. For example, apt-get -y update.

Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg. For a complete list, see the Amazon Lightsail Developer Guide.

Definition at line 431 of file CreateInstancesFromSnapshotRequest.h.

◆ WithUserData() [3/3]

CreateInstancesFromSnapshotRequest& Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithUserData ( const char *  value)
inline

You can create a launch script that configures a server with additional user data. For example, apt-get -y update.

Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg. For a complete list, see the Amazon Lightsail Developer Guide.

Definition at line 455 of file CreateInstancesFromSnapshotRequest.h.


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