AWS SDK for C++  1.9.107
AWS SDK for C++
Public Member Functions | List of all members
Aws::Lightsail::Model::UpdateBucketRequest Class Reference

#include <UpdateBucketRequest.h>

+ Inheritance diagram for Aws::Lightsail::Model::UpdateBucketRequest:

Public Member Functions

 UpdateBucketRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetBucketName () const
 
bool BucketNameHasBeenSet () const
 
void SetBucketName (const Aws::String &value)
 
void SetBucketName (Aws::String &&value)
 
void SetBucketName (const char *value)
 
UpdateBucketRequestWithBucketName (const Aws::String &value)
 
UpdateBucketRequestWithBucketName (Aws::String &&value)
 
UpdateBucketRequestWithBucketName (const char *value)
 
const AccessRulesGetAccessRules () const
 
bool AccessRulesHasBeenSet () const
 
void SetAccessRules (const AccessRules &value)
 
void SetAccessRules (AccessRules &&value)
 
UpdateBucketRequestWithAccessRules (const AccessRules &value)
 
UpdateBucketRequestWithAccessRules (AccessRules &&value)
 
const Aws::StringGetVersioning () const
 
bool VersioningHasBeenSet () const
 
void SetVersioning (const Aws::String &value)
 
void SetVersioning (Aws::String &&value)
 
void SetVersioning (const char *value)
 
UpdateBucketRequestWithVersioning (const Aws::String &value)
 
UpdateBucketRequestWithVersioning (Aws::String &&value)
 
UpdateBucketRequestWithVersioning (const char *value)
 
const Aws::Vector< Aws::String > & GetReadonlyAccessAccounts () const
 
bool ReadonlyAccessAccountsHasBeenSet () const
 
void SetReadonlyAccessAccounts (const Aws::Vector< Aws::String > &value)
 
void SetReadonlyAccessAccounts (Aws::Vector< Aws::String > &&value)
 
UpdateBucketRequestWithReadonlyAccessAccounts (const Aws::Vector< Aws::String > &value)
 
UpdateBucketRequestWithReadonlyAccessAccounts (Aws::Vector< Aws::String > &&value)
 
UpdateBucketRequestAddReadonlyAccessAccounts (const Aws::String &value)
 
UpdateBucketRequestAddReadonlyAccessAccounts (Aws::String &&value)
 
UpdateBucketRequestAddReadonlyAccessAccounts (const char *value)
 
- Public Member Functions inherited from Aws::Lightsail::LightsailRequest
virtual ~LightsailRequest ()
 
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
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 23 of file UpdateBucketRequest.h.

Constructor & Destructor Documentation

◆ UpdateBucketRequest()

Aws::Lightsail::Model::UpdateBucketRequest::UpdateBucketRequest ( )

Member Function Documentation

◆ AccessRulesHasBeenSet()

bool Aws::Lightsail::Model::UpdateBucketRequest::AccessRulesHasBeenSet ( ) const
inline

An object that sets the public accessibility of objects in the specified bucket.

Definition at line 90 of file UpdateBucketRequest.h.

◆ AddReadonlyAccessAccounts() [1/3]

UpdateBucketRequest& Aws::Lightsail::Model::UpdateBucketRequest::AddReadonlyAccessAccounts ( Aws::String &&  value)
inline

An array of strings to specify the AWS account IDs that can access the bucket.

You can give a maximum of 10 AWS accounts access to a bucket.

Definition at line 244 of file UpdateBucketRequest.h.

◆ AddReadonlyAccessAccounts() [2/3]

UpdateBucketRequest& Aws::Lightsail::Model::UpdateBucketRequest::AddReadonlyAccessAccounts ( const Aws::String value)
inline

An array of strings to specify the AWS account IDs that can access the bucket.

You can give a maximum of 10 AWS accounts access to a bucket.

Definition at line 238 of file UpdateBucketRequest.h.

◆ AddReadonlyAccessAccounts() [3/3]

UpdateBucketRequest& Aws::Lightsail::Model::UpdateBucketRequest::AddReadonlyAccessAccounts ( const char *  value)
inline

An array of strings to specify the AWS account IDs that can access the bucket.

You can give a maximum of 10 AWS accounts access to a bucket.

Definition at line 250 of file UpdateBucketRequest.h.

◆ BucketNameHasBeenSet()

bool Aws::Lightsail::Model::UpdateBucketRequest::BucketNameHasBeenSet ( ) const
inline

The name of the bucket to update.

Definition at line 47 of file UpdateBucketRequest.h.

◆ GetAccessRules()

const AccessRules& Aws::Lightsail::Model::UpdateBucketRequest::GetAccessRules ( ) const
inline

An object that sets the public accessibility of objects in the specified bucket.

