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

#include <CreateCapacityReservationFleetRequest.h>

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

Public Member Functions

 CreateCapacityReservationFleetRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetAllocationStrategy () const
 
bool AllocationStrategyHasBeenSet () const
 
void SetAllocationStrategy (const Aws::String &value)
 
void SetAllocationStrategy (Aws::String &&value)
 
void SetAllocationStrategy (const char *value)
 
CreateCapacityReservationFleetRequestWithAllocationStrategy (const Aws::String &value)
 
CreateCapacityReservationFleetRequestWithAllocationStrategy (Aws::String &&value)
 
CreateCapacityReservationFleetRequestWithAllocationStrategy (const char *value)
 
const Aws::StringGetClientToken () const
 
bool ClientTokenHasBeenSet () const
 
void SetClientToken (const Aws::String &value)
 
void SetClientToken (Aws::String &&value)
 
void SetClientToken (const char *value)
 
CreateCapacityReservationFleetRequestWithClientToken (const Aws::String &value)
 
CreateCapacityReservationFleetRequestWithClientToken (Aws::String &&value)
 
CreateCapacityReservationFleetRequestWithClientToken (const char *value)
 
const Aws::Vector< ReservationFleetInstanceSpecification > & GetInstanceTypeSpecifications () const
 
bool InstanceTypeSpecificationsHasBeenSet () const
 
void SetInstanceTypeSpecifications (const Aws::Vector< ReservationFleetInstanceSpecification > &value)
 
void SetInstanceTypeSpecifications (Aws::Vector< ReservationFleetInstanceSpecification > &&value)
 
CreateCapacityReservationFleetRequestWithInstanceTypeSpecifications (const Aws::Vector< ReservationFleetInstanceSpecification > &value)
 
CreateCapacityReservationFleetRequestWithInstanceTypeSpecifications (Aws::Vector< ReservationFleetInstanceSpecification > &&value)
 
CreateCapacityReservationFleetRequestAddInstanceTypeSpecifications (const ReservationFleetInstanceSpecification &value)
 
CreateCapacityReservationFleetRequestAddInstanceTypeSpecifications (ReservationFleetInstanceSpecification &&value)
 
const FleetCapacityReservationTenancyGetTenancy () const
 
bool TenancyHasBeenSet () const
 
void SetTenancy (const FleetCapacityReservationTenancy &value)
 
void SetTenancy (FleetCapacityReservationTenancy &&value)
 
CreateCapacityReservationFleetRequestWithTenancy (const FleetCapacityReservationTenancy &value)
 
CreateCapacityReservationFleetRequestWithTenancy (FleetCapacityReservationTenancy &&value)
 
int GetTotalTargetCapacity () const
 
bool TotalTargetCapacityHasBeenSet () const
 
void SetTotalTargetCapacity (int value)
 
CreateCapacityReservationFleetRequestWithTotalTargetCapacity (int value)
 
const Aws::Utils::DateTimeGetEndDate () const
 
bool EndDateHasBeenSet () const
 
void SetEndDate (const Aws::Utils::DateTime &value)
 
void SetEndDate (Aws::Utils::DateTime &&value)
 
CreateCapacityReservationFleetRequestWithEndDate (const Aws::Utils::DateTime &value)
 
CreateCapacityReservationFleetRequestWithEndDate (Aws::Utils::DateTime &&value)
 
const FleetInstanceMatchCriteriaGetInstanceMatchCriteria () const
 
bool InstanceMatchCriteriaHasBeenSet () const
 
void SetInstanceMatchCriteria (const FleetInstanceMatchCriteria &value)
 
void SetInstanceMatchCriteria (FleetInstanceMatchCriteria &&value)
 
CreateCapacityReservationFleetRequestWithInstanceMatchCriteria (const FleetInstanceMatchCriteria &value)
 
CreateCapacityReservationFleetRequestWithInstanceMatchCriteria (FleetInstanceMatchCriteria &&value)
 
const Aws::Vector< TagSpecification > & GetTagSpecifications () const
 
bool TagSpecificationsHasBeenSet () const
 
void SetTagSpecifications (const Aws::Vector< TagSpecification > &value)
 
