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

#include <ModifyImageAttributeRequest.h>

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

Public Member Functions

 ModifyImageAttributeRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetAttribute () const
 
bool AttributeHasBeenSet () const
 
void SetAttribute (const Aws::String &value)
 
void SetAttribute (Aws::String &&value)
 
void SetAttribute (const char *value)
 
ModifyImageAttributeRequestWithAttribute (const Aws::String &value)
 
ModifyImageAttributeRequestWithAttribute (Aws::String &&value)
 
ModifyImageAttributeRequestWithAttribute (const char *value)
 
const AttributeValueGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const AttributeValue &value)
 
void SetDescription (AttributeValue &&value)
 
ModifyImageAttributeRequestWithDescription (const AttributeValue &value)
 
ModifyImageAttributeRequestWithDescription (AttributeValue &&value)
 
const Aws::StringGetImageId () const
 
bool ImageIdHasBeenSet () const
 
void SetImageId (const Aws::String &value)
 
void SetImageId (Aws::String &&value)
 
void SetImageId (const char *value)
 
ModifyImageAttributeRequestWithImageId (const Aws::String &value)
 
ModifyImageAttributeRequestWithImageId (Aws::String &&value)
 
ModifyImageAttributeRequestWithImageId (const char *value)
 
const LaunchPermissionModificationsGetLaunchPermission () const
 
bool LaunchPermissionHasBeenSet () const
 
void SetLaunchPermission (const LaunchPermissionModifications &value)
 
void SetLaunchPermission (LaunchPermissionModifications &&value)
 
ModifyImageAttributeRequestWithLaunchPermission (const LaunchPermissionModifications &value)
 
ModifyImageAttributeRequestWithLaunchPermission (LaunchPermissionModifications &&value)
 
const OperationTypeGetOperationType () const
 
bool OperationTypeHasBeenSet () const
 
void SetOperationType (const OperationType &value)
 
void SetOperationType (OperationType &&value)
 
ModifyImageAttributeRequestWithOperationType (const OperationType &value)
 
ModifyImageAttributeRequestWithOperationType (OperationType &&value)
 
const Aws::Vector< Aws::String > & GetProductCodes () const
 
bool ProductCodesHasBeenSet () const
 
void SetProductCodes (const Aws::Vector< Aws::String > &value)
 
void SetProductCodes (Aws::Vector< Aws::String > &&value)
 
ModifyImageAttributeRequestWithProductCodes (const Aws::Vector< Aws::String > &value)
 
ModifyImageAttributeRequestWithProductCodes (Aws::Vector< Aws::String > &&value)
 
ModifyImageAttributeRequestAddProductCodes (const Aws::String &value)
 
ModifyImageAttributeRequestAddProductCodes (Aws::String &&value)
 
ModifyImageAttributeRequestAddProductCodes (const char *value)
 
const Aws::Vector< Aws::String > & GetUserGroups () const
 
bool UserGroupsHasBeenSet () const
 
void SetUserGroups (const Aws::Vector< Aws::String > &value)
 
void SetUserGroups (Aws::Vector< Aws::String > &&value)
 
ModifyImageAttributeRequestWithUserGroups (const Aws::Vector< Aws::String > &value)
 
ModifyImageAttributeRequestWithUserGroups (Aws::Vector< Aws::String > &&value)
 
ModifyImageAttributeRequestAddUserGroups (const Aws::String &value)
 
ModifyImageAttributeRequestAddUserGroups (Aws::String &&value)
 
ModifyImageAttributeRequestAddUserGroups (const char *value)
 
const Aws::Vector< Aws::String > & GetUserIds () const
 
bool UserIdsHasBeenSet () const
 
void SetUserIds (const Aws::Vector< Aws::String > &value)
 
void SetUserIds (Aws::Vector< Aws::String > &&value)
 
ModifyImageAttributeRequestWithUserIds (const Aws::Vector< Aws::String > &value)
 
ModifyImageAttributeRequestWithUserIds (Aws::Vector< Aws::String > &&value)
 
ModifyImageAttributeRequestAddUserIds (const Aws::String &value)
 
ModifyImageAttributeRequestAddUserIds (Aws::String &&value)
 
