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

#include <CreateInstancesRequest.h>

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

Public Member Functions

 CreateInstancesRequest ()
 
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)
 
CreateInstancesRequestWithInstanceNames (const Aws::Vector< Aws::String > &value)
 
CreateInstancesRequestWithInstanceNames (Aws::Vector< Aws::String > &&value)
 
CreateInstancesRequestAddInstanceNames (const Aws::String &value)
 
CreateInstancesRequestAddInstanceNames (Aws::String &&value)
 
CreateInstancesRequestAddInstanceNames (const char *value)
 
const Aws::StringGetAvailabilityZone () const
 
bool AvailabilityZoneHasBeenSet () const
 
void SetAvailabilityZone (const Aws::String &value)
 
void SetAvailabilityZone (Aws::String &&value)
 
void SetAvailabilityZone (const char *value)
 
CreateInstancesRequestWithAvailabilityZone (const Aws::String &value)
 
CreateInstancesRequestWithAvailabilityZone (Aws::String &&value)
 
CreateInstancesRequestWithAvailabilityZone (const char *value)
 
const Aws::StringGetBlueprintId () const
 
bool BlueprintIdHasBeenSet () const
 
void SetBlueprintId (const Aws::String &value)
 
void SetBlueprintId (Aws::String &&value)
 
void SetBlueprintId (const char *value)
 
CreateInstancesRequestWithBlueprintId (const Aws::String &value)
 
CreateInstancesRequestWithBlueprintId (Aws::String &&value)
 
CreateInstancesRequestWithBlueprintId (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)
 
CreateInstancesRequestWithBundleId (const Aws::String &value)
 
CreateInstancesRequestWithBundleId (Aws::String &&value)
 
CreateInstancesRequestWithBundleId (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)
 
CreateInstancesRequestWithUserData (const Aws::String &value)
 
CreateInstancesRequestWithUserData (Aws::String &&value)
 
CreateInstancesRequestWithUserData (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)
 
CreateInstancesRequestWithKeyPairName (const Aws::String &value)
 
CreateInstancesRequestWithKeyPairName (Aws::String &&value)
 
CreateInstancesRequestWithKeyPairName (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)
 
CreateInstancesRequestWithTags (const Aws::Vector< Tag > &value)
 
CreateInstancesRequestWithTags (Aws::Vector< Tag > &&value)
 
CreateInstancesRequestAddTags (const Tag &value)
 
CreateInstancesRequestAddTags (Tag &&value)
 
const Aws::Vector< AddOnRequest > & GetAddOns () const
 
bool AddOnsHasBeenSet () const
 
void SetAddOns (const Aws::Vector< AddOnRequest > &value)
 
void SetAddOns (Aws::Vector< AddOnRequest > &&value)
 
CreateInstancesRequestWithAddOns (const Aws::Vector< AddOnRequest > &value)
 
CreateInstancesRequestWithAddOns (Aws::Vector< AddOnRequest > &&value)
 
CreateInstancesRequestAddAddOns (const AddOnRequest &value)
 
CreateInstancesRequestAddAddOns (AddOnRequest &&value)
 
const IpAddressTypeGetIpAddressType () const
 
bool IpAddressTypeHasBeenSet () const
 
void SetIpAddressType (const IpAddressType &value)
 
void SetIpAddressType (IpAddressType &&value)
 
CreateInstancesRequestWithIpAddressType (const IpAddressType &value)
 