void SetTagSpecifications (Aws::Vector< TagSpecification > &&value)
 
CreateCapacityReservationFleetRequestWithTagSpecifications (const Aws::Vector< TagSpecification > &value)
 
CreateCapacityReservationFleetRequestWithTagSpecifications (Aws::Vector< TagSpecification > &&value)
 
CreateCapacityReservationFleetRequestAddTagSpecifications (const TagSpecification &value)
 
CreateCapacityReservationFleetRequestAddTagSpecifications (TagSpecification &&value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
CreateCapacityReservationFleetRequestWithDryRun (bool 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 28 of file CreateCapacityReservationFleetRequest.h.

Constructor & Destructor Documentation

◆ CreateCapacityReservationFleetRequest()

Aws::EC2::Model::CreateCapacityReservationFleetRequest::CreateCapacityReservationFleetRequest ( )

Member Function Documentation

◆ AddInstanceTypeSpecifications() [1/2]

CreateCapacityReservationFleetRequest& Aws::EC2::Model::CreateCapacityReservationFleetRequest::AddInstanceTypeSpecifications ( const ReservationFleetInstanceSpecification value)
inline

Information about the instance types for which to reserve the capacity.

Definition at line 225 of file CreateCapacityReservationFleetRequest.h.

◆ AddInstanceTypeSpecifications() [2/2]

CreateCapacityReservationFleetRequest& Aws::EC2::Model::CreateCapacityReservationFleetRequest::AddInstanceTypeSpecifications ( ReservationFleetInstanceSpecification &&  value)
inline

Information about the instance types for which to reserve the capacity.

Definition at line 230 of file CreateCapacityReservationFleetRequest.h.

◆ AddTagSpecifications() [1/2]

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

The tags to assign to the Capacity Reservation Fleet. The tags are automatically assigned to the Capacity Reservations in the Fleet.

Definition at line 525 of file CreateCapacityReservationFleetRequest.h.

◆ AddTagSpecifications() [2/2]

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

The tags to assign to the Capacity Reservation Fleet. The tags are automatically assigned to the Capacity Reservations in the Fleet.

Definition at line 531 of file CreateCapacityReservationFleetRequest.h.

◆ AllocationStrategyHasBeenSet()

bool Aws::EC2::Model::CreateCapacityReservationFleetRequest::AllocationStrategyHasBeenSet ( ) const
inline

The strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to use. Currently, only the prioritized allocation strategy is supported. For more information, see Allocation strategy in the Amazon EC2 User Guide.

Valid values: prioritized

Definition at line 64 of file CreateCapacityReservationFleetRequest.h.

◆ ClientTokenHasBeenSet()

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

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

Definition at line 141 of file CreateCapacityReservationFleetRequest.h.

◆ DryRunHasBeenSet()

bool Aws::EC2::Model::CreateCapacityReservationFleetRequest::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 548 of file CreateCapacityReservationFleetRequest.h.

◆ DumpBodyToUrl()

void Aws::EC2::Model::CreateCapacityReservationFleetRequest::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.

◆ EndDateHasBeenSet()

bool Aws::EC2::Model::CreateCapacityReservationFleetRequest::EndDateHasBeenSet ( ) const
inline

The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation Fleet expires, its state changes to expired and all of the Capacity Reservations in the Fleet expire.

The Capacity Reservation Fleet expires within an hour after the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation Fleet is guaranteed to expire between 13:30:55 and 14:30:55 on 5/31/2019.

Definition at line 371 of file CreateCapacityReservationFleetRequest.h.

◆ GetAllocationStrategy()

const Aws::String& Aws::EC2::Model::CreateCapacityReservationFleetRequest::GetAllocationStrategy ( ) const
inline

The strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to use. Currently, only the prioritized allocation strategy is supported. For more information, see Allocation strategy in the Amazon EC2 User Guide.

Valid values: prioritized

Definition at line 54 of file CreateCapacityReservationFleetRequest.h.

◆ GetClientToken()

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

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

Definition at line 133 of file CreateCapacityReservationFleetRequest.h.

◆ GetDryRun()

bool Aws::EC2::Model::CreateCapacityReservationFleetRequest::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 540 of file CreateCapacityReservationFleetRequest.h.

◆ GetEndDate()

const Aws::Utils::DateTime& Aws::EC2::Model::CreateCapacityReservationFleetRequest::GetEndDate ( ) const
inline

The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation Fleet expires, its state changes to expired and all of the Capacity Reservations in the Fleet expire.

The Capacity Reservation Fleet expires within an hour after the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation Fleet is guaranteed to expire between 13:30:55 and 14:30:55 on 5/31/2019.

Definition at line 360 of file CreateCapacityReservationFleetRequest.h.

◆ GetInstanceMatchCriteria()

const FleetInstanceMatchCriteria& Aws::EC2::Model::CreateCapacityReservationFleetRequest::GetInstanceMatchCriteria ( ) const
inline

Indicates the type of instance launches that the Capacity Reservation Fleet accepts. All Capacity Reservations in the Fleet inherit this instance matching criteria.

Currently, Capacity Reservation Fleets support open instance matching criteria only. This means that instances that have matching attributes (instance type, platform, and Availability Zone) run in the Capacity Reservations automatically. Instances do not need to explicitly target a Capacity Reservation Fleet to use its reserved capacity.

Definition at line 427 of file CreateCapacityReservationFleetRequest.h.

◆ GetInstanceTypeSpecifications()

const Aws::Vector<ReservationFleetInstanceSpecification>& Aws::EC2::Model::CreateCapacityReservationFleetRequest::GetInstanceTypeSpecifications ( ) const
inline

Information about the instance types for which to reserve the capacity.

Definition at line 195 of file CreateCapacityReservationFleetRequest.h.

◆ GetServiceRequestName()

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

◆ GetTagSpecifications()

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

The tags to assign to the Capacity Reservation Fleet. The tags are automatically assigned to the Capacity Reservations in the Fleet.

Definition at line 489 of file CreateCapacityReservationFleetRequest.h.

◆ GetTenancy()

const FleetCapacityReservationTenancy& Aws::EC2::Model::CreateCapacityReservationFleetRequest::GetTenancy ( ) const
inline

Indicates the tenancy of the Capacity Reservation Fleet. All Capacity Reservations in the Fleet inherit this tenancy. The Capacity Reservation Fleet can have one of the following tenancy settings:

  • default - The Capacity Reservation Fleet is created on hardware that is shared with other Amazon Web Services accounts.

  • dedicated - The Capacity Reservations are created on single-tenant hardware that is dedicated to a single Amazon Web Services account.

Definition at line 243 of file CreateCapacityReservationFleetRequest.h.

◆ GetTotalTargetCapacity()

int Aws::EC2::Model::CreateCapacityReservationFleetRequest::GetTotalTargetCapacity ( ) const
inline

The total number of capacity units to be reserved by the Capacity Reservation Fleet. This value, together with the instance type weights that you assign to each instance type used by the Fleet determine the number of instances for which the Fleet reserves capacity. Both values are based on units that make sense for your workload. For more information, see Total target capacity in the Amazon EC2 User Guide.

Definition at line 315 of file CreateCapacityReservationFleetRequest.h.

◆ InstanceMatchCriteriaHasBeenSet()

bool Aws::EC2::Model::CreateCapacityReservationFleetRequest::InstanceMatchCriteriaHasBeenSet ( ) const
inline

Indicates the type of instance launches that the Capacity Reservation Fleet accepts. All Capacity Reservations in the Fleet inherit this instance matching criteria.

Currently, Capacity Reservation Fleets support open instance matching criteria only. This means that instances that have matching attributes (instance type, platform, and Availability Zone) run in the Capacity Reservations automatically. Instances do not need to explicitly target a Capacity Reservation Fleet to use its reserved capacity.

Definition at line 438 of file CreateCapacityReservationFleetRequest.h.

◆ InstanceTypeSpecificationsHasBeenSet()

bool Aws::EC2::Model::CreateCapacityReservationFleetRequest::InstanceTypeSpecificationsHasBeenSet ( ) const
inline

Information about the instance types for which to reserve the capacity.

Definition at line 200 of file CreateCapacityReservationFleetRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAllocationStrategy() [1/3]

void Aws::EC2::Model::CreateCapacityReservationFleetRequest::SetAllocationStrategy ( Aws::String &&  value)
inline

The strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to use. Currently, only the prioritized allocation strategy is supported. For more information, see Allocation strategy in the Amazon EC2 User Guide.

Valid values: prioritized

Definition at line 84 of file CreateCapacityReservationFleetRequest.h.

◆ SetAllocationStrategy() [2/3]

void Aws::EC2::Model::CreateCapacityReservationFleetRequest::SetAllocationStrategy ( const Aws::String value)
inline

The strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to use. Currently, only the prioritized allocation strategy is supported. For more information, see Allocation strategy in the Amazon EC2 User Guide.

Valid values: prioritized

Definition at line 74 of file CreateCapacityReservationFleetRequest.h.

◆ SetAllocationStrategy() [3/3]

void Aws::EC2::Model::CreateCapacityReservationFleetRequest::SetAllocationStrategy ( const char *  value)
inline

The strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to use. Currently, only the prioritized allocation strategy is supported. For more information, see Allocation strategy in the Amazon EC2 User Guide.

Valid values: prioritized

Definition at line 94 of file CreateCapacityReservationFleetRequest.h.

◆ SetClientToken() [1/3]

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

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

Definition at line 157 of file CreateCapacityReservationFleetRequest.h.

◆ SetClientToken() [2/3]

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

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

Definition at line 149 of file CreateCapacityReservationFleetRequest.h.

◆ SetClientToken() [3/3]

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

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

Definition at line 165 of file CreateCapacityReservationFleetRequest.h.

◆ SetDryRun()

void Aws::EC2::Model::CreateCapacityReservationFleetRequest::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 556 of file CreateCapacityReservationFleetRequest.h.

◆ SetEndDate() [1/2]

void Aws::EC2::Model::CreateCapacityReservationFleetRequest::SetEndDate ( Aws::Utils::DateTime &&  value)
inline

The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation Fleet expires, its state changes to expired and all of the Capacity Reservations in the Fleet expire.

The Capacity Reservation Fleet expires within an hour after the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation Fleet is guaranteed to expire between 13:30:55 and 14:30:55 on 5/31/2019.

Definition at line 393 of file CreateCapacityReservationFleetRequest.h.

◆ SetEndDate() [2/2]

void Aws::EC2::Model::CreateCapacityReservationFleetRequest::SetEndDate ( const Aws::Utils::DateTime value)
inline

The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation Fleet expires, its state changes to expired and all of the Capacity Reservations in the Fleet expire.

The Capacity Reservation Fleet expires within an hour after the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation Fleet is guaranteed to expire between 13:30:55 and 14:30:55 on 5/31/2019.

Definition at line 382 of file CreateCapacityReservationFleetRequest.h.

◆ SetInstanceMatchCriteria() [1/2]

void Aws::EC2::Model::CreateCapacityReservationFleetRequest::SetInstanceMatchCriteria ( const FleetInstanceMatchCriteria value)
inline

Indicates the type of instance launches that the Capacity Reservation Fleet accepts. All Capacity Reservations in the Fleet inherit this instance matching criteria.

Currently, Capacity Reservation Fleets support open instance matching criteria only. This means that instances that have matching attributes (instance type, platform, and Availability Zone) run in the Capacity Reservations automatically. Instances do not need to explicitly target a Capacity Reservation Fleet to use its reserved capacity.

Definition at line 449 of file CreateCapacityReservationFleetRequest.h.

◆ SetInstanceMatchCriteria() [2/2]

void Aws::EC2::Model::CreateCapacityReservationFleetRequest::SetInstanceMatchCriteria ( FleetInstanceMatchCriteria &&  value)
inline

Indicates the type of instance launches that the Capacity Reservation Fleet accepts. All Capacity Reservations in the Fleet inherit this instance matching criteria.

Currently, Capacity Reservation Fleets support open instance matching criteria only. This means that instances that have matching attributes (instance type, platform, and Availability Zone) run in the Capacity Reservations automatically. Instances do not need to explicitly target a Capacity Reservation Fleet to use its reserved capacity.

Definition at line 460 of file CreateCapacityReservationFleetRequest.h.

◆ SetInstanceTypeSpecifications() [1/2]

void Aws::EC2::Model::CreateCapacityReservationFleetRequest::SetInstanceTypeSpecifications ( Aws::Vector< ReservationFleetInstanceSpecification > &&  value)
inline

Information about the instance types for which to reserve the capacity.

Definition at line 210 of file CreateCapacityReservationFleetRequest.h.

◆ SetInstanceTypeSpecifications() [2/2]

void Aws::EC2::Model::CreateCapacityReservationFleetRequest::SetInstanceTypeSpecifications ( const Aws::Vector< ReservationFleetInstanceSpecification > &  value)
inline

Information about the instance types for which to reserve the capacity.

Definition at line 205 of file CreateCapacityReservationFleetRequest.h.

◆ SetTagSpecifications() [1/2]

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

The tags to assign to the Capacity Reservation Fleet. The tags are automatically assigned to the Capacity Reservations in the Fleet.

Definition at line 507 of file CreateCapacityReservationFleetRequest.h.

◆ SetTagSpecifications() [2/2]

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

The tags to assign to the Capacity Reservation Fleet. The tags are automatically assigned to the Capacity Reservations in the Fleet.

Definition at line 501 of file CreateCapacityReservationFleetRequest.h.

◆ SetTenancy() [1/2]

void Aws::EC2::Model::CreateCapacityReservationFleetRequest::SetTenancy ( const FleetCapacityReservationTenancy value)
inline

Indicates the tenancy of the Capacity Reservation Fleet. All Capacity Reservations in the Fleet inherit this tenancy. The Capacity Reservation Fleet can have one of the following tenancy settings:

  • default - The Capacity Reservation Fleet is created on hardware that is shared with other Amazon Web Services accounts.

  • dedicated - The Capacity Reservations are created on single-tenant hardware that is dedicated to a single Amazon Web Services account.

Definition at line 267 of file CreateCapacityReservationFleetRequest.h.

◆ SetTenancy() [2/2]

void Aws::EC2::Model::CreateCapacityReservationFleetRequest::SetTenancy ( FleetCapacityReservationTenancy &&  value)
inline

Indicates the tenancy of the Capacity Reservation Fleet. All Capacity Reservations in the Fleet inherit this tenancy. The Capacity Reservation Fleet can have one of the following tenancy settings:

  • default - The Capacity Reservation Fleet is created on hardware that is shared with other Amazon Web Services accounts.

  • dedicated - The Capacity Reservations are created on single-tenant hardware that is dedicated to a single Amazon Web Services account.

Definition at line 279 of file CreateCapacityReservationFleetRequest.h.

◆ SetTotalTargetCapacity()

void Aws::EC2::Model::CreateCapacityReservationFleetRequest::SetTotalTargetCapacity ( int  value)
inline

The total number of capacity units to be reserved by the Capacity Reservation Fleet. This value, together with the instance type weights that you assign to each instance type used by the Fleet determine the number of instances for which the Fleet reserves capacity. Both values are based on units that make sense for your workload. For more information, see Total target capacity in the Amazon EC2 User Guide.

Definition at line 337 of file CreateCapacityReservationFleetRequest.h.

◆ TagSpecificationsHasBeenSet()

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

The tags to assign to the Capacity Reservation Fleet. The tags are automatically assigned to the Capacity Reservations in the Fleet.

Definition at line 495 of file CreateCapacityReservationFleetRequest.h.

◆ TenancyHasBeenSet()

bool Aws::EC2::Model::CreateCapacityReservationFleetRequest::TenancyHasBeenSet ( ) const
inline

Indicates the tenancy of the Capacity Reservation Fleet. All Capacity Reservations in the Fleet inherit this tenancy. The Capacity Reservation Fleet can have one of the following tenancy settings:

  • default - The Capacity Reservation Fleet is created on hardware that is shared with other Amazon Web Services accounts.

  • dedicated - The Capacity Reservations are created on single-tenant hardware that is dedicated to a single Amazon Web Services account.

Definition at line 255 of file CreateCapacityReservationFleetRequest.h.

◆ TotalTargetCapacityHasBeenSet()

bool Aws::EC2::Model::CreateCapacityReservationFleetRequest::TotalTargetCapacityHasBeenSet ( ) const
inline

The total number of capacity units to be reserved by the Capacity Reservation Fleet. This value, together with the instance type weights that you assign to each instance type used by the Fleet determine the number of instances for which the Fleet reserves capacity. Both values are based on units that make sense for your workload. For more information, see Total target capacity in the Amazon EC2 User Guide.

Definition at line 326 of file CreateCapacityReservationFleetRequest.h.

◆ WithAllocationStrategy() [1/3]

CreateCapacityReservationFleetRequest& Aws::EC2::Model::CreateCapacityReservationFleetRequest::WithAllocationStrategy ( Aws::String &&  value)
inline

The strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to use. Currently, only the prioritized allocation strategy is supported. For more information, see Allocation strategy in the Amazon EC2 User Guide.

Valid values: prioritized

Definition at line 114 of file CreateCapacityReservationFleetRequest.h.

◆ WithAllocationStrategy() [2/3]

CreateCapacityReservationFleetRequest& Aws::EC2::Model::CreateCapacityReservationFleetRequest::WithAllocationStrategy ( const Aws::String value)
inline

The strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to use. Currently, only the prioritized allocation strategy is supported. For more information, see Allocation strategy in the Amazon EC2 User Guide.

Valid values: prioritized

Definition at line 104 of file CreateCapacityReservationFleetRequest.h.

◆ WithAllocationStrategy() [3/3]

CreateCapacityReservationFleetRequest& Aws::EC2::Model::CreateCapacityReservationFleetRequest::WithAllocationStrategy ( const char *  value)
inline

The strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to use. Currently, only the prioritized allocation strategy is supported. For more information, see Allocation strategy in the Amazon EC2 User Guide.

Valid values: prioritized

Definition at line 124 of file CreateCapacityReservationFleetRequest.h.

◆ WithClientToken() [1/3]

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

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

Definition at line 181 of file CreateCapacityReservationFleetRequest.h.

◆ WithClientToken() [2/3]

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

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

Definition at line 173 of file CreateCapacityReservationFleetRequest.h.

◆ WithClientToken() [3/3]

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

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

Definition at line 189 of file CreateCapacityReservationFleetRequest.h.

◆ WithDryRun()

CreateCapacityReservationFleetRequest& Aws::EC2::Model::CreateCapacityReservationFleetRequest::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 564 of file CreateCapacityReservationFleetRequest.h.

◆ WithEndDate() [1/2]

CreateCapacityReservationFleetRequest& Aws::EC2::Model::CreateCapacityReservationFleetRequest::WithEndDate ( Aws::Utils::DateTime &&  value)
inline

The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation Fleet expires, its state changes to expired and all of the Capacity Reservations in the Fleet expire.

The Capacity Reservation Fleet expires within an hour after the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation Fleet is guaranteed to expire between 13:30:55 and 14:30:55 on 5/31/2019.

Definition at line 415 of file CreateCapacityReservationFleetRequest.h.

◆ WithEndDate() [2/2]

CreateCapacityReservationFleetRequest& Aws::EC2::Model::CreateCapacityReservationFleetRequest::WithEndDate ( const Aws::Utils::DateTime value)
inline

The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation Fleet expires, its state changes to expired and all of the Capacity Reservations in the Fleet expire.

The Capacity Reservation Fleet expires within an hour after the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation Fleet is guaranteed to expire between 13:30:55 and 14:30:55 on 5/31/2019.

Definition at line 404 of file CreateCapacityReservationFleetRequest.h.

◆ WithInstanceMatchCriteria() [1/2]

CreateCapacityReservationFleetRequest& Aws::EC2::Model::CreateCapacityReservationFleetRequest::WithInstanceMatchCriteria ( const FleetInstanceMatchCriteria value)
inline

Indicates the type of instance launches that the Capacity Reservation Fleet accepts. All Capacity Reservations in the Fleet inherit this instance matching criteria.

Currently, Capacity Reservation Fleets support open instance matching criteria only. This means that instances that have matching attributes (instance type, platform, and Availability Zone) run in the Capacity Reservations automatically. Instances do not need to explicitly target a Capacity Reservation Fleet to use its reserved capacity.

Definition at line 471 of file CreateCapacityReservationFleetRequest.h.

◆ WithInstanceMatchCriteria() [2/2]

CreateCapacityReservationFleetRequest& Aws::EC2::Model::CreateCapacityReservationFleetRequest::WithInstanceMatchCriteria ( FleetInstanceMatchCriteria &&  value)
inline

Indicates the type of instance launches that the Capacity Reservation Fleet accepts. All Capacity Reservations in the Fleet inherit this instance matching criteria.

Currently, Capacity Reservation Fleets support open instance matching criteria only. This means that instances that have matching attributes (instance type, platform, and Availability Zone) run in the Capacity Reservations automatically. Instances do not need to explicitly target a Capacity Reservation Fleet to use its reserved capacity.

Definition at line 482 of file CreateCapacityReservationFleetRequest.h.

◆ WithInstanceTypeSpecifications() [1/2]

CreateCapacityReservationFleetRequest& Aws::EC2::Model::CreateCapacityReservationFleetRequest::WithInstanceTypeSpecifications ( Aws::Vector< ReservationFleetInstanceSpecification > &&  value)
inline

Information about the instance types for which to reserve the capacity.

Definition at line 220 of file CreateCapacityReservationFleetRequest.h.

◆ WithInstanceTypeSpecifications() [2/2]

CreateCapacityReservationFleetRequest& Aws::EC2::Model::CreateCapacityReservationFleetRequest::WithInstanceTypeSpecifications ( const Aws::Vector< ReservationFleetInstanceSpecification > &  value)
inline

Information about the instance types for which to reserve the capacity.

Definition at line 215 of file CreateCapacityReservationFleetRequest.h.

◆ WithTagSpecifications() [1/2]

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

The tags to assign to the Capacity Reservation Fleet. The tags are automatically assigned to the Capacity Reservations in the Fleet.

Definition at line 519 of file CreateCapacityReservationFleetRequest.h.

◆ WithTagSpecifications() [2/2]

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

The tags to assign to the Capacity Reservation Fleet. The tags are automatically assigned to the Capacity Reservations in the Fleet.

Definition at line 513 of file CreateCapacityReservationFleetRequest.h.

◆ WithTenancy() [1/2]

CreateCapacityReservationFleetRequest& Aws::EC2::Model::CreateCapacityReservationFleetRequest::WithTenancy ( const FleetCapacityReservationTenancy value)
inline

Indicates the tenancy of the Capacity Reservation Fleet. All Capacity Reservations in the Fleet inherit this tenancy. The Capacity Reservation Fleet can have one of the following tenancy settings:

  • default - The Capacity Reservation Fleet is created on hardware that is shared with other Amazon Web Services accounts.

  • dedicated - The Capacity Reservations are created on single-tenant hardware that is dedicated to a single Amazon Web Services account.

Definition at line 291 of file CreateCapacityReservationFleetRequest.h.

◆ WithTenancy() [2/2]

CreateCapacityReservationFleetRequest& Aws::EC2::Model::CreateCapacityReservationFleetRequest::WithTenancy ( FleetCapacityReservationTenancy &&  value)
inline

Indicates the tenancy of the Capacity Reservation Fleet. All Capacity Reservations in the Fleet inherit this tenancy. The Capacity Reservation Fleet can have one of the following tenancy settings:

  • default - The Capacity Reservation Fleet is created on hardware that is shared with other Amazon Web Services accounts.

  • dedicated - The Capacity Reservations are created on single-tenant hardware that is dedicated to a single Amazon Web Services account.

Definition at line 303 of file CreateCapacityReservationFleetRequest.h.

◆ WithTotalTargetCapacity()

CreateCapacityReservationFleetRequest& Aws::EC2::Model::CreateCapacityReservationFleetRequest::WithTotalTargetCapacity ( int  value)
inline

The total number of capacity units to be reserved by the Capacity Reservation Fleet. This value, together with the instance type weights that you assign to each instance type used by the Fleet determine the number of instances for which the Fleet reserves capacity. Both values are based on units that make sense for your workload. For more information, see Total target capacity in the Amazon EC2 User Guide.

Definition at line 348 of file CreateCapacityReservationFleetRequest.h.


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