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

#include <EnableImageDeprecationRequest.h>

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

Public Member Functions

 EnableImageDeprecationRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetImageId () const
 
bool ImageIdHasBeenSet () const
 
void SetImageId (const Aws::String &value)
 
void SetImageId (Aws::String &&value)
 
void SetImageId (const char *value)
 
EnableImageDeprecationRequestWithImageId (const Aws::String &value)
 
EnableImageDeprecationRequestWithImageId (Aws::String &&value)
 
EnableImageDeprecationRequestWithImageId (const char *value)
 
const Aws::Utils::DateTimeGetDeprecateAt () const
 
bool DeprecateAtHasBeenSet () const
 
void SetDeprecateAt (const Aws::Utils::DateTime &value)
 
void SetDeprecateAt (Aws::Utils::DateTime &&value)
 
EnableImageDeprecationRequestWithDeprecateAt (const Aws::Utils::DateTime &value)
 
EnableImageDeprecationRequestWithDeprecateAt (Aws::Utils::DateTime &&value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
EnableImageDeprecationRequestWithDryRun (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 EnableImageDeprecationRequest.h.

Constructor & Destructor Documentation

◆ EnableImageDeprecationRequest()

Aws::EC2::Model::EnableImageDeprecationRequest::EnableImageDeprecationRequest ( )

Member Function Documentation

◆ DeprecateAtHasBeenSet()

bool Aws::EC2::Model::EnableImageDeprecationRequest::DeprecateAtHasBeenSet ( ) const
inline

The date and time to deprecate the AMI, in UTC, in the following format: YYYY-MM-DDTHH:MM:SSZ. If you specify a value for seconds, Amazon EC2 rounds the seconds to the nearest minute.

You can’t specify a date in the past. The upper limit for DeprecateAt is 10 years from now.

Definition at line 97 of file EnableImageDeprecationRequest.h.

◆ DryRunHasBeenSet()

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

◆ DumpBodyToUrl()

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

◆ GetDeprecateAt()

const Aws::Utils::DateTime& Aws::EC2::Model::EnableImageDeprecationRequest::GetDeprecateAt ( ) const
inline

The date and time to deprecate the AMI, in UTC, in the following format: YYYY-MM-DDTHH:MM:SSZ. If you specify a value for seconds, Amazon EC2 rounds the seconds to the nearest minute.

You can’t specify a date in the past. The upper limit for DeprecateAt is 10 years from now.

Definition at line 88 of file EnableImageDeprecationRequest.h.

◆ GetDryRun()

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

◆ GetImageId()

const Aws::String& Aws::EC2::Model::EnableImageDeprecationRequest::GetImageId ( ) const
inline

The ID of the AMI.

Definition at line 43 of file EnableImageDeprecationRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 31 of file EnableImageDeprecationRequest.h.

◆ ImageIdHasBeenSet()

bool Aws::EC2::Model::EnableImageDeprecationRequest::ImageIdHasBeenSet ( ) const
inline

The ID of the AMI.

Definition at line 48 of file EnableImageDeprecationRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetDeprecateAt() [1/2]

void Aws::EC2::Model::EnableImageDeprecationRequest::SetDeprecateAt ( Aws::Utils::DateTime &&  value)
inline

The date and time to deprecate the AMI, in UTC, in the following format: YYYY-MM-DDTHH:MM:SSZ. If you specify a value for seconds, Amazon EC2 rounds the seconds to the nearest minute.

You can’t specify a date in the past. The upper limit for DeprecateAt is 10 years from now.

Definition at line 115 of file EnableImageDeprecationRequest.h.

◆ SetDeprecateAt() [2/2]

void Aws::EC2::Model::EnableImageDeprecationRequest::SetDeprecateAt ( const Aws::Utils::DateTime value)
inline

The date and time to deprecate the AMI, in UTC, in the following format: YYYY-MM-DDTHH:MM:SSZ. If you specify a value for seconds, Amazon EC2 rounds the seconds to the nearest minute.

You can’t specify a date in the past. The upper limit for DeprecateAt is 10 years from now.

Definition at line 106 of file EnableImageDeprecationRequest.h.

◆ SetDryRun()

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

◆ SetImageId() [1/3]

void Aws::EC2::Model::EnableImageDeprecationRequest::SetImageId ( Aws::String &&  value)
inline

The ID of the AMI.

Definition at line 58 of file EnableImageDeprecationRequest.h.

◆ SetImageId() [2/3]

void Aws::EC2::Model::EnableImageDeprecationRequest::SetImageId ( const Aws::String value)
inline

The ID of the AMI.

Definition at line 53 of file EnableImageDeprecationRequest.h.

◆ SetImageId() [3/3]

void Aws::EC2::Model::EnableImageDeprecationRequest::SetImageId ( const char *  value)
inline

The ID of the AMI.

Definition at line 63 of file EnableImageDeprecationRequest.h.

◆ WithDeprecateAt() [1/2]

EnableImageDeprecationRequest& Aws::EC2::Model::EnableImageDeprecationRequest::WithDeprecateAt ( Aws::Utils::DateTime &&  value)
inline

The date and time to deprecate the AMI, in UTC, in the following format: YYYY-MM-DDTHH:MM:SSZ. If you specify a value for seconds, Amazon EC2 rounds the seconds to the nearest minute.

You can’t specify a date in the past. The upper limit for DeprecateAt is 10 years from now.

Definition at line 133 of file EnableImageDeprecationRequest.h.

◆ WithDeprecateAt() [2/2]

EnableImageDeprecationRequest& Aws::EC2::Model::EnableImageDeprecationRequest::WithDeprecateAt ( const Aws::Utils::DateTime value)
inline

The date and time to deprecate the AMI, in UTC, in the following format: YYYY-MM-DDTHH:MM:SSZ. If you specify a value for seconds, Amazon EC2 rounds the seconds to the nearest minute.

You can’t specify a date in the past. The upper limit for DeprecateAt is 10 years from now.

Definition at line 124 of file EnableImageDeprecationRequest.h.

◆ WithDryRun()

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

◆ WithImageId() [1/3]

EnableImageDeprecationRequest& Aws::EC2::Model::EnableImageDeprecationRequest::WithImageId ( Aws::String &&  value)
inline

The ID of the AMI.

Definition at line 73 of file EnableImageDeprecationRequest.h.

◆ WithImageId() [2/3]

EnableImageDeprecationRequest& Aws::EC2::Model::EnableImageDeprecationRequest::WithImageId ( const Aws::String value)
inline

The ID of the AMI.

Definition at line 68 of file EnableImageDeprecationRequest.h.

◆ WithImageId() [3/3]

EnableImageDeprecationRequest& Aws::EC2::Model::EnableImageDeprecationRequest::WithImageId ( const char *  value)
inline

The ID of the AMI.

Definition at line 78 of file EnableImageDeprecationRequest.h.


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