CreateInstancesRequestWithIpAddressType (IpAddressType &&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 25 of file CreateInstancesRequest.h.

Constructor & Destructor Documentation

◆ CreateInstancesRequest()

Aws::Lightsail::Model::CreateInstancesRequest::CreateInstancesRequest ( )

Member Function Documentation

◆ AddAddOns() [1/2]

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

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

Definition at line 573 of file CreateInstancesRequest.h.

◆ AddAddOns() [2/2]

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

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

Definition at line 567 of file CreateInstancesRequest.h.

◆ AddInstanceNames() [1/3]

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

The names to use for your new Lightsail instances. Separate multiple values using quotation marks and commas, for example: ["MyFirstInstance","MySecondInstance"]

Definition at line 95 of file CreateInstancesRequest.h.

◆ AddInstanceNames() [2/3]

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

The names to use for your new Lightsail instances. Separate multiple values using quotation marks and commas, for example: ["MyFirstInstance","MySecondInstance"]

Definition at line 88 of file CreateInstancesRequest.h.

◆ AddInstanceNames() [3/3]

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

The names to use for your new Lightsail instances. Separate multiple values using quotation marks and commas, for example: ["MyFirstInstance","MySecondInstance"]

Definition at line 102 of file CreateInstancesRequest.h.

◆ AddOnsHasBeenSet()

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

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

Definition at line 537 of file CreateInstancesRequest.h.

◆ AddTags() [1/2]

CreateInstancesRequest& Aws::Lightsail::Model::CreateInstancesRequest::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 517 of file CreateInstancesRequest.h.

◆ AddTags() [2/2]

CreateInstancesRequest& Aws::Lightsail::Model::CreateInstancesRequest::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 524 of file CreateInstancesRequest.h.

◆ AvailabilityZoneHasBeenSet()

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

The Availability Zone in which to create your instance. Use the following format: 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 123 of file CreateInstancesRequest.h.

◆ BlueprintIdHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesRequest::BlueprintIdHasBeenSet ( ) const
inline

The ID for a virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0). Use the get blueprints operation to return a list of available images (or blueprints).

Use active blueprints when creating new instances. Inactive blueprints are listed to support customers with existing instances and are not necessarily available to create new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.

Definition at line 208 of file CreateInstancesRequest.h.

◆ BundleIdHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesRequest::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 293 of file CreateInstancesRequest.h.

◆ GetAddOns()

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

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

Definition at line 531 of file CreateInstancesRequest.h.

◆ GetAvailabilityZone()

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

The Availability Zone in which to create your instance. Use the following format: 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 113 of file CreateInstancesRequest.h.

◆ GetBlueprintId()

const Aws::String& Aws::Lightsail::Model::CreateInstancesRequest::GetBlueprintId ( ) const
inline

The ID for a virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0). Use the get blueprints operation to return a list of available images (or blueprints).

Use active blueprints when creating new instances. Inactive blueprints are listed to support customers with existing instances and are not necessarily available to create new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.

Definition at line 196 of file CreateInstancesRequest.h.

◆ GetBundleId()

const Aws::String& Aws::Lightsail::Model::CreateInstancesRequest::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 287 of file CreateInstancesRequest.h.

◆ GetInstanceNames()

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

The names to use for your new Lightsail instances. Separate multiple values using quotation marks and commas, for example: ["MyFirstInstance","MySecondInstance"]

Definition at line 46 of file CreateInstancesRequest.h.

◆ GetIpAddressType()

const IpAddressType& Aws::Lightsail::Model::CreateInstancesRequest::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 581 of file CreateInstancesRequest.h.

◆ GetKeyPairName()

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

The name of your key pair.

Definition at line 432 of file CreateInstancesRequest.h.

◆ GetRequestSpecificHeaders()

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

Reimplemented from Aws::Lightsail::LightsailRequest.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 34 of file CreateInstancesRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::Lightsail::Model::CreateInstancesRequest::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 475 of file CreateInstancesRequest.h.

◆ GetUserData()

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

A launch script you can create that configures a server with additional user data. For example, you might want to run 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 Dev Guide.

Definition at line 342 of file CreateInstancesRequest.h.

◆ InstanceNamesHasBeenSet()

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

The names to use for your new Lightsail instances. Separate multiple values using quotation marks and commas, for example: ["MyFirstInstance","MySecondInstance"]

Definition at line 53 of file CreateInstancesRequest.h.

◆ IpAddressTypeHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesRequest::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 588 of file CreateInstancesRequest.h.

◆ KeyPairNameHasBeenSet()

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

The name of your key pair.

Definition at line 437 of file CreateInstancesRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAddOns() [1/2]

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

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

Definition at line 549 of file CreateInstancesRequest.h.

◆ SetAddOns() [2/2]

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

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

Definition at line 543 of file CreateInstancesRequest.h.

◆ SetAvailabilityZone() [1/3]

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

The Availability Zone in which to create your instance. Use the following format: 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 143 of file CreateInstancesRequest.h.

◆ SetAvailabilityZone() [2/3]

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

The Availability Zone in which to create your instance. Use the following format: 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 133 of file CreateInstancesRequest.h.

◆ SetAvailabilityZone() [3/3]

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

The Availability Zone in which to create your instance. Use the following format: 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 153 of file CreateInstancesRequest.h.

◆ SetBlueprintId() [1/3]

void Aws::Lightsail::Model::CreateInstancesRequest::SetBlueprintId ( Aws::String &&  value)
inline

