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

#include <ModifySnapshotAttributeRequest.h>

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

Public Member Functions

 ModifySnapshotAttributeRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const SnapshotAttributeNameGetAttribute () const
 
bool AttributeHasBeenSet () const
 
void SetAttribute (const SnapshotAttributeName &value)
 
void SetAttribute (SnapshotAttributeName &&value)
 
ModifySnapshotAttributeRequestWithAttribute (const SnapshotAttributeName &value)
 
ModifySnapshotAttributeRequestWithAttribute (SnapshotAttributeName &&value)
 
const CreateVolumePermissionModificationsGetCreateVolumePermission () const
 
bool CreateVolumePermissionHasBeenSet () const
 
void SetCreateVolumePermission (const CreateVolumePermissionModifications &value)
 
void SetCreateVolumePermission (CreateVolumePermissionModifications &&value)
 
ModifySnapshotAttributeRequestWithCreateVolumePermission (const CreateVolumePermissionModifications &value)
 
ModifySnapshotAttributeRequestWithCreateVolumePermission (CreateVolumePermissionModifications &&value)
 
const Aws::Vector< Aws::String > & GetGroupNames () const
 
bool GroupNamesHasBeenSet () const
 
void SetGroupNames (const Aws::Vector< Aws::String > &value)
 
void SetGroupNames (Aws::Vector< Aws::String > &&value)
 
ModifySnapshotAttributeRequestWithGroupNames (const Aws::Vector< Aws::String > &value)
 
ModifySnapshotAttributeRequestWithGroupNames (Aws::Vector< Aws::String > &&value)
 
ModifySnapshotAttributeRequestAddGroupNames (const Aws::String &value)
 
ModifySnapshotAttributeRequestAddGroupNames (Aws::String &&value)
 
ModifySnapshotAttributeRequestAddGroupNames (const char *value)
 
const OperationTypeGetOperationType () const
 
bool OperationTypeHasBeenSet () const
 
void SetOperationType (const OperationType &value)
 
void SetOperationType (OperationType &&value)
 
ModifySnapshotAttributeRequestWithOperationType (const OperationType &value)
 
ModifySnapshotAttributeRequestWithOperationType (OperationType &&value)
 
const Aws::StringGetSnapshotId () const
 
bool SnapshotIdHasBeenSet () const
 
void SetSnapshotId (const Aws::String &value)
 
void SetSnapshotId (Aws::String &&value)
 
void SetSnapshotId (const char *value)
 
ModifySnapshotAttributeRequestWithSnapshotId (const Aws::String &value)
 
ModifySnapshotAttributeRequestWithSnapshotId (Aws::String &&value)
 
ModifySnapshotAttributeRequestWithSnapshotId (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)
 
ModifySnapshotAttributeRequestWithUserIds (const Aws::Vector< Aws::String > &value)
 
ModifySnapshotAttributeRequestWithUserIds (Aws::Vector< Aws::String > &&value)
 
ModifySnapshotAttributeRequestAddUserIds (const Aws::String &value)
 
ModifySnapshotAttributeRequestAddUserIds (Aws::String &&value)
 
