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

#include <CreateFleetRequest.h>

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

Public Member Functions

 CreateFleetRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
CreateFleetRequestWithDryRun (bool value)
 
const Aws::StringGetClientToken () const
 
bool ClientTokenHasBeenSet () const
 
void SetClientToken (const Aws::String &value)
 
void SetClientToken (Aws::String &&value)
 
void SetClientToken (const char *value)
 
CreateFleetRequestWithClientToken (const Aws::String &value)
 
CreateFleetRequestWithClientToken (Aws::String &&value)
 
CreateFleetRequestWithClientToken (const char *value)
 
const SpotOptionsRequestGetSpotOptions () const
 
bool SpotOptionsHasBeenSet () const
 
void SetSpotOptions (const SpotOptionsRequest &value)
 
void SetSpotOptions (SpotOptionsRequest &&value)
 
CreateFleetRequestWithSpotOptions (const SpotOptionsRequest &value)
 
CreateFleetRequestWithSpotOptions (SpotOptionsRequest &&value)
 
const OnDemandOptionsRequestGetOnDemandOptions () const
 
bool OnDemandOptionsHasBeenSet () const
 
void SetOnDemandOptions (const OnDemandOptionsRequest &value)
 
void SetOnDemandOptions (OnDemandOptionsRequest &&value)
 
CreateFleetRequestWithOnDemandOptions (const OnDemandOptionsRequest &value)
 
CreateFleetRequestWithOnDemandOptions (OnDemandOptionsRequest &&value)
 
const FleetExcessCapacityTerminationPolicyGetExcessCapacityTerminationPolicy () const
 
bool ExcessCapacityTerminationPolicyHasBeenSet () const
 
void SetExcessCapacityTerminationPolicy (const FleetExcessCapacityTerminationPolicy &value)
 
void SetExcessCapacityTerminationPolicy (FleetExcessCapacityTerminationPolicy &&value)
 
CreateFleetRequestWithExcessCapacityTerminationPolicy (const FleetExcessCapacityTerminationPolicy &value)
 
CreateFleetRequestWithExcessCapacityTerminationPolicy (FleetExcessCapacityTerminationPolicy &&value)
 
const Aws::Vector< FleetLaunchTemplateConfigRequest > & GetLaunchTemplateConfigs () const
 
bool LaunchTemplateConfigsHasBeenSet () const
 
void SetLaunchTemplateConfigs (const Aws::Vector< FleetLaunchTemplateConfigRequest > &value)
 
void SetLaunchTemplateConfigs (Aws::Vector< FleetLaunchTemplateConfigRequest > &&value)
 
CreateFleetRequestWithLaunchTemplateConfigs (const Aws::Vector< FleetLaunchTemplateConfigRequest > &value)
 
CreateFleetRequestWithLaunchTemplateConfigs (Aws::Vector< FleetLaunchTemplateConfigRequest > &&value)
 
CreateFleetRequestAddLaunchTemplateConfigs (const FleetLaunchTemplateConfigRequest &value)
 
CreateFleetRequestAddLaunchTemplateConfigs (FleetLaunchTemplateConfigRequest &&value)
 
const TargetCapacitySpecificationRequestGetTargetCapacitySpecification () const
 
bool TargetCapacitySpecificationHasBeenSet () const
 
void SetTargetCapacitySpecification (const TargetCapacitySpecificationRequest &value)
 
void SetTargetCapacitySpecification (TargetCapacitySpecificationRequest &&value)
 
CreateFleetRequestWithTargetCapacitySpecification (const TargetCapacitySpecificationRequest &value)
 
CreateFleetRequestWithTargetCapacitySpecification (TargetCapacitySpecificationRequest &&value)
 
bool GetTerminateInstancesWithExpiration () const
 
bool TerminateInstancesWithExpirationHasBeenSet () const
 
void SetTerminateInstancesWithExpiration (bool value)
 