The ID for a virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0). Use the get blueprints operation to return a list of available images (or blueprints).

Use active blueprints when creating new instances. Inactive blueprints are listed to support customers with existing instances and are not necessarily available to create new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.

Definition at line 232 of file CreateInstancesRequest.h.

◆ SetBlueprintId() [2/3]

void Aws::Lightsail::Model::CreateInstancesRequest::SetBlueprintId ( const Aws::String value)
inline

The ID for a virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0). Use the get blueprints operation to return a list of available images (or blueprints).

Use active blueprints when creating new instances. Inactive blueprints are listed to support customers with existing instances and are not necessarily available to create new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.

Definition at line 220 of file CreateInstancesRequest.h.

◆ SetBlueprintId() [3/3]

void Aws::Lightsail::Model::CreateInstancesRequest::SetBlueprintId ( const char *  value)
inline

The ID for a virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0). Use the get blueprints operation to return a list of available images (or blueprints).

Use active blueprints when creating new instances. Inactive blueprints are listed to support customers with existing instances and are not necessarily available to create new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.

Definition at line 244 of file CreateInstancesRequest.h.

◆ SetBundleId() [1/3]

void Aws::Lightsail::Model::CreateInstancesRequest::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 305 of file CreateInstancesRequest.h.

◆ SetBundleId() [2/3]

void Aws::Lightsail::Model::CreateInstancesRequest::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 299 of file CreateInstancesRequest.h.

◆ SetBundleId() [3/3]

void Aws::Lightsail::Model::CreateInstancesRequest::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 311 of file CreateInstancesRequest.h.

◆ SetInstanceNames() [1/2]

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

The names to use for your new Lightsail instances. Separate multiple values using quotation marks and commas, for example: ["MyFirstInstance","MySecondInstance"]

Definition at line 67 of file CreateInstancesRequest.h.

◆ SetInstanceNames() [2/2]

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

The names to use for your new Lightsail instances. Separate multiple values using quotation marks and commas, for example: ["MyFirstInstance","MySecondInstance"]

Definition at line 60 of file CreateInstancesRequest.h.

◆ SetIpAddressType() [1/2]

void Aws::Lightsail::Model::CreateInstancesRequest::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 595 of file CreateInstancesRequest.h.

◆ SetIpAddressType() [2/2]

void Aws::Lightsail::Model::CreateInstancesRequest::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 602 of file CreateInstancesRequest.h.

◆ SetKeyPairName() [1/3]

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

The name of your key pair.

Definition at line 447 of file CreateInstancesRequest.h.

◆ SetKeyPairName() [2/3]

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

The name of your key pair.

Definition at line 442 of file CreateInstancesRequest.h.

◆ SetKeyPairName() [3/3]

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

The name of your key pair.

Definition at line 452 of file CreateInstancesRequest.h.

◆ SetTags() [1/2]

void Aws::Lightsail::Model::CreateInstancesRequest::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 496 of file CreateInstancesRequest.h.

◆ SetTags() [2/2]

void Aws::Lightsail::Model::CreateInstancesRequest::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 489 of file CreateInstancesRequest.h.

◆ SetUserData() [1/3]

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

A launch script you can create that configures a server with additional user data. For example, you might want to run 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 Dev Guide.

Definition at line 378 of file CreateInstancesRequest.h.

◆ SetUserData() [2/3]

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

A launch script you can create that configures a server with additional user data. For example, you might want to run 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 Dev Guide.

Definition at line 366 of file CreateInstancesRequest.h.

◆ SetUserData() [3/3]

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

A launch script you can create that configures a server with additional user data. For example, you might want to run 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 Dev Guide.

Definition at line 390 of file CreateInstancesRequest.h.

◆ TagsHasBeenSet()

bool Aws::Lightsail::Model::CreateInstancesRequest::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 482 of file CreateInstancesRequest.h.

◆ UserDataHasBeenSet()

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

A launch script you can create that configures a server with additional user data. For example, you might want to run 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 Dev Guide.

Definition at line 354 of file CreateInstancesRequest.h.

◆ WithAddOns() [1/2]

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

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

Definition at line 561 of file CreateInstancesRequest.h.

◆ WithAddOns() [2/2]

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

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

Definition at line 555 of file CreateInstancesRequest.h.

◆ WithAvailabilityZone() [1/3]

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

The Availability Zone in which to create your instance. Use the following format: 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 173 of file CreateInstancesRequest.h.

