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

#include <CreateCapacityReservationRequest.h>

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

Public Member Functions

 CreateCapacityReservationRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetClientToken () const
 
bool ClientTokenHasBeenSet () const
 
void SetClientToken (const Aws::String &value)
 
void SetClientToken (Aws::String &&value)
 
void SetClientToken (const char *value)
 
CreateCapacityReservationRequestWithClientToken (const Aws::String &value)
 
CreateCapacityReservationRequestWithClientToken (Aws::String &&value)
 
CreateCapacityReservationRequestWithClientToken (const char *value)
 
const Aws::StringGetInstanceType () const
 
bool InstanceTypeHasBeenSet () const
 
void SetInstanceType (const Aws::String &value)
 
void SetInstanceType (Aws::String &&value)
 
void SetInstanceType (const char *value)
 
CreateCapacityReservationRequestWithInstanceType (const Aws::String &value)
 
CreateCapacityReservationRequestWithInstanceType (Aws::String &&value)
 
CreateCapacityReservationRequestWithInstanceType (const char *value)
 
const CapacityReservationInstancePlatformGetInstancePlatform () const
 
bool InstancePlatformHasBeenSet () const
 
void SetInstancePlatform (const CapacityReservationInstancePlatform &value)
 
void SetInstancePlatform (CapacityReservationInstancePlatform &&value)
 
CreateCapacityReservationRequestWithInstancePlatform (const CapacityReservationInstancePlatform &value)
 
CreateCapacityReservationRequestWithInstancePlatform (CapacityReservationInstancePlatform &&value)
 
const Aws::StringGetAvailabilityZone () const
 
bool AvailabilityZoneHasBeenSet () const
 
void SetAvailabilityZone (const Aws::String &value)
 
void SetAvailabilityZone (Aws::String &&value)
 
void SetAvailabilityZone (const char *value)
 
CreateCapacityReservationRequestWithAvailabilityZone (const Aws::String &value)
 
CreateCapacityReservationRequestWithAvailabilityZone (Aws::String &&value)
 
CreateCapacityReservationRequestWithAvailabilityZone (const char *value)
 
const Aws::StringGetAvailabilityZoneId () const
 
bool AvailabilityZoneIdHasBeenSet () const
 
void SetAvailabilityZoneId (const Aws::String &value)
 
void SetAvailabilityZoneId (Aws::String &&value)
 
void SetAvailabilityZoneId (const char *value)
 
CreateCapacityReservationRequestWithAvailabilityZoneId (const Aws::String &value)
 
CreateCapacityReservationRequestWithAvailabilityZoneId (Aws::String &&value)
 
CreateCapacityReservationRequestWithAvailabilityZoneId (const char *value)
 
const CapacityReservationTenancyGetTenancy () const
 
bool TenancyHasBeenSet () const
 
void SetTenancy (const CapacityReservationTenancy &value)
 
void SetTenancy (CapacityReservationTenancy &&value)
 
CreateCapacityReservationRequestWithTenancy (const CapacityReservationTenancy &value)
 
CreateCapacityReservationRequestWithTenancy (CapacityReservationTenancy &&value)
 
int GetInstanceCount () const
 
bool InstanceCountHasBeenSet () const
 
void SetInstanceCount (int value)
 
CreateCapacityReservationRequestWithInstanceCount (int value)
 
bool GetEbsOptimized () const
 
bool EbsOptimizedHasBeenSet () const
 
void SetEbsOptimized (bool value)
 
CreateCapacityReservationRequestWithEbsOptimized (bool value)
 
bool GetEphemeralStorage () const
 
bool EphemeralStorageHasBeenSet () const
 
void SetEphemeralStorage (bool value)
 
CreateCapacityReservationRequestWithEphemeralStorage (bool value)
 
const Aws::Utils::DateTimeGetEndDate () const
 
bool EndDateHasBeenSet () const
 
void SetEndDate (const Aws::Utils::DateTime &value)
 
void SetEndDate (Aws::Utils::DateTime &&value)
 
CreateCapacityReservationRequestWithEndDate (const Aws::Utils::DateTime &value)
 
CreateCapacityReservationRequestWithEndDate (Aws::Utils::DateTime &&value)
 
const EndDateTypeGetEndDateType () const
 
bool EndDateTypeHasBeenSet () const
 
void SetEndDateType (const EndDateType &value)
 