CreateFleetRequestWithTerminateInstancesWithExpiration (bool value)
 
const FleetTypeGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const FleetType &value)
 
void SetType (FleetType &&value)
 
CreateFleetRequestWithType (const FleetType &value)
 
CreateFleetRequestWithType (FleetType &&value)
 
const Aws::Utils::DateTimeGetValidFrom () const
 
bool ValidFromHasBeenSet () const
 
void SetValidFrom (const Aws::Utils::DateTime &value)
 
void SetValidFrom (Aws::Utils::DateTime &&value)
 
CreateFleetRequestWithValidFrom (const Aws::Utils::DateTime &value)
 
CreateFleetRequestWithValidFrom (Aws::Utils::DateTime &&value)
 
const Aws::Utils::DateTimeGetValidUntil () const
 
bool ValidUntilHasBeenSet () const
 
void SetValidUntil (const Aws::Utils::DateTime &value)
 
void SetValidUntil (Aws::Utils::DateTime &&value)
 
CreateFleetRequestWithValidUntil (const Aws::Utils::DateTime &value)
 
CreateFleetRequestWithValidUntil (Aws::Utils::DateTime &&value)
 
bool GetReplaceUnhealthyInstances () const
 
bool ReplaceUnhealthyInstancesHasBeenSet () const
 
void SetReplaceUnhealthyInstances (bool value)
 
CreateFleetRequestWithReplaceUnhealthyInstances (bool value)
 
const Aws::Vector< TagSpecification > & GetTagSpecifications () const
 
bool TagSpecificationsHasBeenSet () const
 
void SetTagSpecifications (const Aws::Vector< TagSpecification > &value)
 
void SetTagSpecifications (Aws::Vector< TagSpecification > &&value)
 
CreateFleetRequestWithTagSpecifications (const Aws::Vector< TagSpecification > &value)
 
CreateFleetRequestWithTagSpecifications (Aws::Vector< TagSpecification > &&value)
 
CreateFleetRequestAddTagSpecifications (const TagSpecification &value)
 
CreateFleetRequestAddTagSpecifications (TagSpecification &&value)
 
- Public Member Functions inherited from Aws::EC2::EC2Request
virtual ~EC2Request ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Protected Member Functions

void DumpBodyToUrl (Aws::Http::URI &uri) const override
 
- Protected Member Functions inherited from Aws::EC2::EC2Request
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

Definition at line 30 of file CreateFleetRequest.h.

Constructor & Destructor Documentation

◆ CreateFleetRequest()

Aws::EC2::Model::CreateFleetRequest::CreateFleetRequest ( )

Member Function Documentation

◆ AddLaunchTemplateConfigs() [1/2]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::AddLaunchTemplateConfigs ( const FleetLaunchTemplateConfigRequest value)
inline

The configuration for the EC2 Fleet.

Definition at line 284 of file CreateFleetRequest.h.

◆ AddLaunchTemplateConfigs() [2/2]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::AddLaunchTemplateConfigs ( FleetLaunchTemplateConfigRequest &&  value)
inline

The configuration for the EC2 Fleet.

Definition at line 289 of file CreateFleetRequest.h.

◆ AddTagSpecifications() [1/2]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::AddTagSpecifications ( const TagSpecification value)
inline

The key-value pair for tagging the EC2 Fleet request on creation. The value for ResourceType must be fleet, otherwise the fleet request fails. To tag instances at launch, specify the tags in the launch template. For information about tagging after launch, see Tagging your resources.

Definition at line 655 of file CreateFleetRequest.h.

◆ AddTagSpecifications() [2/2]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::AddTagSpecifications ( TagSpecification &&  value)
inline

The key-value pair for tagging the EC2 Fleet request on creation. The value for ResourceType must be fleet, otherwise the fleet request fails. To tag instances at launch, specify the tags in the launch template. For information about tagging after launch, see Tagging your resources.

Definition at line 666 of file CreateFleetRequest.h.

