AWS SDK for C++  1.7.228
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 40 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 294 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 299 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 631 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 642 of file CreateFleetRequest.h.

◆ ClientTokenHasBeenSet()

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

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

Definition at line 105 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 72 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 230 of file CreateFleetRequest.h.

◆ GetClientToken()

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

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

Definition at line 97 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 64 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 223 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 264 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 190 of file CreateFleetRequest.h.

◆ GetReplaceUnhealthyInstances()

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

Indicates whether EC2 Fleet should replace unhealthy instances.

Definition at line 538 of file CreateFleetRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 49 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 159 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 565 of file CreateFleetRequest.h.

◆ GetTargetCapacitySpecification()

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

The number of units to request.

Definition at line 305 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 337 of file CreateFleetRequest.h.

◆ GetType()

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

The type of the request. By default, the EC2 Fleet places an asynchronous request for your desired capacity, and maintains it by replenishing interrupted Spot Instances (maintain). A value of instant places a synchronous one-time request, and returns errors for any instances that could not be launched. A value of request places an asynchronous one-time request without maintaining capacity or submitting requests in alternative capacity pools if capacity is unavailable. For more information, see EC2 Fleet Request Types in the Amazon Elastic Compute Cloud User Guide.

Definition at line 370 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 448 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 492 of file CreateFleetRequest.h.

◆ LaunchTemplateConfigsHasBeenSet()

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

The configuration for the EC2 Fleet.

Definition at line 269 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 195 of file CreateFleetRequest.h.

◆ ReplaceUnhealthyInstancesHasBeenSet()

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

Indicates whether EC2 Fleet should replace unhealthy instances.

Definition at line 543 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 ( const Aws::String value)
inline

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

Definition at line 113 of file CreateFleetRequest.h.

◆ SetClientToken() [2/3]

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

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

Definition at line 121 of file CreateFleetRequest.h.

◆ SetClientToken() [3/3]

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

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

Definition at line 129 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 80 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 237 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 244 of file CreateFleetRequest.h.

◆ SetLaunchTemplateConfigs() [1/2]

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

The configuration for the EC2 Fleet.

Definition at line 274 of file CreateFleetRequest.h.

◆ SetLaunchTemplateConfigs() [2/2]

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

The configuration for the EC2 Fleet.

Definition at line 279 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 200 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 205 of file CreateFleetRequest.h.

◆ SetReplaceUnhealthyInstances()

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

Indicates whether EC2 Fleet should replace unhealthy instances.

Definition at line 548 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 169 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 174 of file CreateFleetRequest.h.

◆ SetTagSpecifications() [1/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 587 of file CreateFleetRequest.h.

◆ SetTagSpecifications() [2/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 598 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 315 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 320 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 349 of file CreateFleetRequest.h.

◆ SetType() [1/2]

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

The type of the request. By default, the EC2 Fleet places an asynchronous request for your desired capacity, and maintains it by replenishing interrupted Spot Instances (maintain). A value of instant places a synchronous one-time request, and returns errors for any instances that could not be launched. A value of request places an asynchronous one-time request without maintaining capacity or submitting requests in alternative capacity pools if capacity is unavailable. For more information, see EC2 Fleet Request Types in the Amazon Elastic Compute Cloud User Guide.

Definition at line 398 of file CreateFleetRequest.h.

◆ SetType() [2/2]

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

The type of the request. By default, the EC2 Fleet places an asynchronous request for your desired capacity, and maintains it by replenishing interrupted Spot Instances (maintain). A value of instant places a synchronous one-time request, and returns errors for any instances that could not be launched. A value of request places an asynchronous one-time request without maintaining capacity or submitting requests in alternative capacity pools if capacity is unavailable. For more information, see EC2 Fleet Request Types in the Amazon Elastic Compute Cloud User Guide.

Definition at line 412 of file CreateFleetRequest.h.

◆ SetValidFrom() [1/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 462 of file CreateFleetRequest.h.

◆ SetValidFrom() [2/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 469 of file CreateFleetRequest.h.

◆ SetValidUntil() [1/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 508 of file CreateFleetRequest.h.

◆ SetValidUntil() [2/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 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 164 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 576 of file CreateFleetRequest.h.

◆ TargetCapacitySpecificationHasBeenSet()

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

The number of units to request.

Definition at line 310 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 343 of file CreateFleetRequest.h.

◆ TypeHasBeenSet()

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

The type of the request. By default, the EC2 Fleet places an asynchronous request for your desired capacity, and maintains it by replenishing interrupted Spot Instances (maintain). A value of instant places a synchronous one-time request, and returns errors for any instances that could not be launched. A value of request places an asynchronous one-time request without maintaining capacity or submitting requests in alternative capacity pools if capacity is unavailable. For more information, see EC2 Fleet Request Types in the Amazon Elastic Compute Cloud User Guide.

Definition at line 384 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 455 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 500 of file CreateFleetRequest.h.

◆ WithClientToken() [1/3]

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

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

Definition at line 137 of file CreateFleetRequest.h.

◆ WithClientToken() [2/3]

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

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

Definition at line 145 of file CreateFleetRequest.h.

◆ WithClientToken() [3/3]

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

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

Definition at line 153 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 88 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 251 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 258 of file CreateFleetRequest.h.

◆ WithLaunchTemplateConfigs() [1/2]

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

The configuration for the EC2 Fleet.

Definition at line 284 of file CreateFleetRequest.h.

◆ WithLaunchTemplateConfigs() [2/2]

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

The configuration for the EC2 Fleet.

Definition at line 289 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 210 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 215 of file CreateFleetRequest.h.

◆ WithReplaceUnhealthyInstances()

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

Indicates whether EC2 Fleet should replace unhealthy instances.

Definition at line 553 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 179 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 184 of file CreateFleetRequest.h.

◆ WithTagSpecifications() [1/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 609 of file CreateFleetRequest.h.

◆ WithTagSpecifications() [2/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 620 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 325 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 330 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 355 of file CreateFleetRequest.h.

◆ WithType() [1/2]

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

The type of the request. By default, the EC2 Fleet places an asynchronous request for your desired capacity, and maintains it by replenishing interrupted Spot Instances (maintain). A value of instant places a synchronous one-time request, and returns errors for any instances that could not be launched. A value of request places an asynchronous one-time request without maintaining capacity or submitting requests in alternative capacity pools if capacity is unavailable. For more information, see EC2 Fleet Request Types in the Amazon Elastic Compute Cloud User Guide.

Definition at line 426 of file CreateFleetRequest.h.

◆ WithType() [2/2]

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

The type of the request. By default, the EC2 Fleet places an asynchronous request for your desired capacity, and maintains it by replenishing interrupted Spot Instances (maintain). A value of instant places a synchronous one-time request, and returns errors for any instances that could not be launched. A value of request places an asynchronous one-time request without maintaining capacity or submitting requests in alternative capacity pools if capacity is unavailable. For more information, see EC2 Fleet Request Types in the Amazon Elastic Compute Cloud User Guide.

Definition at line 440 of file CreateFleetRequest.h.

◆ WithValidFrom() [1/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 476 of file CreateFleetRequest.h.

◆ WithValidFrom() [2/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 483 of file CreateFleetRequest.h.

◆ WithValidUntil() [1/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 524 of file CreateFleetRequest.h.

◆ WithValidUntil() [2/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 532 of file CreateFleetRequest.h.


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