Definition at line 84 of file UpdateBucketRequest.h.

◆ GetBucketName()

const Aws::String& Aws::Lightsail::Model::UpdateBucketRequest::GetBucketName ( ) const
inline

The name of the bucket to update.

Definition at line 42 of file UpdateBucketRequest.h.

◆ GetReadonlyAccessAccounts()

const Aws::Vector<Aws::String>& Aws::Lightsail::Model::UpdateBucketRequest::GetReadonlyAccessAccounts ( ) const
inline

An array of strings to specify the AWS account IDs that can access the bucket.

You can give a maximum of 10 AWS accounts access to a bucket.

Definition at line 202 of file UpdateBucketRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::Lightsail::Model::UpdateBucketRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::Lightsail::LightsailRequest.

◆ GetServiceRequestName()

virtual const char* Aws::Lightsail::Model::UpdateBucketRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 32 of file UpdateBucketRequest.h.

◆ GetVersioning()

const Aws::String& Aws::Lightsail::Model::UpdateBucketRequest::GetVersioning ( ) const
inline

Specifies whether to enable or suspend versioning of objects in the bucket.

The following options can be specified:

  • Enabled - Enables versioning of objects in the specified bucket.

  • Suspended - Suspends versioning of objects in the specified bucket. Existing object versions are retained.

Definition at line 125 of file UpdateBucketRequest.h.

◆ ReadonlyAccessAccountsHasBeenSet()

bool Aws::Lightsail::Model::UpdateBucketRequest::ReadonlyAccessAccountsHasBeenSet ( ) const
inline

An array of strings to specify the AWS account IDs that can access the bucket.

You can give a maximum of 10 AWS accounts access to a bucket.

Definition at line 208 of file UpdateBucketRequest.h.

◆ SerializePayload()

Aws::String Aws::Lightsail::Model::UpdateBucketRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAccessRules() [1/2]

void Aws::Lightsail::Model::UpdateBucketRequest::SetAccessRules ( AccessRules &&  value)
inline

An object that sets the public accessibility of objects in the specified bucket.

Definition at line 102 of file UpdateBucketRequest.h.

◆ SetAccessRules() [2/2]

void Aws::Lightsail::Model::UpdateBucketRequest::SetAccessRules ( const AccessRules value)
inline

An object that sets the public accessibility of objects in the specified bucket.

Definition at line 96 of file UpdateBucketRequest.h.

◆ SetBucketName() [1/3]

void Aws::Lightsail::Model::UpdateBucketRequest::SetBucketName ( Aws::String &&  value)
inline

The name of the bucket to update.

Definition at line 57 of file UpdateBucketRequest.h.

◆ SetBucketName() [2/3]

void Aws::Lightsail::Model::UpdateBucketRequest::SetBucketName ( const Aws::String value)
inline

The name of the bucket to update.

Definition at line 52 of file UpdateBucketRequest.h.

◆ SetBucketName() [3/3]

void Aws::Lightsail::Model::UpdateBucketRequest::SetBucketName ( const char *  value)
inline

The name of the bucket to update.

Definition at line 62 of file UpdateBucketRequest.h.

◆ SetReadonlyAccessAccounts() [1/2]

void Aws::Lightsail::Model::UpdateBucketRequest::SetReadonlyAccessAccounts ( Aws::Vector< Aws::String > &&  value)
inline

An array of strings to specify the AWS account IDs that can access the bucket.

You can give a maximum of 10 AWS accounts access to a bucket.

Definition at line 220 of file UpdateBucketRequest.h.

◆ SetReadonlyAccessAccounts() [2/2]

void Aws::Lightsail::Model::UpdateBucketRequest::SetReadonlyAccessAccounts ( const Aws::Vector< Aws::String > &  value)
inline

An array of strings to specify the AWS account IDs that can access the bucket.

You can give a maximum of 10 AWS accounts access to a bucket.

Definition at line 214 of file UpdateBucketRequest.h.

◆ SetVersioning() [1/3]

void Aws::Lightsail::Model::UpdateBucketRequest::SetVersioning ( Aws::String &&  value)
inline

Specifies whether to enable or suspend versioning of objects in the bucket.

The following options can be specified:

  • Enabled - Enables versioning of objects in the specified bucket.

  • Suspended - Suspends versioning of objects in the specified bucket. Existing object versions are retained.

Definition at line 155 of file UpdateBucketRequest.h.

◆ SetVersioning() [2/3]

void Aws::Lightsail::Model::UpdateBucketRequest::SetVersioning ( const Aws::String value)
inline

Specifies whether to enable or suspend versioning of objects in the bucket.

The following options can be specified:

  • Enabled - Enables versioning of objects in the specified bucket.

  • Suspended - Suspends versioning of objects in the specified bucket. Existing object versions are retained.