◆ ClientTokenHasBeenSet()

bool Aws::EC2::Model::CreateFleetRequest::ClientTokenHasBeenSet ( ) const
inline

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

Definition at line 95 of file CreateFleetRequest.h.

◆ DryRunHasBeenSet()

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

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

Definition at line 62 of file CreateFleetRequest.h.

◆ DumpBodyToUrl()

void Aws::EC2::Model::CreateFleetRequest::DumpBodyToUrl ( Aws::Http::URI uri) const
overrideprotectedvirtual

Default does nothing. Override this to convert what would otherwise be the payload of the request to a query string format.

Reimplemented from Aws::AmazonWebServiceRequest.

◆ ExcessCapacityTerminationPolicyHasBeenSet()

bool Aws::EC2::Model::CreateFleetRequest::ExcessCapacityTerminationPolicyHasBeenSet ( ) const
inline

Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.

Definition at line 220 of file CreateFleetRequest.h.

◆ GetClientToken()

const Aws::String& Aws::EC2::Model::CreateFleetRequest::GetClientToken ( ) const
inline

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

Definition at line 87 of file CreateFleetRequest.h.

◆ GetDryRun()

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

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

Definition at line 54 of file CreateFleetRequest.h.

◆ GetExcessCapacityTerminationPolicy()

const FleetExcessCapacityTerminationPolicy& Aws::EC2::Model::CreateFleetRequest::GetExcessCapacityTerminationPolicy ( ) const
inline

Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.

Definition at line 213 of file CreateFleetRequest.h.

◆ GetLaunchTemplateConfigs()

const Aws::Vector<FleetLaunchTemplateConfigRequest>& Aws::EC2::Model::CreateFleetRequest::GetLaunchTemplateConfigs ( ) const
inline

The configuration for the EC2 Fleet.

Definition at line 254 of file CreateFleetRequest.h.

◆ GetOnDemandOptions()

const OnDemandOptionsRequest& Aws::EC2::Model::CreateFleetRequest::GetOnDemandOptions ( ) const
inline

Describes the configuration of On-Demand Instances in an EC2 Fleet.

Definition at line 180 of file CreateFleetRequest.h.

◆ GetReplaceUnhealthyInstances()

bool Aws::EC2::Model::CreateFleetRequest::GetReplaceUnhealthyInstances ( ) const
inline

Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for fleets of type maintain. For more information, see EC2 Fleet health checks in the Amazon EC2 User Guide.

Definition at line 550 of file CreateFleetRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 39 of file CreateFleetRequest.h.

◆ GetSpotOptions()

const SpotOptionsRequest& Aws::EC2::Model::CreateFleetRequest::GetSpotOptions ( ) const
inline

Describes the configuration of Spot Instances in an EC2 Fleet.

Definition at line 149 of file CreateFleetRequest.h.

◆ GetTagSpecifications()

const Aws::Vector<TagSpecification>& Aws::EC2::Model::CreateFleetRequest::GetTagSpecifications ( ) const
inline

The key-value pair for tagging the EC2 Fleet request on creation. The value for ResourceType must be fleet, otherwise the fleet request fails. To tag instances at launch, specify the tags in the launch template. For information about tagging after launch, see Tagging your resources.

Definition at line 589 of file CreateFleetRequest.h.

◆ GetTargetCapacitySpecification()

const TargetCapacitySpecificationRequest& Aws::EC2::Model::CreateFleetRequest::GetTargetCapacitySpecification ( ) const
inline

The number of units to request.

Definition at line 295 of file CreateFleetRequest.h.

◆ GetTerminateInstancesWithExpiration()

bool Aws::EC2::Model::CreateFleetRequest::GetTerminateInstancesWithExpiration ( ) const
inline

Indicates whether running instances should be terminated when the EC2 Fleet expires.

Definition at line 327 of file CreateFleetRequest.h.

◆ GetType()

const FleetType& Aws::EC2::Model::CreateFleetRequest::GetType ( ) const
inline