void SetEndDateType (EndDateType &&value)
 
CreateCapacityReservationRequestWithEndDateType (const EndDateType &value)
 
CreateCapacityReservationRequestWithEndDateType (EndDateType &&value)
 
const InstanceMatchCriteriaGetInstanceMatchCriteria () const
 
bool InstanceMatchCriteriaHasBeenSet () const
 
void SetInstanceMatchCriteria (const InstanceMatchCriteria &value)
 
void SetInstanceMatchCriteria (InstanceMatchCriteria &&value)
 
CreateCapacityReservationRequestWithInstanceMatchCriteria (const InstanceMatchCriteria &value)
 
CreateCapacityReservationRequestWithInstanceMatchCriteria (InstanceMatchCriteria &&value)
 
const Aws::Vector< TagSpecification > & GetTagSpecifications () const
 
bool TagSpecificationsHasBeenSet () const
 
void SetTagSpecifications (const Aws::Vector< TagSpecification > &value)
 
void SetTagSpecifications (Aws::Vector< TagSpecification > &&value)
 
CreateCapacityReservationRequestWithTagSpecifications (const Aws::Vector< TagSpecification > &value)
 
CreateCapacityReservationRequestWithTagSpecifications (Aws::Vector< TagSpecification > &&value)
 
CreateCapacityReservationRequestAddTagSpecifications (const TagSpecification &value)
 