Definition at line 145 of file UpdateBucketRequest.h.

◆ SetVersioning() [3/3]

void Aws::Lightsail::Model::UpdateBucketRequest::SetVersioning ( const char *  value)
inline

Specifies whether to enable or suspend versioning of objects in the bucket.

The following options can be specified:

  • Enabled - Enables versioning of objects in the specified bucket.

  • Suspended - Suspends versioning of objects in the specified bucket. Existing object versions are retained.

Definition at line 165 of file UpdateBucketRequest.h.

◆ VersioningHasBeenSet()

bool Aws::Lightsail::Model::UpdateBucketRequest::VersioningHasBeenSet ( ) const
inline

Specifies whether to enable or suspend versioning of objects in the bucket.

The following options can be specified:

  • Enabled - Enables versioning of objects in the specified bucket.

  • Suspended - Suspends versioning of objects in the specified bucket. Existing object versions are retained.

Definition at line 135 of file UpdateBucketRequest.h.

◆ WithAccessRules() [1/2]

UpdateBucketRequest& Aws::Lightsail::Model::UpdateBucketRequest::WithAccessRules ( AccessRules &&  value)
inline

An object that sets the public accessibility of objects in the specified bucket.

Definition at line 114 of file UpdateBucketRequest.h.

◆ WithAccessRules() [2/2]

UpdateBucketRequest& Aws::Lightsail::Model::UpdateBucketRequest::WithAccessRules ( const AccessRules value)
inline

An object that sets the public accessibility of objects in the specified bucket.

Definition at line 108 of file UpdateBucketRequest.h.

◆ WithBucketName() [1/3]

UpdateBucketRequest& Aws::Lightsail::Model::UpdateBucketRequest::WithBucketName ( Aws::String &&  value)
inline

The name of the bucket to update.

Definition at line 72 of file UpdateBucketRequest.h.

◆ WithBucketName() [2/3]

UpdateBucketRequest& Aws::Lightsail::Model::UpdateBucketRequest::WithBucketName ( const Aws::String value)
inline

The name of the bucket to update.

Definition at line 67 of file UpdateBucketRequest.h.

◆ WithBucketName() [3/3]

UpdateBucketRequest& Aws::Lightsail::Model::UpdateBucketRequest::WithBucketName ( const char *  value)
inline

The name of the bucket to update.

Definition at line 77 of file UpdateBucketRequest.h.

◆ WithReadonlyAccessAccounts() [1/2]

UpdateBucketRequest& Aws::Lightsail::Model::UpdateBucketRequest::WithReadonlyAccessAccounts ( Aws::Vector< Aws::String > &&  value)
inline

An array of strings to specify the AWS account IDs that can access the bucket.

You can give a maximum of 10 AWS accounts access to a bucket.

Definition at line 232 of file UpdateBucketRequest.h.

◆ WithReadonlyAccessAccounts() [2/2]

UpdateBucketRequest& Aws::Lightsail::Model::UpdateBucketRequest::WithReadonlyAccessAccounts ( const Aws::Vector< Aws::String > &  value)
inline

An array of strings to specify the AWS account IDs that can access the bucket.

You can give a maximum of 10 AWS accounts access to a bucket.

Definition at line 226 of file UpdateBucketRequest.h.

◆ WithVersioning() [1/3]

UpdateBucketRequest& Aws::Lightsail::Model::UpdateBucketRequest::WithVersioning ( Aws::String &&  value)
inline

Specifies whether to enable or suspend versioning of objects in the bucket.

The following options can be specified:

  • Enabled - Enables versioning of objects in the specified bucket.

  • Suspended - Suspends versioning of objects in the specified bucket. Existing object versions are retained.

Definition at line 185 of file UpdateBucketRequest.h.

◆ WithVersioning() [2/3]

UpdateBucketRequest& Aws::Lightsail::Model::UpdateBucketRequest::WithVersioning ( const Aws::String value)
inline

Specifies whether to enable or suspend versioning of objects in the bucket.

The following options can be specified:

  • Enabled - Enables versioning of objects in the specified bucket.

  • Suspended - Suspends versioning of objects in the specified bucket. Existing object versions are retained.

Definition at line 175 of file UpdateBucketRequest.h.

◆ WithVersioning() [3/3]

UpdateBucketRequest& Aws::Lightsail::Model::UpdateBucketRequest::WithVersioning ( const char *  value)
inline

Specifies whether to enable or suspend versioning of objects in the bucket.

The following options can be specified:

  • Enabled - Enables versioning of objects in the specified bucket.

  • Suspended - Suspends versioning of objects in the specified bucket. Existing object versions are retained.

Definition at line 195 of file UpdateBucketRequest.h.


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