The type of request. The default value is maintain.

  • maintain - The EC2 Fleet places an asynchronous request for your desired capacity, and continues to maintain your desired Spot capacity by replenishing interrupted Spot Instances.

  • request - The EC2 Fleet places an asynchronous one-time request for your desired capacity, but does submit Spot requests in alternative capacity pools if Spot capacity is unavailable, and does not maintain Spot capacity if Spot Instances are interrupted.

  • instant - The EC2 Fleet places a synchronous one-time request for your desired capacity, and returns errors for any instances that could not be launched.

For more information, see EC2 Fleet request types in the Amazon EC2 User Guide.

Definition at line 363 of file CreateFleetRequest.h.

◆ GetValidFrom()

const Aws::Utils::DateTime& Aws::EC2::Model::CreateFleetRequest::GetValidFrom ( ) const
inline

The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.

Definition at line 456 of file CreateFleetRequest.h.

◆ GetValidUntil()

const Aws::Utils::DateTime& Aws::EC2::Model::CreateFleetRequest::GetValidUntil ( ) const
inline

The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.

Definition at line 500 of file CreateFleetRequest.h.

◆ LaunchTemplateConfigsHasBeenSet()

bool Aws::EC2::Model::CreateFleetRequest::LaunchTemplateConfigsHasBeenSet ( ) const
inline

The configuration for the EC2 Fleet.

Definition at line 259 of file CreateFleetRequest.h.

◆ OnDemandOptionsHasBeenSet()

bool Aws::EC2::Model::CreateFleetRequest::OnDemandOptionsHasBeenSet ( ) const
inline

Describes the configuration of On-Demand Instances in an EC2 Fleet.

Definition at line 185 of file CreateFleetRequest.h.

◆ ReplaceUnhealthyInstancesHasBeenSet()

bool Aws::EC2::Model::CreateFleetRequest::ReplaceUnhealthyInstancesHasBeenSet ( ) const
inline

Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for fleets of type maintain. For more information, see EC2 Fleet health checks in the Amazon EC2 User Guide.

Definition at line 559 of file CreateFleetRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetClientToken() [1/3]

void Aws::EC2::Model::CreateFleetRequest::SetClientToken ( Aws::String &&  value)
inline

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

Definition at line 111 of file CreateFleetRequest.h.

◆ SetClientToken() [2/3]

void Aws::EC2::Model::CreateFleetRequest::SetClientToken ( const Aws::String value)
inline

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

Definition at line 103 of file CreateFleetRequest.h.

◆ SetClientToken() [3/3]

void Aws::EC2::Model::CreateFleetRequest::SetClientToken ( const char *  value)
inline

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

Definition at line 119 of file CreateFleetRequest.h.

◆ SetDryRun()

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

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

Definition at line 70 of file CreateFleetRequest.h.

◆ SetExcessCapacityTerminationPolicy() [1/2]

void Aws::EC2::Model::CreateFleetRequest::SetExcessCapacityTerminationPolicy ( const FleetExcessCapacityTerminationPolicy value)
inline

Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.

Definition at line 227 of file CreateFleetRequest.h.

◆ SetExcessCapacityTerminationPolicy() [2/2]

void Aws::EC2::Model::CreateFleetRequest::SetExcessCapacityTerminationPolicy ( FleetExcessCapacityTerminationPolicy &&  value)
inline

Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.

Definition at line 234 of file CreateFleetRequest.h.

◆ SetLaunchTemplateConfigs() [1/2]

void Aws::EC2::Model::CreateFleetRequest::SetLaunchTemplateConfigs ( Aws::Vector< FleetLaunchTemplateConfigRequest > &&  value)
inline

The configuration for the EC2 Fleet.

Definition at line 269 of file CreateFleetRequest.h.

◆ SetLaunchTemplateConfigs() [2/2]

