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

#include <DescribeImageAttributeRequest.h>

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

Public Member Functions

 DescribeImageAttributeRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const ImageAttributeNameGetAttribute () const
 
bool AttributeHasBeenSet () const
 
void SetAttribute (const ImageAttributeName &value)
 
void SetAttribute (ImageAttributeName &&value)
 
DescribeImageAttributeRequestWithAttribute (const ImageAttributeName &value)
 
DescribeImageAttributeRequestWithAttribute (ImageAttributeName &&value)
 
const Aws::StringGetImageId () const
 
bool ImageIdHasBeenSet () const
 
void SetImageId (const Aws::String &value)
 
void SetImageId (Aws::String &&value)
 
void SetImageId (const char *value)
 
DescribeImageAttributeRequestWithImageId (const Aws::String &value)
 
DescribeImageAttributeRequestWithImageId (Aws::String &&value)
 
DescribeImageAttributeRequestWithImageId (const char *value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
DescribeImageAttributeRequestWithDryRun (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

Contains the parameters for DescribeImageAttribute.

See Also:

AWS API Reference

Definition at line 26 of file DescribeImageAttributeRequest.h.

Constructor & Destructor Documentation

◆ DescribeImageAttributeRequest()

Aws::EC2::Model::DescribeImageAttributeRequest::DescribeImageAttributeRequest ( )

Member Function Documentation

◆ AttributeHasBeenSet()

bool Aws::EC2::Model::DescribeImageAttributeRequest::AttributeHasBeenSet ( ) const
inline

The AMI attribute.

Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the Client.AuthFailure error. To get information about the block device mappings for an AMI, use the DescribeImages action.

Definition at line 58 of file DescribeImageAttributeRequest.h.

◆ DryRunHasBeenSet()

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

◆ DumpBodyToUrl()

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

◆ GetAttribute()

const ImageAttributeName& Aws::EC2::Model::DescribeImageAttributeRequest::GetAttribute ( ) const
inline

The AMI attribute.

Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the Client.AuthFailure error. To get information about the block device mappings for an AMI, use the DescribeImages action.

Definition at line 50 of file DescribeImageAttributeRequest.h.

◆ GetDryRun()

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

◆ GetImageId()

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

The ID of the AMI.

Definition at line 96 of file DescribeImageAttributeRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 35 of file DescribeImageAttributeRequest.h.

◆ ImageIdHasBeenSet()

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

The ID of the AMI.

Definition at line 101 of file DescribeImageAttributeRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAttribute() [1/2]

void Aws::EC2::Model::DescribeImageAttributeRequest::SetAttribute ( const ImageAttributeName value)
inline

The AMI attribute.

Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the Client.AuthFailure error. To get information about the block device mappings for an AMI, use the DescribeImages action.

Definition at line 66 of file DescribeImageAttributeRequest.h.

◆ SetAttribute() [2/2]

void Aws::EC2::Model::DescribeImageAttributeRequest::SetAttribute ( ImageAttributeName &&  value)
inline

The AMI attribute.

Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the Client.AuthFailure error. To get information about the block device mappings for an AMI, use the DescribeImages action.

Definition at line 74 of file DescribeImageAttributeRequest.h.

◆ SetDryRun()

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

◆ SetImageId() [1/3]

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

The ID of the AMI.

Definition at line 111 of file DescribeImageAttributeRequest.h.

◆ SetImageId() [2/3]

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

The ID of the AMI.

Definition at line 106 of file DescribeImageAttributeRequest.h.

◆ SetImageId() [3/3]

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

The ID of the AMI.

Definition at line 116 of file DescribeImageAttributeRequest.h.

◆ WithAttribute() [1/2]

DescribeImageAttributeRequest& Aws::EC2::Model::DescribeImageAttributeRequest::WithAttribute ( const ImageAttributeName value)
inline

The AMI attribute.

Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the Client.AuthFailure error. To get information about the block device mappings for an AMI, use the DescribeImages action.

Definition at line 82 of file DescribeImageAttributeRequest.h.

◆ WithAttribute() [2/2]

DescribeImageAttributeRequest& Aws::EC2::Model::DescribeImageAttributeRequest::WithAttribute ( ImageAttributeName &&  value)
inline

The AMI attribute.

Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the Client.AuthFailure error. To get information about the block device mappings for an AMI, use the DescribeImages action.

Definition at line 90 of file DescribeImageAttributeRequest.h.

◆ WithDryRun()

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

◆ WithImageId() [1/3]

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

The ID of the AMI.

Definition at line 126 of file DescribeImageAttributeRequest.h.

◆ WithImageId() [2/3]

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

The ID of the AMI.

Definition at line 121 of file DescribeImageAttributeRequest.h.

◆ WithImageId() [3/3]

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

The ID of the AMI.

Definition at line 131 of file DescribeImageAttributeRequest.h.


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