AWS SDK for C++  1.8.7
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 ( const Aws::String value)
inline

The DevPay product codes. After you add a product code to an AMI, it can't be removed.

Definition at line 284 of file ModifyImageAttributeRequest.h.

◆ AddProductCodes() [2/3]

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

The DevPay product codes. After you add a product code to an AMI, it can't be removed.

Definition at line 290 of file ModifyImageAttributeRequest.h.

◆ AddProductCodes() [3/3]

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

The DevPay product codes. After you add a product code to an AMI, it can't be removed.

Definition at line 296 of file ModifyImageAttributeRequest.h.

◆ AddUserGroups() [1/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 339 of file ModifyImageAttributeRequest.h.

◆ AddUserGroups() [2/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 345 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 351 of file ModifyImageAttributeRequest.h.

◆ AddUserIds() [1/3]

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

The AWS account IDs. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 394 of file ModifyImageAttributeRequest.h.

◆ AddUserIds() [2/3]

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

The AWS account IDs. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 400 of file ModifyImageAttributeRequest.h.

◆ AddUserIds() [3/3]

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

The AWS account IDs. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 406 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, launchPermission, and productCodes.

Definition at line 59 of file ModifyImageAttributeRequest.h.

◆ DescriptionHasBeenSet()

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

A new description for the AMI.

Definition at line 112 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 480 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, launchPermission, and productCodes.

Definition at line 52 of file ModifyImageAttributeRequest.h.

◆ GetDescription()

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

A new description for the AMI.

Definition at line 107 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 472 of file ModifyImageAttributeRequest.h.

◆ GetImageId()

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

The ID of the AMI.

Definition at line 138 of file ModifyImageAttributeRequest.h.

◆ GetLaunchPermission()

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

A new launch permission for the AMI.

Definition at line 179 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 211 of file ModifyImageAttributeRequest.h.

◆ GetProductCodes()

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

The DevPay product codes. After you add a product code to an AMI, it can't be removed.

Definition at line 248 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 303 of file ModifyImageAttributeRequest.h.

◆ GetUserIds()

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

The AWS account IDs. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 358 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 or productCodes.

Definition at line 414 of file ModifyImageAttributeRequest.h.

◆ ImageIdHasBeenSet()

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

The ID of the AMI.

Definition at line 143 of file ModifyImageAttributeRequest.h.

◆ LaunchPermissionHasBeenSet()

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

A new launch permission for the AMI.

Definition at line 184 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 217 of file ModifyImageAttributeRequest.h.

◆ ProductCodesHasBeenSet()

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

The DevPay product codes. After you add a product code to an AMI, it can't be removed.

Definition at line 254 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 ( const Aws::String value)
inline

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

Definition at line 66 of file ModifyImageAttributeRequest.h.

◆ SetAttribute() [2/3]

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

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

Definition at line 73 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, launchPermission, and productCodes.

Definition at line 80 of file ModifyImageAttributeRequest.h.

◆ SetDescription() [1/2]

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

A new description for the AMI.

Definition at line 117 of file ModifyImageAttributeRequest.h.

◆ SetDescription() [2/2]

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

A new description for the AMI.

Definition at line 122 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 488 of file ModifyImageAttributeRequest.h.

◆ SetImageId() [1/3]

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

The ID of the AMI.

Definition at line 148 of file ModifyImageAttributeRequest.h.

◆ SetImageId() [2/3]

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

The ID of the AMI.

Definition at line 153 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 158 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 189 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 194 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 223 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 229 of file ModifyImageAttributeRequest.h.

◆ SetProductCodes() [1/2]

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

The DevPay product codes. After you add a product code to an AMI, it can't be removed.

Definition at line 260 of file ModifyImageAttributeRequest.h.

◆ SetProductCodes() [2/2]

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

The DevPay product codes. After you add a product code to an AMI, it can't be removed.

Definition at line 266 of file ModifyImageAttributeRequest.h.

◆ SetUserGroups() [1/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 315 of file ModifyImageAttributeRequest.h.

◆ SetUserGroups() [2/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 321 of file ModifyImageAttributeRequest.h.

◆ SetUserIds() [1/2]

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

The AWS account IDs. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 370 of file ModifyImageAttributeRequest.h.

◆ SetUserIds() [2/2]

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

The AWS account IDs. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 376 of file ModifyImageAttributeRequest.h.

◆ SetValue() [1/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 or productCodes.

Definition at line 428 of file ModifyImageAttributeRequest.h.

◆ SetValue() [2/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 or productCodes.

Definition at line 435 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 or productCodes.

Definition at line 442 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 309 of file ModifyImageAttributeRequest.h.

◆ UserIdsHasBeenSet()

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

The AWS account IDs. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 364 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 or productCodes.

Definition at line 421 of file ModifyImageAttributeRequest.h.

◆ WithAttribute() [1/3]

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

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

Definition at line 87 of file ModifyImageAttributeRequest.h.

◆ WithAttribute() [2/3]

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

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

Definition at line 94 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, launchPermission, and productCodes.

Definition at line 101 of file ModifyImageAttributeRequest.h.

◆ WithDescription() [1/2]

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

A new description for the AMI.

Definition at line 127 of file ModifyImageAttributeRequest.h.

◆ WithDescription() [2/2]

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

A new description for the AMI.

Definition at line 132 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 496 of file ModifyImageAttributeRequest.h.

◆ WithImageId() [1/3]

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

The ID of the AMI.

Definition at line 163 of file ModifyImageAttributeRequest.h.

◆ WithImageId() [2/3]

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

The ID of the AMI.

Definition at line 168 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 173 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 199 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 204 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 235 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 241 of file ModifyImageAttributeRequest.h.

◆ WithProductCodes() [1/2]

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

The DevPay product codes. After you add a product code to an AMI, it can't be removed.

Definition at line 272 of file ModifyImageAttributeRequest.h.

◆ WithProductCodes() [2/2]

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

The DevPay product codes. After you add a product code to an AMI, it can't be removed.

Definition at line 278 of file ModifyImageAttributeRequest.h.

◆ WithUserGroups() [1/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 327 of file ModifyImageAttributeRequest.h.

◆ WithUserGroups() [2/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 333 of file ModifyImageAttributeRequest.h.

◆ WithUserIds() [1/2]

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

The AWS account IDs. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 382 of file ModifyImageAttributeRequest.h.

◆ WithUserIds() [2/2]

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

The AWS account IDs. This parameter can be used only when the Attribute parameter is launchPermission.

Definition at line 388 of file ModifyImageAttributeRequest.h.

◆ WithValue() [1/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 or productCodes.

Definition at line 449 of file ModifyImageAttributeRequest.h.

◆ WithValue() [2/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 or productCodes.

Definition at line 456 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 or productCodes.

Definition at line 463 of file ModifyImageAttributeRequest.h.


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