void Aws::EC2::Model::CreateFleetRequest::SetLaunchTemplateConfigs ( const Aws::Vector< FleetLaunchTemplateConfigRequest > &  value)
inline

The configuration for the EC2 Fleet.

Definition at line 264 of file CreateFleetRequest.h.

◆ SetOnDemandOptions() [1/2]

void Aws::EC2::Model::CreateFleetRequest::SetOnDemandOptions ( const OnDemandOptionsRequest value)
inline

Describes the configuration of On-Demand Instances in an EC2 Fleet.

Definition at line 190 of file CreateFleetRequest.h.

◆ SetOnDemandOptions() [2/2]

void Aws::EC2::Model::CreateFleetRequest::SetOnDemandOptions ( OnDemandOptionsRequest &&  value)
inline

Describes the configuration of On-Demand Instances in an EC2 Fleet.

Definition at line 195 of file CreateFleetRequest.h.

◆ SetReplaceUnhealthyInstances()

void Aws::EC2::Model::CreateFleetRequest::SetReplaceUnhealthyInstances ( bool  value)
inline

Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for fleets of type maintain. For more information, see EC2 Fleet health checks in the Amazon EC2 User Guide.

Definition at line 568 of file CreateFleetRequest.h.

◆ SetSpotOptions() [1/2]

void Aws::EC2::Model::CreateFleetRequest::SetSpotOptions ( const SpotOptionsRequest value)
inline

Describes the configuration of Spot Instances in an EC2 Fleet.

Definition at line 159 of file CreateFleetRequest.h.

◆ SetSpotOptions() [2/2]

void Aws::EC2::Model::CreateFleetRequest::SetSpotOptions ( SpotOptionsRequest &&  value)
inline

Describes the configuration of Spot Instances in an EC2 Fleet.

Definition at line 164 of file CreateFleetRequest.h.

◆ SetTagSpecifications() [1/2]

void Aws::EC2::Model::CreateFleetRequest::SetTagSpecifications ( Aws::Vector< TagSpecification > &&  value)
inline

The key-value pair for tagging the EC2 Fleet request on creation. The value for ResourceType must be fleet, otherwise the fleet request fails. To tag instances at launch, specify the tags in the launch template. For information about tagging after launch, see Tagging your resources.

Definition at line 622 of file CreateFleetRequest.h.

◆ SetTagSpecifications() [2/2]

void Aws::EC2::Model::CreateFleetRequest::SetTagSpecifications ( const Aws::Vector< TagSpecification > &  value)
inline

The key-value pair for tagging the EC2 Fleet request on creation. The value for ResourceType must be fleet, otherwise the fleet request fails. To tag instances at launch, specify the tags in the launch template. For information about tagging after launch, see Tagging your resources.

Definition at line 611 of file CreateFleetRequest.h.

◆ SetTargetCapacitySpecification() [1/2]

void Aws::EC2::Model::CreateFleetRequest::SetTargetCapacitySpecification ( const TargetCapacitySpecificationRequest value)
inline

The number of units to request.

Definition at line 305 of file CreateFleetRequest.h.

◆ SetTargetCapacitySpecification() [2/2]

void Aws::EC2::Model::CreateFleetRequest::SetTargetCapacitySpecification ( TargetCapacitySpecificationRequest &&  value)
inline

The number of units to request.

Definition at line 310 of file CreateFleetRequest.h.

◆ SetTerminateInstancesWithExpiration()

void Aws::EC2::Model::CreateFleetRequest::SetTerminateInstancesWithExpiration ( bool  value)
inline

Indicates whether running instances should be terminated when the EC2 Fleet expires.

Definition at line 339 of file CreateFleetRequest.h.

◆ SetType() [1/2]

void Aws::EC2::Model::CreateFleetRequest::SetType ( const FleetType value)
inline