◆ WithAvailabilityZone() [2/3]

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

The Availability Zone in which to create your instance. Use the following format: 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 163 of file CreateInstancesRequest.h.

◆ WithAvailabilityZone() [3/3]

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

The Availability Zone in which to create your instance. Use the following format: 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 183 of file CreateInstancesRequest.h.

◆ WithBlueprintId() [1/3]

CreateInstancesRequest& Aws::Lightsail::Model::CreateInstancesRequest::WithBlueprintId ( Aws::String &&  value)
inline

The ID for a virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0). Use the get blueprints operation to return a list of available images (or blueprints).

Use active blueprints when creating new instances. Inactive blueprints are listed to support customers with existing instances and are not necessarily available to create new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.

Definition at line 268 of file CreateInstancesRequest.h.

◆ WithBlueprintId() [2/3]

CreateInstancesRequest& Aws::Lightsail::Model::CreateInstancesRequest::WithBlueprintId ( const Aws::String value)
inline

The ID for a virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0). Use the get blueprints operation to return a list of available images (or blueprints).

Use active blueprints when creating new instances. Inactive blueprints are listed to support customers with existing instances and are not necessarily available to create new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.

Definition at line 256 of file CreateInstancesRequest.h.

◆ WithBlueprintId() [3/3]

CreateInstancesRequest& Aws::Lightsail::Model::CreateInstancesRequest::WithBlueprintId ( const char *  value)
inline

The ID for a virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0). Use the get blueprints operation to return a list of available images (or blueprints).

Use active blueprints when creating new instances. Inactive blueprints are listed to support customers with existing instances and are not necessarily available to create new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.

Definition at line 280 of file CreateInstancesRequest.h.

◆ WithBundleId() [1/3]

CreateInstancesRequest& Aws::Lightsail::Model::CreateInstancesRequest::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 323 of file CreateInstancesRequest.h.

◆ WithBundleId() [2/3]

CreateInstancesRequest& Aws::Lightsail::Model::CreateInstancesRequest::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 317 of file CreateInstancesRequest.h.

◆ WithBundleId() [3/3]

CreateInstancesRequest& Aws::Lightsail::Model::CreateInstancesRequest::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 329 of file CreateInstancesRequest.h.

◆ WithInstanceNames() [1/2]

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

The names to use for your new Lightsail instances. Separate multiple values using quotation marks and commas, for example: ["MyFirstInstance","MySecondInstance"]

Definition at line 81 of file CreateInstancesRequest.h.

◆ WithInstanceNames() [2/2]

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

The names to use for your new Lightsail instances. Separate multiple values using quotation marks and commas, for example: ["MyFirstInstance","MySecondInstance"]

Definition at line 74 of file CreateInstancesRequest.h.

◆ WithIpAddressType() [1/2]

CreateInstancesRequest& Aws::Lightsail::Model::CreateInstancesRequest::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 609 of file CreateInstancesRequest.h.

◆ WithIpAddressType() [2/2]

CreateInstancesRequest& Aws::Lightsail::Model::CreateInstancesRequest::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 616 of file CreateInstancesRequest.h.

◆ WithKeyPairName() [1/3]

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

The name of your key pair.

Definition at line 462 of file CreateInstancesRequest.h.

◆ WithKeyPairName() [2/3]

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

The name of your key pair.

Definition at line 457 of file CreateInstancesRequest.h.

◆ WithKeyPairName() [3/3]

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

The name of your key pair.

Definition at line 467 of file CreateInstancesRequest.h.

◆ WithTags() [1/2]

CreateInstancesRequest& Aws::Lightsail::Model::CreateInstancesRequest::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 510 of file CreateInstancesRequest.h.

◆ WithTags() [2/2]

CreateInstancesRequest& Aws::Lightsail::Model::CreateInstancesRequest::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 503 of file CreateInstancesRequest.h.

◆ WithUserData() [1/3]

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

A launch script you can create that configures a server with additional user data. For example, you might want to run 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 Dev Guide.

Definition at line 414 of file CreateInstancesRequest.h.

◆ WithUserData() [2/3]

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

A launch script you can create that configures a server with additional user data. For example, you might want to run 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 Dev Guide.

Definition at line 402 of file CreateInstancesRequest.h.

◆ WithUserData() [3/3]

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

A launch script you can create that configures a server with additional user data. For example, you might want to run 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 Dev Guide.

Definition at line 426 of file CreateInstancesRequest.h.


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