ModifyImageAttributeRequestAddUserIds (const char *value)
 
const Aws::StringGetValue () const
 
bool ValueHasBeenSet () const
 
void SetValue (const Aws::String &value)
 
void SetValue (Aws::String &&value)
 
void SetValue (const char *value)
 
ModifyImageAttributeRequestWithValue (const Aws::String &value)
 
ModifyImageAttributeRequestWithValue (Aws::String &&value)
 
ModifyImageAttributeRequestWithValue (const char *value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
ModifyImageAttributeRequestWithDryRun (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 ModifyImageAttribute.

See Also:


AWS API Reference

Definition at line 29 of file ModifyImageAttributeRequest.h.

Constructor & Destructor Documentation

◆ ModifyImageAttributeRequest()

Aws::EC2::Model::ModifyImageAttributeRequest::ModifyImageAttributeRequest ( )

Member Function Documentation

◆ AddProductCodes() [1/3]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::AddProductCodes ( Aws::String &&  value)
inline

Not supported.

Definition at line 274 of file ModifyImageAttributeRequest.h.

◆ AddProductCodes() [2/3]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::AddProductCodes ( const Aws::String value)
inline

Not supported.

Definition at line 269 of file ModifyImageAttributeRequest.h.

◆ AddProductCodes() [3/3]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::AddProductCodes ( const char *  value)
inline

Not supported.

Definition at line 279 of file ModifyImageAttributeRequest.h.

◆ AddUserGroups() [1/3]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::AddUserGroups ( Aws::String &&  value)
inline

The user groups. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 328 of file ModifyImageAttributeRequest.h.

◆ AddUserGroups() [2/3]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::AddUserGroups ( const Aws::String value)
inline

The user groups. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 322 of file ModifyImageAttributeRequest.h.

◆ AddUserGroups() [3/3]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::AddUserGroups ( const char *  value)
inline

The user groups. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 334 of file ModifyImageAttributeRequest.h.

◆ AddUserIds() [1/3]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::AddUserIds ( Aws::String &&  value)
inline

The Amazon Web Services account IDs. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 383 of file ModifyImageAttributeRequest.h.

◆ AddUserIds() [2/3]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::AddUserIds ( const Aws::String value)
inline

The Amazon Web Services account IDs. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 377 of file ModifyImageAttributeRequest.h.

◆ AddUserIds() [3/3]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::AddUserIds ( const char *  value)
inline

The Amazon Web Services account IDs. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 389 of file ModifyImageAttributeRequest.h.

◆ AttributeHasBeenSet()

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

The name of the attribute to modify. The valid values are description and launchPermission.

Definition at line 57 of file ModifyImageAttributeRequest.h.

◆ DescriptionHasBeenSet()

bool Aws::EC2::Model::ModifyImageAttributeRequest::DescriptionHasBeenSet ( ) const
inline

A new description for the AMI.

Definition at line 104 of file ModifyImageAttributeRequest.h.

◆ DryRunHasBeenSet()

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

◆ DumpBodyToUrl()

void Aws::EC2::Model::ModifyImageAttributeRequest::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 Aws::String& Aws::EC2::Model::ModifyImageAttributeRequest::GetAttribute ( ) const
inline

The name of the attribute to modify. The valid values are description and launchPermission.

Definition at line 51 of file ModifyImageAttributeRequest.h.

◆ GetDescription()

const AttributeValue& Aws::EC2::Model::ModifyImageAttributeRequest::GetDescription ( ) const
inline

A new description for the AMI.

Definition at line 99 of file ModifyImageAttributeRequest.h.

◆ GetDryRun()

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

◆ GetImageId()

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

The ID of the AMI.

Definition at line 130 of file ModifyImageAttributeRequest.h.

◆ GetLaunchPermission()

const LaunchPermissionModifications& Aws::EC2::Model::ModifyImageAttributeRequest::GetLaunchPermission ( ) const
inline

A new launch permission for the AMI.

Definition at line 171 of file ModifyImageAttributeRequest.h.

◆ GetOperationType()

const OperationType& Aws::EC2::Model::ModifyImageAttributeRequest::GetOperationType ( ) const
inline

The operation type. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 203 of file ModifyImageAttributeRequest.h.

◆ GetProductCodes()

const Aws::Vector<Aws::String>& Aws::EC2::Model::ModifyImageAttributeRequest::GetProductCodes ( ) const
inline

Not supported.

Definition at line 239 of file ModifyImageAttributeRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 38 of file ModifyImageAttributeRequest.h.

◆ GetUserGroups()

const Aws::Vector<Aws::String>& Aws::EC2::Model::ModifyImageAttributeRequest::GetUserGroups ( ) const
inline

The user groups. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 286 of file ModifyImageAttributeRequest.h.

◆ GetUserIds()

const Aws::Vector<Aws::String>& Aws::EC2::Model::ModifyImageAttributeRequest::GetUserIds ( ) const
inline

The Amazon Web Services account IDs. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 341 of file ModifyImageAttributeRequest.h.

◆ GetValue()

const Aws::String& Aws::EC2::Model::ModifyImageAttributeRequest::GetValue ( ) const
inline

The value of the attribute being modified. This parameter can be used only when the Attribute parameter is description.

Definition at line 396 of file ModifyImageAttributeRequest.h.

◆ ImageIdHasBeenSet()

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

The ID of the AMI.

Definition at line 135 of file ModifyImageAttributeRequest.h.

◆ LaunchPermissionHasBeenSet()

bool Aws::EC2::Model::ModifyImageAttributeRequest::LaunchPermissionHasBeenSet ( ) const
inline

A new launch permission for the AMI.

Definition at line 176 of file ModifyImageAttributeRequest.h.

◆ OperationTypeHasBeenSet()

bool Aws::EC2::Model::ModifyImageAttributeRequest::OperationTypeHasBeenSet ( ) const
inline

The operation type. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 209 of file ModifyImageAttributeRequest.h.

◆ ProductCodesHasBeenSet()

bool Aws::EC2::Model::ModifyImageAttributeRequest::ProductCodesHasBeenSet ( ) const
inline

Not supported.

Definition at line 244 of file ModifyImageAttributeRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAttribute() [1/3]

void Aws::EC2::Model::ModifyImageAttributeRequest::SetAttribute ( Aws::String &&  value)
inline

The name of the attribute to modify. The valid values are description and launchPermission.

Definition at line 69 of file ModifyImageAttributeRequest.h.

◆ SetAttribute() [2/3]

void Aws::EC2::Model::ModifyImageAttributeRequest::SetAttribute ( const Aws::String value)
inline

The name of the attribute to modify. The valid values are description and launchPermission.

Definition at line 63 of file ModifyImageAttributeRequest.h.

◆ SetAttribute() [3/3]

void Aws::EC2::Model::ModifyImageAttributeRequest::SetAttribute ( const char *  value)
inline

The name of the attribute to modify. The valid values are description and launchPermission.

Definition at line 75 of file ModifyImageAttributeRequest.h.

◆ SetDescription() [1/2]

void Aws::EC2::Model::ModifyImageAttributeRequest::SetDescription ( AttributeValue &&  value)
inline

A new description for the AMI.

Definition at line 114 of file ModifyImageAttributeRequest.h.

◆ SetDescription() [2/2]

void Aws::EC2::Model::ModifyImageAttributeRequest::SetDescription ( const AttributeValue value)
inline

A new description for the AMI.

Definition at line 109 of file ModifyImageAttributeRequest.h.

◆ SetDryRun()

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

◆ SetImageId() [1/3]

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

The ID of the AMI.

Definition at line 145 of file ModifyImageAttributeRequest.h.

◆ SetImageId() [2/3]

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

The ID of the AMI.

Definition at line 140 of file ModifyImageAttributeRequest.h.

◆ SetImageId() [3/3]

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

The ID of the AMI.

Definition at line 150 of file ModifyImageAttributeRequest.h.

◆ SetLaunchPermission() [1/2]

void Aws::EC2::Model::ModifyImageAttributeRequest::SetLaunchPermission ( const LaunchPermissionModifications value)
inline

A new launch permission for the AMI.

Definition at line 181 of file ModifyImageAttributeRequest.h.

◆ SetLaunchPermission() [2/2]

void Aws::EC2::Model::ModifyImageAttributeRequest::SetLaunchPermission ( LaunchPermissionModifications &&  value)
inline

A new launch permission for the AMI.

Definition at line 186 of file ModifyImageAttributeRequest.h.

◆ SetOperationType() [1/2]

void Aws::EC2::Model::ModifyImageAttributeRequest::SetOperationType ( const OperationType value)
inline

The operation type. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 215 of file ModifyImageAttributeRequest.h.

◆ SetOperationType() [2/2]

void Aws::EC2::Model::ModifyImageAttributeRequest::SetOperationType ( OperationType &&  value)
inline

The operation type. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 221 of file ModifyImageAttributeRequest.h.

◆ SetProductCodes() [1/2]

void Aws::EC2::Model::ModifyImageAttributeRequest::SetProductCodes ( Aws::Vector< Aws::String > &&  value)
inline

Not supported.

Definition at line 254 of file ModifyImageAttributeRequest.h.

◆ SetProductCodes() [2/2]

void Aws::EC2::Model::ModifyImageAttributeRequest::SetProductCodes ( const Aws::Vector< Aws::String > &  value)
inline

Not supported.

Definition at line 249 of file ModifyImageAttributeRequest.h.

◆ SetUserGroups() [1/2]

void Aws::EC2::Model::ModifyImageAttributeRequest::SetUserGroups ( Aws::Vector< Aws::String > &&  value)
inline

The user groups. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 304 of file ModifyImageAttributeRequest.h.

◆ SetUserGroups() [2/2]

void Aws::EC2::Model::ModifyImageAttributeRequest::SetUserGroups ( const Aws::Vector< Aws::String > &  value)
inline

The user groups. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 298 of file ModifyImageAttributeRequest.h.

◆ SetUserIds() [1/2]

void Aws::EC2::Model::ModifyImageAttributeRequest::SetUserIds ( Aws::Vector< Aws::String > &&  value)
inline

The Amazon Web Services account IDs. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 359 of file ModifyImageAttributeRequest.h.

◆ SetUserIds() [2/2]

void Aws::EC2::Model::ModifyImageAttributeRequest::SetUserIds ( const Aws::Vector< Aws::String > &  value)
inline

The Amazon Web Services account IDs. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 353 of file ModifyImageAttributeRequest.h.

◆ SetValue() [1/3]

void Aws::EC2::Model::ModifyImageAttributeRequest::SetValue ( Aws::String &&  value)
inline

The value of the attribute being modified. This parameter can be used only when the Attribute parameter is description.

Definition at line 414 of file ModifyImageAttributeRequest.h.

◆ SetValue() [2/3]

void Aws::EC2::Model::ModifyImageAttributeRequest::SetValue ( const Aws::String value)
inline

The value of the attribute being modified. This parameter can be used only when the Attribute parameter is description.

Definition at line 408 of file ModifyImageAttributeRequest.h.

◆ SetValue() [3/3]

void Aws::EC2::Model::ModifyImageAttributeRequest::SetValue ( const char *  value)
inline

The value of the attribute being modified. This parameter can be used only when the Attribute parameter is description.

Definition at line 420 of file ModifyImageAttributeRequest.h.

◆ UserGroupsHasBeenSet()

bool Aws::EC2::Model::ModifyImageAttributeRequest::UserGroupsHasBeenSet ( ) const
inline

The user groups. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 292 of file ModifyImageAttributeRequest.h.

◆ UserIdsHasBeenSet()

bool Aws::EC2::Model::ModifyImageAttributeRequest::UserIdsHasBeenSet ( ) const
inline

The Amazon Web Services account IDs. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 347 of file ModifyImageAttributeRequest.h.

◆ ValueHasBeenSet()

bool Aws::EC2::Model::ModifyImageAttributeRequest::ValueHasBeenSet ( ) const
inline

The value of the attribute being modified. This parameter can be used only when the Attribute parameter is description.

Definition at line 402 of file ModifyImageAttributeRequest.h.

◆ WithAttribute() [1/3]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::WithAttribute ( Aws::String &&  value)
inline

The name of the attribute to modify. The valid values are description and launchPermission.

Definition at line 87 of file ModifyImageAttributeRequest.h.

◆ WithAttribute() [2/3]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::WithAttribute ( const Aws::String value)
inline

The name of the attribute to modify. The valid values are description and launchPermission.

Definition at line 81 of file ModifyImageAttributeRequest.h.

◆ WithAttribute() [3/3]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::WithAttribute ( const char *  value)
inline

The name of the attribute to modify. The valid values are description and launchPermission.

Definition at line 93 of file ModifyImageAttributeRequest.h.

◆ WithDescription() [1/2]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::WithDescription ( AttributeValue &&  value)
inline

A new description for the AMI.

Definition at line 124 of file ModifyImageAttributeRequest.h.

◆ WithDescription() [2/2]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::WithDescription ( const AttributeValue value)
inline

A new description for the AMI.

Definition at line 119 of file ModifyImageAttributeRequest.h.

◆ WithDryRun()

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

◆ WithImageId() [1/3]

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

The ID of the AMI.

Definition at line 160 of file ModifyImageAttributeRequest.h.

◆ WithImageId() [2/3]

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

The ID of the AMI.

Definition at line 155 of file ModifyImageAttributeRequest.h.

◆ WithImageId() [3/3]

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

The ID of the AMI.

Definition at line 165 of file ModifyImageAttributeRequest.h.

◆ WithLaunchPermission() [1/2]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::WithLaunchPermission ( const LaunchPermissionModifications value)
inline

A new launch permission for the AMI.

Definition at line 191 of file ModifyImageAttributeRequest.h.

◆ WithLaunchPermission() [2/2]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::WithLaunchPermission ( LaunchPermissionModifications &&  value)
inline

A new launch permission for the AMI.

Definition at line 196 of file ModifyImageAttributeRequest.h.

◆ WithOperationType() [1/2]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::WithOperationType ( const OperationType value)
inline

The operation type. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 227 of file ModifyImageAttributeRequest.h.

◆ WithOperationType() [2/2]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::WithOperationType ( OperationType &&  value)
inline

The operation type. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 233 of file ModifyImageAttributeRequest.h.

◆ WithProductCodes() [1/2]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::WithProductCodes ( Aws::Vector< Aws::String > &&  value)
inline

Not supported.

Definition at line 264 of file ModifyImageAttributeRequest.h.

◆ WithProductCodes() [2/2]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::WithProductCodes ( const Aws::Vector< Aws::String > &  value)
inline

Not supported.

Definition at line 259 of file ModifyImageAttributeRequest.h.

◆ WithUserGroups() [1/2]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::WithUserGroups ( Aws::Vector< Aws::String > &&  value)
inline

The user groups. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 316 of file ModifyImageAttributeRequest.h.

◆ WithUserGroups() [2/2]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::WithUserGroups ( const Aws::Vector< Aws::String > &  value)
inline

The user groups. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 310 of file ModifyImageAttributeRequest.h.

◆ WithUserIds() [1/2]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::WithUserIds ( Aws::Vector< Aws::String > &&  value)
inline

The Amazon Web Services account IDs. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 371 of file ModifyImageAttributeRequest.h.

◆ WithUserIds() [2/2]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::WithUserIds ( const Aws::Vector< Aws::String > &  value)
inline

The Amazon Web Services account IDs. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 365 of file ModifyImageAttributeRequest.h.

◆ WithValue() [1/3]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::WithValue ( Aws::String &&  value)
inline

The value of the attribute being modified. This parameter can be used only when the Attribute parameter is description.

Definition at line 432 of file ModifyImageAttributeRequest.h.

◆ WithValue() [2/3]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::WithValue ( const Aws::String value)
inline

The value of the attribute being modified. This parameter can be used only when the Attribute parameter is description.

Definition at line 426 of file ModifyImageAttributeRequest.h.

◆ WithValue() [3/3]

ModifyImageAttributeRequest& Aws::EC2::Model::ModifyImageAttributeRequest::WithValue ( const char *  value)
inline

The value of the attribute being modified. This parameter can be used only when the Attribute parameter is description.

Definition at line 438 of file ModifyImageAttributeRequest.h.


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