The type of request. The default value is maintain.

  • maintain - The EC2 Fleet places an asynchronous request for your desired capacity, and continues to maintain your desired Spot capacity by replenishing interrupted Spot Instances.

  • request - The EC2 Fleet places an asynchronous one-time request for your desired capacity, but does submit Spot requests in alternative capacity pools if Spot capacity is unavailable, and does not maintain Spot capacity if Spot Instances are interrupted.

  • instant - The EC2 Fleet places a synchronous one-time request for your desired capacity, and returns errors for any instances that could not be launched.

For more information, see EC2 Fleet request types in the Amazon EC2 User Guide.

Definition at line 397 of file CreateFleetRequest.h.

◆ SetType() [2/2]

void Aws::EC2::Model::CreateFleetRequest::SetType ( FleetType &&  value)
inline

The type of request. The default value is maintain.

  • maintain - The EC2 Fleet places an asynchronous request for your desired capacity, and continues to maintain your desired Spot capacity by replenishing interrupted Spot Instances.

  • request - The EC2 Fleet places an asynchronous one-time request for your desired capacity, but does submit Spot requests in alternative capacity pools if Spot capacity is unavailable, and does not maintain Spot capacity if Spot Instances are interrupted.

  • instant - The EC2 Fleet places a synchronous one-time request for your desired capacity, and returns errors for any instances that could not be launched.

For more information, see EC2 Fleet request types in the Amazon EC2 User Guide.

Definition at line 414 of file CreateFleetRequest.h.

◆ SetValidFrom() [1/2]

void Aws::EC2::Model::CreateFleetRequest::SetValidFrom ( Aws::Utils::DateTime &&  value)
inline

The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.

Definition at line 477 of file CreateFleetRequest.h.

◆ SetValidFrom() [2/2]

void Aws::EC2::Model::CreateFleetRequest::SetValidFrom ( const Aws::Utils::DateTime value)
inline

The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.

Definition at line 470 of file CreateFleetRequest.h.

◆ SetValidUntil() [1/2]

void Aws::EC2::Model::CreateFleetRequest::SetValidUntil ( Aws::Utils::DateTime &&  value)
inline

The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.

Definition at line 524 of file CreateFleetRequest.h.

◆ SetValidUntil() [2/2]

void Aws::EC2::Model::CreateFleetRequest::SetValidUntil ( const Aws::Utils::DateTime value)
inline

The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.

Definition at line 516 of file CreateFleetRequest.h.

◆ SpotOptionsHasBeenSet()

bool Aws::EC2::Model::CreateFleetRequest::SpotOptionsHasBeenSet ( ) const
inline

Describes the configuration of Spot Instances in an EC2 Fleet.

Definition at line 154 of file CreateFleetRequest.h.

◆ TagSpecificationsHasBeenSet()

bool Aws::EC2::Model::CreateFleetRequest::TagSpecificationsHasBeenSet ( ) const
inline

The key-value pair for tagging the EC2 Fleet request on creation. The value for ResourceType must be fleet, otherwise the fleet request fails. To tag instances at launch, specify the tags in the launch template. For information about tagging after launch, see Tagging your resources.

Definition at line 600 of file CreateFleetRequest.h.

◆ TargetCapacitySpecificationHasBeenSet()

bool Aws::EC2::Model::CreateFleetRequest::TargetCapacitySpecificationHasBeenSet ( ) const
inline

The number of units to request.

Definition at line 300 of file CreateFleetRequest.h.

◆ TerminateInstancesWithExpirationHasBeenSet()

bool Aws::EC2::Model::CreateFleetRequest::TerminateInstancesWithExpirationHasBeenSet ( ) const
inline

Indicates whether running instances should be terminated when the EC2 Fleet expires.

Definition at line 333 of file CreateFleetRequest.h.

◆ TypeHasBeenSet()

bool Aws::EC2::Model::CreateFleetRequest::TypeHasBeenSet ( ) const
inline

