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

#include <ModifyCapacityReservationFleetRequest.h>

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

Public Member Functions

 ModifyCapacityReservationFleetRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetCapacityReservationFleetId () const
 
bool CapacityReservationFleetIdHasBeenSet () const
 
void SetCapacityReservationFleetId (const Aws::String &value)
 
void SetCapacityReservationFleetId (Aws::String &&value)
 
void SetCapacityReservationFleetId (const char *value)
 
ModifyCapacityReservationFleetRequestWithCapacityReservationFleetId (const Aws::String &value)
 
ModifyCapacityReservationFleetRequestWithCapacityReservationFleetId (Aws::String &&value)
 
ModifyCapacityReservationFleetRequestWithCapacityReservationFleetId (const char *value)
 
int GetTotalTargetCapacity () const
 
bool TotalTargetCapacityHasBeenSet () const
 
void SetTotalTargetCapacity (int value)
 
ModifyCapacityReservationFleetRequestWithTotalTargetCapacity (int value)
 
const Aws::Utils::DateTimeGetEndDate () const
 
bool EndDateHasBeenSet () const
 
void SetEndDate (const Aws::Utils::DateTime &value)
 
void SetEndDate (Aws::Utils::DateTime &&value)
 
ModifyCapacityReservationFleetRequestWithEndDate (const Aws::Utils::DateTime &value)
 