CreateCapacityReservationRequestAddTagSpecifications (TagSpecification &&value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
CreateCapacityReservationRequestWithDryRun (bool value)
 
const Aws::StringGetOutpostArn () const
 
bool OutpostArnHasBeenSet () const
 
void SetOutpostArn (const Aws::String &value)
 
void SetOutpostArn (Aws::String &&value)
 
void SetOutpostArn (const char *value)
 
CreateCapacityReservationRequestWithOutpostArn (const Aws::String &value)
 
CreateCapacityReservationRequestWithOutpostArn (Aws::String &&value)
 
CreateCapacityReservationRequestWithOutpostArn (const char *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 CreateCapacityReservationRequest.h.

Constructor & Destructor Documentation

◆ CreateCapacityReservationRequest()

Aws::EC2::Model::CreateCapacityReservationRequest::CreateCapacityReservationRequest ( )

Member Function Documentation

◆ AddTagSpecifications() [1/2]

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

The tags to apply to the Capacity Reservation during launch.

Definition at line 721 of file CreateCapacityReservationRequest.h.

◆ AddTagSpecifications() [2/2]

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

The tags to apply to the Capacity Reservation during launch.

Definition at line 726 of file CreateCapacityReservationRequest.h.

◆ AvailabilityZoneHasBeenSet()

bool Aws::EC2::Model::CreateCapacityReservationRequest::AvailabilityZoneHasBeenSet ( ) const
inline

The Availability Zone in which to create the Capacity Reservation.

Definition at line 207 of file CreateCapacityReservationRequest.h.

◆ AvailabilityZoneIdHasBeenSet()

bool Aws::EC2::Model::CreateCapacityReservationRequest::AvailabilityZoneIdHasBeenSet ( ) const
inline

The ID of the Availability Zone in which to create the Capacity Reservation.

Definition at line 250 of file CreateCapacityReservationRequest.h.

◆ ClientTokenHasBeenSet()

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

◆ DryRunHasBeenSet()

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

◆ DumpBodyToUrl()

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

◆ EbsOptimizedHasBeenSet()

bool Aws::EC2::Model::CreateCapacityReservationRequest::EbsOptimizedHasBeenSet ( ) const
inline

Indicates whether the Capacity Reservation supports EBS-optimized instances. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS- optimized instance.

Definition at line 393 of file CreateCapacityReservationRequest.h.

◆ EndDateHasBeenSet()

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

The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation's state changes to expired when it reaches its end date and time.

You must provide an EndDate value if EndDateType is limited. Omit EndDate if EndDateType is unlimited.

If the EndDateType is limited, the Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019.

Definition at line 467 of file CreateCapacityReservationRequest.h.

◆ EndDateTypeHasBeenSet()

bool Aws::EC2::Model::CreateCapacityReservationRequest::EndDateTypeHasBeenSet ( ) const
inline

Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types:

  • unlimited - The Capacity Reservation remains active until you explicitly cancel it. Do not provide an EndDate if the EndDateType is unlimited.

  • limited - The Capacity Reservation expires automatically at a specified date and time. You must provide an EndDate value if the EndDateType value is limited.

Definition at line 552 of file CreateCapacityReservationRequest.h.

◆ EphemeralStorageHasBeenSet()

bool Aws::EC2::Model::CreateCapacityReservationRequest::EphemeralStorageHasBeenSet ( ) const
inline

Indicates whether the Capacity Reservation supports instances with temporary, block-level storage.

Definition at line 424 of file CreateCapacityReservationRequest.h.

◆ GetAvailabilityZone()

const Aws::String& Aws::EC2::Model::CreateCapacityReservationRequest::GetAvailabilityZone ( ) const
inline

The Availability Zone in which to create the Capacity Reservation.

Definition at line 202 of file CreateCapacityReservationRequest.h.

◆ GetAvailabilityZoneId()

const Aws::String& Aws::EC2::Model::CreateCapacityReservationRequest::GetAvailabilityZoneId ( ) const
inline

The ID of the Availability Zone in which to create the Capacity Reservation.

Definition at line 244 of file CreateCapacityReservationRequest.h.

◆ GetClientToken()

const Aws::String& Aws::EC2::Model::CreateCapacityReservationRequest::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 52 of file CreateCapacityReservationRequest.h.

◆ GetDryRun()

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

◆ GetEbsOptimized()

bool Aws::EC2::Model::CreateCapacityReservationRequest::GetEbsOptimized ( ) const
inline

Indicates whether the Capacity Reservation supports EBS-optimized instances. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS- optimized instance.

Definition at line 384 of file CreateCapacityReservationRequest.h.

◆ GetEndDate()

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

The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation's state changes to expired when it reaches its end date and time.

You must provide an EndDate value if EndDateType is limited. Omit EndDate if EndDateType is unlimited.

If the EndDateType is limited, the Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019.

Definition at line 452 of file CreateCapacityReservationRequest.h.

◆ GetEndDateType()

const EndDateType& Aws::EC2::Model::CreateCapacityReservationRequest::GetEndDateType ( ) const
inline

Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types:

  • unlimited - The Capacity Reservation remains active until you explicitly cancel it. Do not provide an EndDate if the EndDateType is unlimited.

  • limited - The Capacity Reservation expires automatically at a specified date and time. You must provide an EndDate value if the EndDateType value is limited.

Definition at line 540 of file CreateCapacityReservationRequest.h.

◆ GetEphemeralStorage()

bool Aws::EC2::Model::CreateCapacityReservationRequest::GetEphemeralStorage ( ) const
inline

Indicates whether the Capacity Reservation supports instances with temporary, block-level storage.

Definition at line 418 of file CreateCapacityReservationRequest.h.

◆ GetInstanceCount()

int Aws::EC2::Model::CreateCapacityReservationRequest::GetInstanceCount ( ) const
inline

The number of instances for which to reserve capacity.

Definition at line 359 of file CreateCapacityReservationRequest.h.

◆ GetInstanceMatchCriteria()

const InstanceMatchCriteria& Aws::EC2::Model::CreateCapacityReservationRequest::GetInstanceMatchCriteria ( ) const
inline

Indicates the type of instance launches that the Capacity Reservation accepts. The options include:

  • open - The Capacity Reservation automatically matches all instances that have matching attributes (instance type, platform, and Availability Zone). Instances that have matching attributes run in the Capacity Reservation automatically without specifying any additional parameters.

  • targeted - The Capacity Reservation only accepts instances that have matching attributes (instance type, platform, and Availability Zone), and explicitly target the Capacity Reservation. This ensures that only permitted instances can use the reserved capacity.

Default: open

Definition at line 615 of file CreateCapacityReservationRequest.h.

◆ GetInstancePlatform()

const CapacityReservationInstancePlatform& Aws::EC2::Model::CreateCapacityReservationRequest::GetInstancePlatform ( ) const
inline

The type of operating system for which to reserve capacity.

Definition at line 171 of file CreateCapacityReservationRequest.h.

◆ GetInstanceType()

const Aws::String& Aws::EC2::Model::CreateCapacityReservationRequest::GetInstanceType ( ) const
inline

The instance type for which to reserve capacity. For more information, see Instance types in the Amazon EC2 User Guide.

Definition at line 116 of file CreateCapacityReservationRequest.h.

◆ GetOutpostArn()

const Aws::String& Aws::EC2::Model::CreateCapacityReservationRequest::GetOutpostArn ( ) const
inline

The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity Reservation.

Definition at line 766 of file CreateCapacityReservationRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 37 of file CreateCapacityReservationRequest.h.

◆ GetTagSpecifications()

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

The tags to apply to the Capacity Reservation during launch.

Definition at line 691 of file CreateCapacityReservationRequest.h.

◆ GetTenancy()

const CapacityReservationTenancy& Aws::EC2::Model::CreateCapacityReservationRequest::GetTenancy ( ) const
inline

Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings:

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

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

Definition at line 298 of file CreateCapacityReservationRequest.h.

◆ InstanceCountHasBeenSet()

bool Aws::EC2::Model::CreateCapacityReservationRequest::InstanceCountHasBeenSet ( ) const
inline

The number of instances for which to reserve capacity.

Definition at line 364 of file CreateCapacityReservationRequest.h.

◆ InstanceMatchCriteriaHasBeenSet()

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

Indicates the type of instance launches that the Capacity Reservation accepts. The options include:

  • open - The Capacity Reservation automatically matches all instances that have matching attributes (instance type, platform, and Availability Zone). Instances that have matching attributes run in the Capacity Reservation automatically without specifying any additional parameters.

  • targeted - The Capacity Reservation only accepts instances that have matching attributes (instance type, platform, and Availability Zone), and explicitly target the Capacity Reservation. This ensures that only permitted instances can use the reserved capacity.

Default: open

Definition at line 629 of file CreateCapacityReservationRequest.h.

◆ InstancePlatformHasBeenSet()

bool Aws::EC2::Model::CreateCapacityReservationRequest::InstancePlatformHasBeenSet ( ) const
inline

The type of operating system for which to reserve capacity.

Definition at line 176 of file CreateCapacityReservationRequest.h.

◆ InstanceTypeHasBeenSet()

bool Aws::EC2::Model::CreateCapacityReservationRequest::InstanceTypeHasBeenSet ( ) const
inline

The instance type for which to reserve capacity. For more information, see Instance types in the Amazon EC2 User Guide.

Definition at line 123 of file CreateCapacityReservationRequest.h.

◆ OutpostArnHasBeenSet()

bool Aws::EC2::Model::CreateCapacityReservationRequest::OutpostArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity Reservation.

Definition at line 772 of file CreateCapacityReservationRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAvailabilityZone() [1/3]

void Aws::EC2::Model::CreateCapacityReservationRequest::SetAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone in which to create the Capacity Reservation.

Definition at line 217 of file CreateCapacityReservationRequest.h.

◆ SetAvailabilityZone() [2/3]

void Aws::EC2::Model::CreateCapacityReservationRequest::SetAvailabilityZone ( const Aws::String value)
inline

The Availability Zone in which to create the Capacity Reservation.

Definition at line 212 of file CreateCapacityReservationRequest.h.

◆ SetAvailabilityZone() [3/3]

void Aws::EC2::Model::CreateCapacityReservationRequest::SetAvailabilityZone ( const char *  value)
inline

The Availability Zone in which to create the Capacity Reservation.

Definition at line 222 of file CreateCapacityReservationRequest.h.

◆ SetAvailabilityZoneId() [1/3]

void Aws::EC2::Model::CreateCapacityReservationRequest::SetAvailabilityZoneId ( Aws::String &&  value)
inline

The ID of the Availability Zone in which to create the Capacity Reservation.

Definition at line 262 of file CreateCapacityReservationRequest.h.

◆ SetAvailabilityZoneId() [2/3]

void Aws::EC2::Model::CreateCapacityReservationRequest::SetAvailabilityZoneId ( const Aws::String value)
inline

The ID of the Availability Zone in which to create the Capacity Reservation.

Definition at line 256 of file CreateCapacityReservationRequest.h.

◆ SetAvailabilityZoneId() [3/3]

void Aws::EC2::Model::CreateCapacityReservationRequest::SetAvailabilityZoneId ( const char *  value)
inline

The ID of the Availability Zone in which to create the Capacity Reservation.

Definition at line 268 of file CreateCapacityReservationRequest.h.

◆ SetClientToken() [1/3]

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

◆ SetClientToken() [2/3]

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

◆ SetClientToken() [3/3]

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

◆ SetDryRun()

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

◆ SetEbsOptimized()

void Aws::EC2::Model::CreateCapacityReservationRequest::SetEbsOptimized ( bool  value)
inline

Indicates whether the Capacity Reservation supports EBS-optimized instances. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS- optimized instance.

Definition at line 402 of file CreateCapacityReservationRequest.h.

◆ SetEndDate() [1/2]

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

The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation's state changes to expired when it reaches its end date and time.

You must provide an EndDate value if EndDateType is limited. Omit EndDate if EndDateType is unlimited.

If the EndDateType is limited, the Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019.

Definition at line 497 of file CreateCapacityReservationRequest.h.

◆ SetEndDate() [2/2]

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

The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation's state changes to expired when it reaches its end date and time.

You must provide an EndDate value if EndDateType is limited. Omit EndDate if EndDateType is unlimited.

If the EndDateType is limited, the Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019.

Definition at line 482 of file CreateCapacityReservationRequest.h.

◆ SetEndDateType() [1/2]

void Aws::EC2::Model::CreateCapacityReservationRequest::SetEndDateType ( const EndDateType value)
inline

Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types:

  • unlimited - The Capacity Reservation remains active until you explicitly cancel it. Do not provide an EndDate if the EndDateType is unlimited.

  • limited - The Capacity Reservation expires automatically at a specified date and time. You must provide an EndDate value if the EndDateType value is limited.

Definition at line 564 of file CreateCapacityReservationRequest.h.

◆ SetEndDateType() [2/2]

void Aws::EC2::Model::CreateCapacityReservationRequest::SetEndDateType ( EndDateType &&  value)
inline

Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types:

  • unlimited - The Capacity Reservation remains active until you explicitly cancel it. Do not provide an EndDate if the EndDateType is unlimited.

  • limited - The Capacity Reservation expires automatically at a specified date and time. You must provide an EndDate value if the EndDateType value is limited.

Definition at line 576 of file CreateCapacityReservationRequest.h.

◆ SetEphemeralStorage()

void Aws::EC2::Model::CreateCapacityReservationRequest::SetEphemeralStorage ( bool  value)
inline

Indicates whether the Capacity Reservation supports instances with temporary, block-level storage.

Definition at line 430 of file CreateCapacityReservationRequest.h.

◆ SetInstanceCount()

void Aws::EC2::Model::CreateCapacityReservationRequest::SetInstanceCount ( int  value)
inline

The number of instances for which to reserve capacity.

Definition at line 369 of file CreateCapacityReservationRequest.h.

◆ SetInstanceMatchCriteria() [1/2]

void Aws::EC2::Model::CreateCapacityReservationRequest::SetInstanceMatchCriteria ( const InstanceMatchCriteria value)
inline

Indicates the type of instance launches that the Capacity Reservation accepts. The options include:

  • open - The Capacity Reservation automatically matches all instances that have matching attributes (instance type, platform, and Availability Zone). Instances that have matching attributes run in the Capacity Reservation automatically without specifying any additional parameters.

  • targeted - The Capacity Reservation only accepts instances that have matching attributes (instance type, platform, and Availability Zone), and explicitly target the Capacity Reservation. This ensures that only permitted instances can use the reserved capacity.

Default: open

Definition at line 643 of file CreateCapacityReservationRequest.h.

◆ SetInstanceMatchCriteria() [2/2]

void Aws::EC2::Model::CreateCapacityReservationRequest::SetInstanceMatchCriteria ( InstanceMatchCriteria &&  value)
inline

Indicates the type of instance launches that the Capacity Reservation accepts. The options include:

  • open - The Capacity Reservation automatically matches all instances that have matching attributes (instance type, platform, and Availability Zone). Instances that have matching attributes run in the Capacity Reservation automatically without specifying any additional parameters.

  • targeted - The Capacity Reservation only accepts instances that have matching attributes (instance type, platform, and Availability Zone), and explicitly target the Capacity Reservation. This ensures that only permitted instances can use the reserved capacity.

Default: open

Definition at line 657 of file CreateCapacityReservationRequest.h.

◆ SetInstancePlatform() [1/2]

void Aws::EC2::Model::CreateCapacityReservationRequest::SetInstancePlatform ( CapacityReservationInstancePlatform &&  value)
inline

The type of operating system for which to reserve capacity.

Definition at line 186 of file CreateCapacityReservationRequest.h.

◆ SetInstancePlatform() [2/2]

void Aws::EC2::Model::CreateCapacityReservationRequest::SetInstancePlatform ( const CapacityReservationInstancePlatform value)
inline

The type of operating system for which to reserve capacity.

Definition at line 181 of file CreateCapacityReservationRequest.h.

◆ SetInstanceType() [1/3]

void Aws::EC2::Model::CreateCapacityReservationRequest::SetInstanceType ( Aws::String &&  value)
inline

The instance type for which to reserve capacity. For more information, see Instance types in the Amazon EC2 User Guide.

Definition at line 137 of file CreateCapacityReservationRequest.h.

◆ SetInstanceType() [2/3]

void Aws::EC2::Model::CreateCapacityReservationRequest::SetInstanceType ( const Aws::String value)
inline

The instance type for which to reserve capacity. For more information, see Instance types in the Amazon EC2 User Guide.

Definition at line 130 of file CreateCapacityReservationRequest.h.

◆ SetInstanceType() [3/3]

void Aws::EC2::Model::CreateCapacityReservationRequest::SetInstanceType ( const char *  value)
inline

The instance type for which to reserve capacity. For more information, see Instance types in the Amazon EC2 User Guide.

Definition at line 144 of file CreateCapacityReservationRequest.h.

◆ SetOutpostArn() [1/3]

void Aws::EC2::Model::CreateCapacityReservationRequest::SetOutpostArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity Reservation.

Definition at line 784 of file CreateCapacityReservationRequest.h.

◆ SetOutpostArn() [2/3]

void Aws::EC2::Model::CreateCapacityReservationRequest::SetOutpostArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity Reservation.

Definition at line 778 of file CreateCapacityReservationRequest.h.

◆ SetOutpostArn() [3/3]

void Aws::EC2::Model::CreateCapacityReservationRequest::SetOutpostArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity Reservation.

Definition at line 790 of file CreateCapacityReservationRequest.h.

◆ SetTagSpecifications() [1/2]

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

The tags to apply to the Capacity Reservation during launch.

Definition at line 706 of file CreateCapacityReservationRequest.h.

◆ SetTagSpecifications() [2/2]

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

The tags to apply to the Capacity Reservation during launch.

Definition at line 701 of file CreateCapacityReservationRequest.h.

◆ SetTenancy() [1/2]

void Aws::EC2::Model::CreateCapacityReservationRequest::SetTenancy ( CapacityReservationTenancy &&  value)
inline

Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings:

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

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

Definition at line 331 of file CreateCapacityReservationRequest.h.

◆ SetTenancy() [2/2]

void Aws::EC2::Model::CreateCapacityReservationRequest::SetTenancy ( const CapacityReservationTenancy value)
inline

Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings:

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

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

Definition at line 320 of file CreateCapacityReservationRequest.h.

◆ TagSpecificationsHasBeenSet()

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

The tags to apply to the Capacity Reservation during launch.

Definition at line 696 of file CreateCapacityReservationRequest.h.

◆ TenancyHasBeenSet()

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

Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings:

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

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

Definition at line 309 of file CreateCapacityReservationRequest.h.

◆ WithAvailabilityZone() [1/3]

CreateCapacityReservationRequest& Aws::EC2::Model::CreateCapacityReservationRequest::WithAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone in which to create the Capacity Reservation.

Definition at line 232 of file CreateCapacityReservationRequest.h.

◆ WithAvailabilityZone() [2/3]

CreateCapacityReservationRequest& Aws::EC2::Model::CreateCapacityReservationRequest::WithAvailabilityZone ( const Aws::String value)
inline

The Availability Zone in which to create the Capacity Reservation.

Definition at line 227 of file CreateCapacityReservationRequest.h.

◆ WithAvailabilityZone() [3/3]

CreateCapacityReservationRequest& Aws::EC2::Model::CreateCapacityReservationRequest::WithAvailabilityZone ( const char *  value)
inline

The Availability Zone in which to create the Capacity Reservation.

Definition at line 237 of file CreateCapacityReservationRequest.h.

◆ WithAvailabilityZoneId() [1/3]

CreateCapacityReservationRequest& Aws::EC2::Model::CreateCapacityReservationRequest::WithAvailabilityZoneId ( Aws::String &&  value)
inline

The ID of the Availability Zone in which to create the Capacity Reservation.

Definition at line 280 of file CreateCapacityReservationRequest.h.

◆ WithAvailabilityZoneId() [2/3]

CreateCapacityReservationRequest& Aws::EC2::Model::CreateCapacityReservationRequest::WithAvailabilityZoneId ( const Aws::String value)
inline

The ID of the Availability Zone in which to create the Capacity Reservation.

Definition at line 274 of file CreateCapacityReservationRequest.h.

◆ WithAvailabilityZoneId() [3/3]

CreateCapacityReservationRequest& Aws::EC2::Model::CreateCapacityReservationRequest::WithAvailabilityZoneId ( const char *  value)
inline

The ID of the Availability Zone in which to create the Capacity Reservation.

Definition at line 286 of file CreateCapacityReservationRequest.h.

◆ WithClientToken() [1/3]

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

◆ WithClientToken() [2/3]

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

◆ WithClientToken() [3/3]

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

◆ WithDryRun()

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

◆ WithEbsOptimized()

CreateCapacityReservationRequest& Aws::EC2::Model::CreateCapacityReservationRequest::WithEbsOptimized ( bool  value)
inline

Indicates whether the Capacity Reservation supports EBS-optimized instances. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS- optimized instance.

Definition at line 411 of file CreateCapacityReservationRequest.h.

◆ WithEndDate() [1/2]

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

The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation's state changes to expired when it reaches its end date and time.

You must provide an EndDate value if EndDateType is limited. Omit EndDate if EndDateType is unlimited.

If the EndDateType is limited, the Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019.

Definition at line 527 of file CreateCapacityReservationRequest.h.

◆ WithEndDate() [2/2]

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

The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation's state changes to expired when it reaches its end date and time.

You must provide an EndDate value if EndDateType is limited. Omit EndDate if EndDateType is unlimited.

If the EndDateType is limited, the Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019.

Definition at line 512 of file CreateCapacityReservationRequest.h.

◆ WithEndDateType() [1/2]

CreateCapacityReservationRequest& Aws::EC2::Model::CreateCapacityReservationRequest::WithEndDateType ( const EndDateType value)
inline

Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types:

  • unlimited - The Capacity Reservation remains active until you explicitly cancel it. Do not provide an EndDate if the EndDateType is unlimited.

  • limited - The Capacity Reservation expires automatically at a specified date and time. You must provide an EndDate value if the EndDateType value is limited.

Definition at line 588 of file CreateCapacityReservationRequest.h.

◆ WithEndDateType() [2/2]

CreateCapacityReservationRequest& Aws::EC2::Model::CreateCapacityReservationRequest::WithEndDateType ( EndDateType &&  value)
inline

Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types:

  • unlimited - The Capacity Reservation remains active until you explicitly cancel it. Do not provide an EndDate if the EndDateType is unlimited.

  • limited - The Capacity Reservation expires automatically at a specified date and time. You must provide an EndDate value if the EndDateType value is limited.

Definition at line 600 of file CreateCapacityReservationRequest.h.

◆ WithEphemeralStorage()

CreateCapacityReservationRequest& Aws::EC2::Model::CreateCapacityReservationRequest::WithEphemeralStorage ( bool  value)
inline

Indicates whether the Capacity Reservation supports instances with temporary, block-level storage.

Definition at line 436 of file CreateCapacityReservationRequest.h.

◆ WithInstanceCount()

CreateCapacityReservationRequest& Aws::EC2::Model::CreateCapacityReservationRequest::WithInstanceCount ( int  value)
inline

The number of instances for which to reserve capacity.

Definition at line 374 of file CreateCapacityReservationRequest.h.

◆ WithInstanceMatchCriteria() [1/2]

CreateCapacityReservationRequest& Aws::EC2::Model::CreateCapacityReservationRequest::WithInstanceMatchCriteria ( const InstanceMatchCriteria value)
inline

Indicates the type of instance launches that the Capacity Reservation accepts. The options include:

  • open - The Capacity Reservation automatically matches all instances that have matching attributes (instance type, platform, and Availability Zone). Instances that have matching attributes run in the Capacity Reservation automatically without specifying any additional parameters.

  • targeted - The Capacity Reservation only accepts instances that have matching attributes (instance type, platform, and Availability Zone), and explicitly target the Capacity Reservation. This ensures that only permitted instances can use the reserved capacity.

Default: open

Definition at line 671 of file CreateCapacityReservationRequest.h.

◆ WithInstanceMatchCriteria() [2/2]

CreateCapacityReservationRequest& Aws::EC2::Model::CreateCapacityReservationRequest::WithInstanceMatchCriteria ( InstanceMatchCriteria &&  value)
inline

Indicates the type of instance launches that the Capacity Reservation accepts. The options include:

  • open - The Capacity Reservation automatically matches all instances that have matching attributes (instance type, platform, and Availability Zone). Instances that have matching attributes run in the Capacity Reservation automatically without specifying any additional parameters.

  • targeted - The Capacity Reservation only accepts instances that have matching attributes (instance type, platform, and Availability Zone), and explicitly target the Capacity Reservation. This ensures that only permitted instances can use the reserved capacity.

Default: open

Definition at line 685 of file CreateCapacityReservationRequest.h.

◆ WithInstancePlatform() [1/2]

CreateCapacityReservationRequest& Aws::EC2::Model::CreateCapacityReservationRequest::WithInstancePlatform ( CapacityReservationInstancePlatform &&  value)
inline

The type of operating system for which to reserve capacity.

Definition at line 196 of file CreateCapacityReservationRequest.h.

◆ WithInstancePlatform() [2/2]

CreateCapacityReservationRequest& Aws::EC2::Model::CreateCapacityReservationRequest::WithInstancePlatform ( const CapacityReservationInstancePlatform value)
inline

The type of operating system for which to reserve capacity.

Definition at line 191 of file CreateCapacityReservationRequest.h.

◆ WithInstanceType() [1/3]

CreateCapacityReservationRequest& Aws::EC2::Model::CreateCapacityReservationRequest::WithInstanceType ( Aws::String &&  value)
inline

The instance type for which to reserve capacity. For more information, see Instance types in the Amazon EC2 User Guide.

Definition at line 158 of file CreateCapacityReservationRequest.h.

◆ WithInstanceType() [2/3]

CreateCapacityReservationRequest& Aws::EC2::Model::CreateCapacityReservationRequest::WithInstanceType ( const Aws::String value)
inline

The instance type for which to reserve capacity. For more information, see Instance types in the Amazon EC2 User Guide.

Definition at line 151 of file CreateCapacityReservationRequest.h.

◆ WithInstanceType() [3/3]

CreateCapacityReservationRequest& Aws::EC2::Model::CreateCapacityReservationRequest::WithInstanceType ( const char *  value)
inline

The instance type for which to reserve capacity. For more information, see Instance types in the Amazon EC2 User Guide.

Definition at line 165 of file CreateCapacityReservationRequest.h.

◆ WithOutpostArn() [1/3]

CreateCapacityReservationRequest& Aws::EC2::Model::CreateCapacityReservationRequest::WithOutpostArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity Reservation.

Definition at line 802 of file CreateCapacityReservationRequest.h.

◆ WithOutpostArn() [2/3]

CreateCapacityReservationRequest& Aws::EC2::Model::CreateCapacityReservationRequest::WithOutpostArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity Reservation.

Definition at line 796 of file CreateCapacityReservationRequest.h.

◆ WithOutpostArn() [3/3]

CreateCapacityReservationRequest& Aws::EC2::Model::CreateCapacityReservationRequest::WithOutpostArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity Reservation.

Definition at line 808 of file CreateCapacityReservationRequest.h.

◆ WithTagSpecifications() [1/2]

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

The tags to apply to the Capacity Reservation during launch.

Definition at line 716 of file CreateCapacityReservationRequest.h.

◆ WithTagSpecifications() [2/2]

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

The tags to apply to the Capacity Reservation during launch.

Definition at line 711 of file CreateCapacityReservationRequest.h.

◆ WithTenancy() [1/2]

CreateCapacityReservationRequest& Aws::EC2::Model::CreateCapacityReservationRequest::WithTenancy ( CapacityReservationTenancy &&  value)
inline

Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings:

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

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

Definition at line 353 of file CreateCapacityReservationRequest.h.

◆ WithTenancy() [2/2]

CreateCapacityReservationRequest& Aws::EC2::Model::CreateCapacityReservationRequest::WithTenancy ( const CapacityReservationTenancy value)
inline

Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings:

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

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

Definition at line 342 of file CreateCapacityReservationRequest.h.


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