The type of request. The default value is maintain.

  • maintain - The EC2 Fleet places an asynchronous request for your desired capacity, and continues to maintain your desired Spot capacity by replenishing interrupted Spot Instances.

  • request - The EC2 Fleet places an asynchronous one-time request for your desired capacity, but does submit Spot requests in alternative capacity pools if Spot capacity is unavailable, and does not maintain Spot capacity if Spot Instances are interrupted.

  • instant - The EC2 Fleet places a synchronous one-time request for your desired capacity, and returns errors for any instances that could not be launched.

For more information, see EC2 Fleet request types in the Amazon EC2 User Guide.

Definition at line 380 of file CreateFleetRequest.h.

◆ ValidFromHasBeenSet()

bool Aws::EC2::Model::CreateFleetRequest::ValidFromHasBeenSet ( ) const
inline

The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.

Definition at line 463 of file CreateFleetRequest.h.

◆ ValidUntilHasBeenSet()

bool Aws::EC2::Model::CreateFleetRequest::ValidUntilHasBeenSet ( ) const
inline

The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.

Definition at line 508 of file CreateFleetRequest.h.

◆ WithClientToken() [1/3]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::WithClientToken ( Aws::String &&  value)
inline

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

Definition at line 135 of file CreateFleetRequest.h.

◆ WithClientToken() [2/3]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::WithClientToken ( const Aws::String value)
inline

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

Definition at line 127 of file CreateFleetRequest.h.

◆ WithClientToken() [3/3]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::WithClientToken ( const char *  value)
inline

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

Definition at line 143 of file CreateFleetRequest.h.

◆ WithDryRun()

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

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

Definition at line 78 of file CreateFleetRequest.h.

◆ WithExcessCapacityTerminationPolicy() [1/2]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::WithExcessCapacityTerminationPolicy ( const FleetExcessCapacityTerminationPolicy value)
inline

Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.

Definition at line 241 of file CreateFleetRequest.h.

◆ WithExcessCapacityTerminationPolicy() [2/2]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::WithExcessCapacityTerminationPolicy ( FleetExcessCapacityTerminationPolicy &&  value)
inline

Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.

Definition at line 248 of file CreateFleetRequest.h.

◆ WithLaunchTemplateConfigs() [1/2]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::WithLaunchTemplateConfigs ( Aws::Vector< FleetLaunchTemplateConfigRequest > &&  value)
inline

The configuration for the EC2 Fleet.

Definition at line 279 of file CreateFleetRequest.h.

◆ WithLaunchTemplateConfigs() [2/2]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::WithLaunchTemplateConfigs ( const Aws::Vector< FleetLaunchTemplateConfigRequest > &  value)
inline

The configuration for the EC2 Fleet.

Definition at line 274 of file CreateFleetRequest.h.

◆ WithOnDemandOptions() [1/2]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::WithOnDemandOptions ( const OnDemandOptionsRequest value)
inline

Describes the configuration of On-Demand Instances in an EC2 Fleet.

Definition at line 200 of file CreateFleetRequest.h.

◆ WithOnDemandOptions() [2/2]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::WithOnDemandOptions ( OnDemandOptionsRequest &&  value)
inline

Describes the configuration of On-Demand Instances in an EC2 Fleet.

Definition at line 205 of file CreateFleetRequest.h.

◆ WithReplaceUnhealthyInstances()

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::WithReplaceUnhealthyInstances ( bool  value)
inline

Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for fleets of type maintain. For more information, see EC2 Fleet health checks in the Amazon EC2 User Guide.

Definition at line 577 of file CreateFleetRequest.h.

◆ WithSpotOptions() [1/2]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::WithSpotOptions ( const SpotOptionsRequest value)
inline

Describes the configuration of Spot Instances in an EC2 Fleet.

Definition at line 169 of file CreateFleetRequest.h.

◆ WithSpotOptions() [2/2]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::WithSpotOptions ( SpotOptionsRequest &&  value)
inline

Describes the configuration of Spot Instances in an EC2 Fleet.

Definition at line 174 of file CreateFleetRequest.h.