ModifyCapacityReservationFleetRequestWithEndDate (Aws::Utils::DateTime &&value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
ModifyCapacityReservationFleetRequestWithDryRun (bool value)
 
bool GetRemoveEndDate () const
 
bool RemoveEndDateHasBeenSet () const
 
void SetRemoveEndDate (bool value)
 
ModifyCapacityReservationFleetRequestWithRemoveEndDate (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 22 of file ModifyCapacityReservationFleetRequest.h.

Constructor & Destructor Documentation

◆ ModifyCapacityReservationFleetRequest()

Aws::EC2::Model::ModifyCapacityReservationFleetRequest::ModifyCapacityReservationFleetRequest ( )

Member Function Documentation

◆ CapacityReservationFleetIdHasBeenSet()

bool Aws::EC2::Model::ModifyCapacityReservationFleetRequest::CapacityReservationFleetIdHasBeenSet ( ) const
inline

The ID of the Capacity Reservation Fleet to modify.

Definition at line 48 of file ModifyCapacityReservationFleetRequest.h.

◆ DryRunHasBeenSet()

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

◆ DumpBodyToUrl()

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

You can't specify EndDate and RemoveEndDate in the same request.

Definition at line 148 of file ModifyCapacityReservationFleetRequest.h.

◆ GetCapacityReservationFleetId()

const Aws::String& Aws::EC2::Model::ModifyCapacityReservationFleetRequest::GetCapacityReservationFleetId ( ) const
inline

The ID of the Capacity Reservation Fleet to modify.

Definition at line 43 of file ModifyCapacityReservationFleetRequest.h.

◆ GetDryRun()

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

◆ GetEndDate()

const Aws::Utils::DateTime& Aws::EC2::Model::ModifyCapacityReservationFleetRequest::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.

You can't specify EndDate and RemoveEndDate in the same request.

Definition at line 136 of file ModifyCapacityReservationFleetRequest.h.

◆ GetRemoveEndDate()

bool Aws::EC2::Model::ModifyCapacityReservationFleetRequest::GetRemoveEndDate ( ) const
inline

Indicates whether to remove the end date from the Capacity Reservation Fleet. If you remove the end date, the Capacity Reservation Fleet does not expire and it remains active until you explicitly cancel it using the CancelCapacityReservationFleet action.

You can't specify RemoveEndDate and EndDate in the same request.

Definition at line 239 of file ModifyCapacityReservationFleetRequest.h.

◆ GetServiceRequestName()

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

◆ GetTotalTargetCapacity()

int Aws::EC2::Model::ModifyCapacityReservationFleetRequest::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 90 of file ModifyCapacityReservationFleetRequest.h.

◆ RemoveEndDateHasBeenSet()

bool Aws::EC2::Model::ModifyCapacityReservationFleetRequest::RemoveEndDateHasBeenSet ( ) const
inline

Indicates whether to remove the end date from the Capacity Reservation Fleet. If you remove the end date, the Capacity Reservation Fleet does not expire and it remains active until you explicitly cancel it using the CancelCapacityReservationFleet action.

You can't specify RemoveEndDate and EndDate in the same request.

Definition at line 248 of file ModifyCapacityReservationFleetRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetCapacityReservationFleetId() [1/3]

void Aws::EC2::Model::ModifyCapacityReservationFleetRequest::SetCapacityReservationFleetId ( Aws::String &&  value)
inline

The ID of the Capacity Reservation Fleet to modify.

Definition at line 58 of file ModifyCapacityReservationFleetRequest.h.

◆ SetCapacityReservationFleetId() [2/3]

void Aws::EC2::Model::ModifyCapacityReservationFleetRequest::SetCapacityReservationFleetId ( const Aws::String value)
inline

The ID of the Capacity Reservation Fleet to modify.

Definition at line 53 of file ModifyCapacityReservationFleetRequest.h.

◆ SetCapacityReservationFleetId() [3/3]

void Aws::EC2::Model::ModifyCapacityReservationFleetRequest::SetCapacityReservationFleetId ( const char *  value)
inline

The ID of the Capacity Reservation Fleet to modify.

Definition at line 63 of file ModifyCapacityReservationFleetRequest.h.

◆ SetDryRun()

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

◆ SetEndDate() [1/2]

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

You can't specify EndDate and RemoveEndDate in the same request.

Definition at line 172 of file ModifyCapacityReservationFleetRequest.h.

◆ SetEndDate() [2/2]

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

You can't specify EndDate and RemoveEndDate in the same request.

Definition at line 160 of file ModifyCapacityReservationFleetRequest.h.

◆ SetRemoveEndDate()

void Aws::EC2::Model::ModifyCapacityReservationFleetRequest::SetRemoveEndDate ( bool  value)
inline

Indicates whether to remove the end date from the Capacity Reservation Fleet. If you remove the end date, the Capacity Reservation Fleet does not expire and it remains active until you explicitly cancel it using the CancelCapacityReservationFleet action.

You can't specify RemoveEndDate and EndDate in the same request.

Definition at line 257 of file ModifyCapacityReservationFleetRequest.h.

◆ SetTotalTargetCapacity()

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

◆ TotalTargetCapacityHasBeenSet()

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

◆ WithCapacityReservationFleetId() [1/3]

ModifyCapacityReservationFleetRequest& Aws::EC2::Model::ModifyCapacityReservationFleetRequest::WithCapacityReservationFleetId ( Aws::String &&  value)
inline

The ID of the Capacity Reservation Fleet to modify.

Definition at line 73 of file ModifyCapacityReservationFleetRequest.h.

◆ WithCapacityReservationFleetId() [2/3]

ModifyCapacityReservationFleetRequest& Aws::EC2::Model::ModifyCapacityReservationFleetRequest::WithCapacityReservationFleetId ( const Aws::String value)
inline

The ID of the Capacity Reservation Fleet to modify.

Definition at line 68 of file ModifyCapacityReservationFleetRequest.h.

◆ WithCapacityReservationFleetId() [3/3]

ModifyCapacityReservationFleetRequest& Aws::EC2::Model::ModifyCapacityReservationFleetRequest::WithCapacityReservationFleetId ( const char *  value)
inline

The ID of the Capacity Reservation Fleet to modify.

Definition at line 78 of file ModifyCapacityReservationFleetRequest.h.

◆ WithDryRun()

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

◆ WithEndDate() [1/2]

ModifyCapacityReservationFleetRequest& Aws::EC2::Model::ModifyCapacityReservationFleetRequest::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.

You can't specify EndDate and RemoveEndDate in the same request.

Definition at line 196 of file ModifyCapacityReservationFleetRequest.h.

◆ WithEndDate() [2/2]

ModifyCapacityReservationFleetRequest& Aws::EC2::Model::ModifyCapacityReservationFleetRequest::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.

You can't specify EndDate and RemoveEndDate in the same request.

Definition at line 184 of file ModifyCapacityReservationFleetRequest.h.

◆ WithRemoveEndDate()

ModifyCapacityReservationFleetRequest& Aws::EC2::Model::ModifyCapacityReservationFleetRequest::WithRemoveEndDate ( bool  value)
inline

Indicates whether to remove the end date from the Capacity Reservation Fleet. If you remove the end date, the Capacity Reservation Fleet does not expire and it remains active until you explicitly cancel it using the CancelCapacityReservationFleet action.

You can't specify RemoveEndDate and EndDate in the same request.

Definition at line 266 of file ModifyCapacityReservationFleetRequest.h.

◆ WithTotalTargetCapacity()

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


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