ModifySnapshotAttributeRequestAddUserIds (const char *value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
ModifySnapshotAttributeRequestWithDryRun (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 ModifySnapshotAttribute.

See Also:

AWS API Reference

Definition at line 39 of file ModifySnapshotAttributeRequest.h.

Constructor & Destructor Documentation

◆ ModifySnapshotAttributeRequest()

Aws::EC2::Model::ModifySnapshotAttributeRequest::ModifySnapshotAttributeRequest ( )

Member Function Documentation

◆ AddGroupNames() [1/3]

ModifySnapshotAttributeRequest& Aws::EC2::Model::ModifySnapshotAttributeRequest::AddGroupNames ( const Aws::String value)
inline

The group to modify for the snapshot.

Definition at line 158 of file ModifySnapshotAttributeRequest.h.

◆ AddGroupNames() [2/3]

ModifySnapshotAttributeRequest& Aws::EC2::Model::ModifySnapshotAttributeRequest::AddGroupNames ( Aws::String &&  value)
inline

The group to modify for the snapshot.

Definition at line 163 of file ModifySnapshotAttributeRequest.h.

◆ AddGroupNames() [3/3]

ModifySnapshotAttributeRequest& Aws::EC2::Model::ModifySnapshotAttributeRequest::AddGroupNames ( const char *  value)
inline

The group to modify for the snapshot.

Definition at line 168 of file ModifySnapshotAttributeRequest.h.

◆ AddUserIds() [1/3]

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

The account ID to modify for the snapshot.

Definition at line 276 of file ModifySnapshotAttributeRequest.h.

◆ AddUserIds() [2/3]

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

The account ID to modify for the snapshot.

Definition at line 281 of file ModifySnapshotAttributeRequest.h.

◆ AddUserIds() [3/3]

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

The account ID to modify for the snapshot.

Definition at line 286 of file ModifySnapshotAttributeRequest.h.

◆ AttributeHasBeenSet()

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

The snapshot attribute to modify. Only volume creation permissions can be modified.

Definition at line 67 of file ModifySnapshotAttributeRequest.h.

◆ CreateVolumePermissionHasBeenSet()

bool Aws::EC2::Model::ModifySnapshotAttributeRequest::CreateVolumePermissionHasBeenSet ( ) const
inline

A JSON representation of the snapshot attribute modification.

Definition at line 102 of file ModifySnapshotAttributeRequest.h.

◆ DryRunHasBeenSet()

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

◆ DumpBodyToUrl()

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

The snapshot attribute to modify. Only volume creation permissions can be modified.

Definition at line 61 of file ModifySnapshotAttributeRequest.h.

◆ GetCreateVolumePermission()

const CreateVolumePermissionModifications& Aws::EC2::Model::ModifySnapshotAttributeRequest::GetCreateVolumePermission ( ) const
inline

A JSON representation of the snapshot attribute modification.

Definition at line 97 of file ModifySnapshotAttributeRequest.h.

◆ GetDryRun()

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

◆ GetGroupNames()

const Aws::Vector<Aws::String>& Aws::EC2::Model::ModifySnapshotAttributeRequest::GetGroupNames ( ) const
inline

The group to modify for the snapshot.

Definition at line 128 of file ModifySnapshotAttributeRequest.h.

◆ GetOperationType()

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

The type of operation to perform to the attribute.

Definition at line 174 of file ModifySnapshotAttributeRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 48 of file ModifySnapshotAttributeRequest.h.

◆ GetSnapshotId()

const Aws::String& Aws::EC2::Model::ModifySnapshotAttributeRequest::GetSnapshotId ( ) const
inline

The ID of the snapshot.

Definition at line 205 of file ModifySnapshotAttributeRequest.h.

◆ GetUserIds()

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

The account ID to modify for the snapshot.

Definition at line 246 of file ModifySnapshotAttributeRequest.h.

◆ GroupNamesHasBeenSet()

bool Aws::EC2::Model::ModifySnapshotAttributeRequest::GroupNamesHasBeenSet ( ) const
inline

The group to modify for the snapshot.

Definition at line 133 of file ModifySnapshotAttributeRequest.h.

◆ OperationTypeHasBeenSet()

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

The type of operation to perform to the attribute.

Definition at line 179 of file ModifySnapshotAttributeRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAttribute() [1/2]

void Aws::EC2::Model::ModifySnapshotAttributeRequest::SetAttribute ( const SnapshotAttributeName value)
inline

The snapshot attribute to modify. Only volume creation permissions can be modified.

Definition at line 73 of file ModifySnapshotAttributeRequest.h.

◆ SetAttribute() [2/2]

void Aws::EC2::Model::ModifySnapshotAttributeRequest::SetAttribute ( SnapshotAttributeName &&  value)
inline

The snapshot attribute to modify. Only volume creation permissions can be modified.

Definition at line 79 of file ModifySnapshotAttributeRequest.h.

◆ SetCreateVolumePermission() [1/2]

void Aws::EC2::Model::ModifySnapshotAttributeRequest::SetCreateVolumePermission ( const CreateVolumePermissionModifications value)
inline

A JSON representation of the snapshot attribute modification.

Definition at line 107 of file ModifySnapshotAttributeRequest.h.

◆ SetCreateVolumePermission() [2/2]

void Aws::EC2::Model::ModifySnapshotAttributeRequest::SetCreateVolumePermission ( CreateVolumePermissionModifications &&  value)
inline

A JSON representation of the snapshot attribute modification.

Definition at line 112 of file ModifySnapshotAttributeRequest.h.

◆ SetDryRun()

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

◆ SetGroupNames() [1/2]

void Aws::EC2::Model::ModifySnapshotAttributeRequest::SetGroupNames ( const Aws::Vector< Aws::String > &  value)
inline

The group to modify for the snapshot.

Definition at line 138 of file ModifySnapshotAttributeRequest.h.

◆ SetGroupNames() [2/2]

void Aws::EC2::Model::ModifySnapshotAttributeRequest::SetGroupNames ( Aws::Vector< Aws::String > &&  value)
inline

The group to modify for the snapshot.

Definition at line 143 of file ModifySnapshotAttributeRequest.h.

◆ SetOperationType() [1/2]

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

The type of operation to perform to the attribute.

Definition at line 184 of file ModifySnapshotAttributeRequest.h.

◆ SetOperationType() [2/2]

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

The type of operation to perform to the attribute.

Definition at line 189 of file ModifySnapshotAttributeRequest.h.

◆ SetSnapshotId() [1/3]

void Aws::EC2::Model::ModifySnapshotAttributeRequest::SetSnapshotId ( const Aws::String value)
inline

The ID of the snapshot.

Definition at line 215 of file ModifySnapshotAttributeRequest.h.

◆ SetSnapshotId() [2/3]

void Aws::EC2::Model::ModifySnapshotAttributeRequest::SetSnapshotId ( Aws::String &&  value)
inline

The ID of the snapshot.

Definition at line 220 of file ModifySnapshotAttributeRequest.h.

◆ SetSnapshotId() [3/3]

void Aws::EC2::Model::ModifySnapshotAttributeRequest::SetSnapshotId ( const char *  value)
inline

The ID of the snapshot.

Definition at line 225 of file ModifySnapshotAttributeRequest.h.

◆ SetUserIds() [1/2]

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

The account ID to modify for the snapshot.

Definition at line 256 of file ModifySnapshotAttributeRequest.h.

◆ SetUserIds() [2/2]

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

The account ID to modify for the snapshot.

Definition at line 261 of file ModifySnapshotAttributeRequest.h.

◆ SnapshotIdHasBeenSet()

bool Aws::EC2::Model::ModifySnapshotAttributeRequest::SnapshotIdHasBeenSet ( ) const
inline

The ID of the snapshot.

Definition at line 210 of file ModifySnapshotAttributeRequest.h.

◆ UserIdsHasBeenSet()

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

The account ID to modify for the snapshot.

Definition at line 251 of file ModifySnapshotAttributeRequest.h.

◆ WithAttribute() [1/2]

ModifySnapshotAttributeRequest& Aws::EC2::Model::ModifySnapshotAttributeRequest::WithAttribute ( const SnapshotAttributeName value)
inline

The snapshot attribute to modify. Only volume creation permissions can be modified.

Definition at line 85 of file ModifySnapshotAttributeRequest.h.

◆ WithAttribute() [2/2]

ModifySnapshotAttributeRequest& Aws::EC2::Model::ModifySnapshotAttributeRequest::WithAttribute ( SnapshotAttributeName &&  value)
inline

The snapshot attribute to modify. Only volume creation permissions can be modified.

Definition at line 91 of file ModifySnapshotAttributeRequest.h.

◆ WithCreateVolumePermission() [1/2]

ModifySnapshotAttributeRequest& Aws::EC2::Model::ModifySnapshotAttributeRequest::WithCreateVolumePermission ( const CreateVolumePermissionModifications value)
inline

A JSON representation of the snapshot attribute modification.

Definition at line 117 of file ModifySnapshotAttributeRequest.h.

◆ WithCreateVolumePermission() [2/2]

ModifySnapshotAttributeRequest& Aws::EC2::Model::ModifySnapshotAttributeRequest::WithCreateVolumePermission ( CreateVolumePermissionModifications &&  value)
inline

A JSON representation of the snapshot attribute modification.

Definition at line 122 of file ModifySnapshotAttributeRequest.h.

◆ WithDryRun()

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

◆ WithGroupNames() [1/2]

ModifySnapshotAttributeRequest& Aws::EC2::Model::ModifySnapshotAttributeRequest::WithGroupNames ( const Aws::Vector< Aws::String > &  value)
inline

The group to modify for the snapshot.

Definition at line 148 of file ModifySnapshotAttributeRequest.h.

◆ WithGroupNames() [2/2]

ModifySnapshotAttributeRequest& Aws::EC2::Model::ModifySnapshotAttributeRequest::WithGroupNames ( Aws::Vector< Aws::String > &&  value)
inline

The group to modify for the snapshot.

Definition at line 153 of file ModifySnapshotAttributeRequest.h.

◆ WithOperationType() [1/2]

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

The type of operation to perform to the attribute.

Definition at line 194 of file ModifySnapshotAttributeRequest.h.

◆ WithOperationType() [2/2]

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

The type of operation to perform to the attribute.

Definition at line 199 of file ModifySnapshotAttributeRequest.h.

◆ WithSnapshotId() [1/3]

ModifySnapshotAttributeRequest& Aws::EC2::Model::ModifySnapshotAttributeRequest::WithSnapshotId ( const Aws::String value)
inline

The ID of the snapshot.

Definition at line 230 of file ModifySnapshotAttributeRequest.h.

◆ WithSnapshotId() [2/3]

ModifySnapshotAttributeRequest& Aws::EC2::Model::ModifySnapshotAttributeRequest::WithSnapshotId ( Aws::String &&  value)
inline

The ID of the snapshot.

Definition at line 235 of file ModifySnapshotAttributeRequest.h.

◆ WithSnapshotId() [3/3]

ModifySnapshotAttributeRequest& Aws::EC2::Model::ModifySnapshotAttributeRequest::WithSnapshotId ( const char *  value)
inline

The ID of the snapshot.

Definition at line 240 of file ModifySnapshotAttributeRequest.h.

◆ WithUserIds() [1/2]

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

The account ID to modify for the snapshot.

Definition at line 266 of file ModifySnapshotAttributeRequest.h.

◆ WithUserIds() [2/2]

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

The account ID to modify for the snapshot.

Definition at line 271 of file ModifySnapshotAttributeRequest.h.


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