◆ WithTagSpecifications() [1/2]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::WithTagSpecifications ( Aws::Vector< TagSpecification > &&  value)
inline

The key-value pair for tagging the EC2 Fleet request on creation. The value for ResourceType must be fleet, otherwise the fleet request fails. To tag instances at launch, specify the tags in the launch template. For information about tagging after launch, see Tagging your resources.

Definition at line 644 of file CreateFleetRequest.h.

◆ WithTagSpecifications() [2/2]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::WithTagSpecifications ( const Aws::Vector< TagSpecification > &  value)
inline

The key-value pair for tagging the EC2 Fleet request on creation. The value for ResourceType must be fleet, otherwise the fleet request fails. To tag instances at launch, specify the tags in the launch template. For information about tagging after launch, see Tagging your resources.

Definition at line 633 of file CreateFleetRequest.h.

◆ WithTargetCapacitySpecification() [1/2]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::WithTargetCapacitySpecification ( const TargetCapacitySpecificationRequest value)
inline

The number of units to request.

Definition at line 315 of file CreateFleetRequest.h.

◆ WithTargetCapacitySpecification() [2/2]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::WithTargetCapacitySpecification ( TargetCapacitySpecificationRequest &&  value)
inline

The number of units to request.

Definition at line 320 of file CreateFleetRequest.h.

◆ WithTerminateInstancesWithExpiration()

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::WithTerminateInstancesWithExpiration ( bool  value)
inline

Indicates whether running instances should be terminated when the EC2 Fleet expires.

Definition at line 345 of file CreateFleetRequest.h.

◆ WithType() [1/2]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::WithType ( const FleetType value)
inline

The type of request. The default value is maintain.

  • maintain - The EC2 Fleet places an asynchronous request for your desired capacity, and continues to maintain your desired Spot capacity by replenishing interrupted Spot Instances.

  • request - The EC2 Fleet places an asynchronous one-time request for your desired capacity, but does submit Spot requests in alternative capacity pools if Spot capacity is unavailable, and does not maintain Spot capacity if Spot Instances are interrupted.

  • instant - The EC2 Fleet places a synchronous one-time request for your desired capacity, and returns errors for any instances that could not be launched.

For more information, see EC2 Fleet request types in the Amazon EC2 User Guide.

Definition at line 431 of file CreateFleetRequest.h.

◆ WithType() [2/2]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::WithType ( FleetType &&  value)
inline

The type of request. The default value is maintain.

  • maintain - The EC2 Fleet places an asynchronous request for your desired capacity, and continues to maintain your desired Spot capacity by replenishing interrupted Spot Instances.

  • request - The EC2 Fleet places an asynchronous one-time request for your desired capacity, but does submit Spot requests in alternative capacity pools if Spot capacity is unavailable, and does not maintain Spot capacity if Spot Instances are interrupted.

  • instant - The EC2 Fleet places a synchronous one-time request for your desired capacity, and returns errors for any instances that could not be launched.

For more information, see EC2 Fleet request types in the Amazon EC2 User Guide.

Definition at line 448 of file CreateFleetRequest.h.

◆ WithValidFrom() [1/2]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::WithValidFrom ( Aws::Utils::DateTime &&  value)
inline

The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.

Definition at line 491 of file CreateFleetRequest.h.

◆ WithValidFrom() [2/2]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::WithValidFrom ( const Aws::Utils::DateTime value)
inline

The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.

Definition at line 484 of file CreateFleetRequest.h.

◆ WithValidUntil() [1/2]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::WithValidUntil ( Aws::Utils::DateTime &&  value)
inline

The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.

Definition at line 540 of file CreateFleetRequest.h.

◆ WithValidUntil() [2/2]

CreateFleetRequest& Aws::EC2::Model::CreateFleetRequest::WithValidUntil ( const Aws::Utils::DateTime value)
inline

The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.

Definition at line 532 of file CreateFleetRequest.h.


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