AWS SDK for C++  1.7.349
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

Definition at line 35 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 154 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 159 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 164 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 272 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 277 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 282 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 63 of file ModifySnapshotAttributeRequest.h.

◆ CreateVolumePermissionHasBeenSet()

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

A JSON representation of the snapshot attribute modification.

Definition at line 98 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 299 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 57 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 93 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 291 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 124 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 170 of file ModifySnapshotAttributeRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 44 of file ModifySnapshotAttributeRequest.h.

◆ GetSnapshotId()

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

The ID of the snapshot.

Definition at line 201 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 242 of file ModifySnapshotAttributeRequest.h.

◆ GroupNamesHasBeenSet()

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

The group to modify for the snapshot.

Definition at line 129 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 175 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 69 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 75 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 103 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 108 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 307 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 134 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 139 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 180 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 185 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 211 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 216 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 221 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 252 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 257 of file ModifySnapshotAttributeRequest.h.

◆ SnapshotIdHasBeenSet()

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

The ID of the snapshot.

Definition at line 206 of file ModifySnapshotAttributeRequest.h.

◆ UserIdsHasBeenSet()

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

The account ID to modify for the snapshot.

Definition at line 247 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 81 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 87 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 113 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 118 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 315 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 144 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 149 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 190 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 195 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 226 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 231 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 236 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 262 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 267 of file ModifySnapshotAttributeRequest.h.


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