AWS SDK for C++  1.9.69
AWS SDK for C++
Public Member Functions | List of all members
Aws::S3::Model::PutBucketOwnershipControlsRequest Class Reference

#include <PutBucketOwnershipControlsRequest.h>

+ Inheritance diagram for Aws::S3::Model::PutBucketOwnershipControlsRequest:

Public Member Functions

 PutBucketOwnershipControlsRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
void AddQueryStringParameters (Aws::Http::URI &uri) const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
bool ShouldComputeContentMd5 () const override
 
const Aws::StringGetBucket () const
 
bool BucketHasBeenSet () const
 
void SetBucket (const Aws::String &value)
 
void SetBucket (Aws::String &&value)
 
void SetBucket (const char *value)
 
PutBucketOwnershipControlsRequestWithBucket (const Aws::String &value)
 
PutBucketOwnershipControlsRequestWithBucket (Aws::String &&value)
 
PutBucketOwnershipControlsRequestWithBucket (const char *value)
 
const Aws::StringGetContentMD5 () const
 
bool ContentMD5HasBeenSet () const
 
void SetContentMD5 (const Aws::String &value)
 
void SetContentMD5 (Aws::String &&value)
 
void SetContentMD5 (const char *value)
 
PutBucketOwnershipControlsRequestWithContentMD5 (const Aws::String &value)
 
PutBucketOwnershipControlsRequestWithContentMD5 (Aws::String &&value)
 
PutBucketOwnershipControlsRequestWithContentMD5 (const char *value)
 
const Aws::StringGetExpectedBucketOwner () const
 
bool ExpectedBucketOwnerHasBeenSet () const
 
void SetExpectedBucketOwner (const Aws::String &value)
 
void SetExpectedBucketOwner (Aws::String &&value)
 
void SetExpectedBucketOwner (const char *value)
 
PutBucketOwnershipControlsRequestWithExpectedBucketOwner (const Aws::String &value)
 
PutBucketOwnershipControlsRequestWithExpectedBucketOwner (Aws::String &&value)
 
PutBucketOwnershipControlsRequestWithExpectedBucketOwner (const char *value)
 
const OwnershipControlsGetOwnershipControls () const
 
bool OwnershipControlsHasBeenSet () const
 
void SetOwnershipControls (const OwnershipControls &value)
 
void SetOwnershipControls (OwnershipControls &&value)
 
PutBucketOwnershipControlsRequestWithOwnershipControls (const OwnershipControls &value)
 
PutBucketOwnershipControlsRequestWithOwnershipControls (OwnershipControls &&value)
 
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag () const
 
bool CustomizedAccessLogTagHasBeenSet () const
 
void SetCustomizedAccessLogTag (const Aws::Map< Aws::String, Aws::String > &value)
 
void SetCustomizedAccessLogTag (Aws::Map< Aws::String, Aws::String > &&value)
 
PutBucketOwnershipControlsRequestWithCustomizedAccessLogTag (const Aws::Map< Aws::String, Aws::String > &value)
 
PutBucketOwnershipControlsRequestWithCustomizedAccessLogTag (Aws::Map< Aws::String, Aws::String > &&value)
 
PutBucketOwnershipControlsRequestAddCustomizedAccessLogTag (const Aws::String &key, const Aws::String &value)
 
PutBucketOwnershipControlsRequestAddCustomizedAccessLogTag (Aws::String &&key, const Aws::String &value)
 
PutBucketOwnershipControlsRequestAddCustomizedAccessLogTag (const Aws::String &key, Aws::String &&value)
 
PutBucketOwnershipControlsRequestAddCustomizedAccessLogTag (Aws::String &&key, Aws::String &&value)
 
PutBucketOwnershipControlsRequestAddCustomizedAccessLogTag (const char *key, Aws::String &&value)
 
PutBucketOwnershipControlsRequestAddCustomizedAccessLogTag (Aws::String &&key, const char *value)
 
PutBucketOwnershipControlsRequestAddCustomizedAccessLogTag (const char *key, const char *value)
 
- Public Member Functions inherited from Aws::S3::S3Request
virtual ~S3Request ()
 
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 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
 

Additional Inherited Members

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

Detailed Description

Definition at line 27 of file PutBucketOwnershipControlsRequest.h.

Constructor & Destructor Documentation

◆ PutBucketOwnershipControlsRequest()

Aws::S3::Model::PutBucketOwnershipControlsRequest::PutBucketOwnershipControlsRequest ( )

Member Function Documentation

◆ AddCustomizedAccessLogTag() [1/7]

PutBucketOwnershipControlsRequest& Aws::S3::Model::PutBucketOwnershipControlsRequest::AddCustomizedAccessLogTag ( Aws::String &&  key,
Aws::String &&  value 
)
inline

Definition at line 275 of file PutBucketOwnershipControlsRequest.h.

◆ AddCustomizedAccessLogTag() [2/7]

PutBucketOwnershipControlsRequest& Aws::S3::Model::PutBucketOwnershipControlsRequest::AddCustomizedAccessLogTag ( Aws::String &&  key,
const Aws::String value 
)
inline

Definition at line 269 of file PutBucketOwnershipControlsRequest.h.

◆ AddCustomizedAccessLogTag() [3/7]

PutBucketOwnershipControlsRequest& Aws::S3::Model::PutBucketOwnershipControlsRequest::AddCustomizedAccessLogTag ( Aws::String &&  key,
const char *  value 
)
inline

Definition at line 281 of file PutBucketOwnershipControlsRequest.h.

◆ AddCustomizedAccessLogTag() [4/7]

PutBucketOwnershipControlsRequest& Aws::S3::Model::PutBucketOwnershipControlsRequest::AddCustomizedAccessLogTag ( const Aws::String key,
Aws::String &&  value 
)
inline

Definition at line 272 of file PutBucketOwnershipControlsRequest.h.

◆ AddCustomizedAccessLogTag() [5/7]

PutBucketOwnershipControlsRequest& Aws::S3::Model::PutBucketOwnershipControlsRequest::AddCustomizedAccessLogTag ( const Aws::String key,
const Aws::String value 
)
inline

Definition at line 266 of file PutBucketOwnershipControlsRequest.h.

◆ AddCustomizedAccessLogTag() [6/7]

PutBucketOwnershipControlsRequest& Aws::S3::Model::PutBucketOwnershipControlsRequest::AddCustomizedAccessLogTag ( const char *  key,
Aws::String &&  value 
)
inline

Definition at line 278 of file PutBucketOwnershipControlsRequest.h.

◆ AddCustomizedAccessLogTag() [7/7]

PutBucketOwnershipControlsRequest& Aws::S3::Model::PutBucketOwnershipControlsRequest::AddCustomizedAccessLogTag ( const char *  key,
const char *  value 
)
inline

Definition at line 284 of file PutBucketOwnershipControlsRequest.h.

◆ AddQueryStringParameters()

void Aws::S3::Model::PutBucketOwnershipControlsRequest::AddQueryStringParameters ( Aws::Http::URI uri) const
overridevirtual

Do nothing virtual, override this to add query strings to the request

Reimplemented from Aws::AmazonWebServiceRequest.

◆ BucketHasBeenSet()

bool Aws::S3::Model::PutBucketOwnershipControlsRequest::BucketHasBeenSet ( ) const
inline

The name of the Amazon S3 bucket whose OwnershipControls you want to set.

Definition at line 57 of file PutBucketOwnershipControlsRequest.h.

◆ ContentMD5HasBeenSet()

bool Aws::S3::Model::PutBucketOwnershipControlsRequest::ContentMD5HasBeenSet ( ) const
inline

The MD5 hash of the OwnershipControls request body.

For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is calculated automatically.

Definition at line 108 of file PutBucketOwnershipControlsRequest.h.

◆ CustomizedAccessLogTagHasBeenSet()

bool Aws::S3::Model::PutBucketOwnershipControlsRequest::CustomizedAccessLogTagHasBeenSet ( ) const
inline

Definition at line 251 of file PutBucketOwnershipControlsRequest.h.

◆ ExpectedBucketOwnerHasBeenSet()

bool Aws::S3::Model::PutBucketOwnershipControlsRequest::ExpectedBucketOwnerHasBeenSet ( ) const
inline

The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

Definition at line 165 of file PutBucketOwnershipControlsRequest.h.

◆ GetBucket()

const Aws::String& Aws::S3::Model::PutBucketOwnershipControlsRequest::GetBucket ( ) const
inline

The name of the Amazon S3 bucket whose OwnershipControls you want to set.

Definition at line 51 of file PutBucketOwnershipControlsRequest.h.

◆ GetContentMD5()

const Aws::String& Aws::S3::Model::PutBucketOwnershipControlsRequest::GetContentMD5 ( ) const
inline

The MD5 hash of the OwnershipControls request body.

For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is calculated automatically.

Definition at line 101 of file PutBucketOwnershipControlsRequest.h.

◆ GetCustomizedAccessLogTag()

const Aws::Map<Aws::String, Aws::String>& Aws::S3::Model::PutBucketOwnershipControlsRequest::GetCustomizedAccessLogTag ( ) const
inline

Definition at line 248 of file PutBucketOwnershipControlsRequest.h.

◆ GetExpectedBucketOwner()

const Aws::String& Aws::S3::Model::PutBucketOwnershipControlsRequest::GetExpectedBucketOwner ( ) const
inline

The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

Definition at line 158 of file PutBucketOwnershipControlsRequest.h.

◆ GetOwnershipControls()

const OwnershipControls& Aws::S3::Model::PutBucketOwnershipControlsRequest::GetOwnershipControls ( ) const
inline

The OwnershipControls (BucketOwnerPreferred or ObjectWriter) that you want to apply to this Amazon S3 bucket.

Definition at line 214 of file PutBucketOwnershipControlsRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::S3::Model::PutBucketOwnershipControlsRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::S3::S3Request.

◆ GetServiceRequestName()

virtual const char* Aws::S3::Model::PutBucketOwnershipControlsRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 36 of file PutBucketOwnershipControlsRequest.h.

◆ OwnershipControlsHasBeenSet()

bool Aws::S3::Model::PutBucketOwnershipControlsRequest::OwnershipControlsHasBeenSet ( ) const
inline

The OwnershipControls (BucketOwnerPreferred or ObjectWriter) that you want to apply to this Amazon S3 bucket.

Definition at line 220 of file PutBucketOwnershipControlsRequest.h.

◆ SerializePayload()

Aws::String Aws::S3::Model::PutBucketOwnershipControlsRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetBucket() [1/3]

void Aws::S3::Model::PutBucketOwnershipControlsRequest::SetBucket ( Aws::String &&  value)
inline

The name of the Amazon S3 bucket whose OwnershipControls you want to set.

Definition at line 69 of file PutBucketOwnershipControlsRequest.h.

◆ SetBucket() [2/3]

void Aws::S3::Model::PutBucketOwnershipControlsRequest::SetBucket ( const Aws::String value)
inline

The name of the Amazon S3 bucket whose OwnershipControls you want to set.

Definition at line 63 of file PutBucketOwnershipControlsRequest.h.

◆ SetBucket() [3/3]

void Aws::S3::Model::PutBucketOwnershipControlsRequest::SetBucket ( const char *  value)
inline

The name of the Amazon S3 bucket whose OwnershipControls you want to set.

Definition at line 75 of file PutBucketOwnershipControlsRequest.h.

◆ SetContentMD5() [1/3]

void Aws::S3::Model::PutBucketOwnershipControlsRequest::SetContentMD5 ( Aws::String &&  value)
inline

The MD5 hash of the OwnershipControls request body.

For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is calculated automatically.

Definition at line 122 of file PutBucketOwnershipControlsRequest.h.

◆ SetContentMD5() [2/3]

void Aws::S3::Model::PutBucketOwnershipControlsRequest::SetContentMD5 ( const Aws::String value)
inline

The MD5 hash of the OwnershipControls request body.

For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is calculated automatically.

Definition at line 115 of file PutBucketOwnershipControlsRequest.h.

◆ SetContentMD5() [3/3]

void Aws::S3::Model::PutBucketOwnershipControlsRequest::SetContentMD5 ( const char *  value)
inline

The MD5 hash of the OwnershipControls request body.

For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is calculated automatically.

Definition at line 129 of file PutBucketOwnershipControlsRequest.h.

◆ SetCustomizedAccessLogTag() [1/2]

void Aws::S3::Model::PutBucketOwnershipControlsRequest::SetCustomizedAccessLogTag ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

Definition at line 257 of file PutBucketOwnershipControlsRequest.h.

◆ SetCustomizedAccessLogTag() [2/2]

void Aws::S3::Model::PutBucketOwnershipControlsRequest::SetCustomizedAccessLogTag ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

Definition at line 254 of file PutBucketOwnershipControlsRequest.h.

◆ SetExpectedBucketOwner() [1/3]

void Aws::S3::Model::PutBucketOwnershipControlsRequest::SetExpectedBucketOwner ( Aws::String &&  value)
inline

The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

Definition at line 179 of file PutBucketOwnershipControlsRequest.h.

◆ SetExpectedBucketOwner() [2/3]

void Aws::S3::Model::PutBucketOwnershipControlsRequest::SetExpectedBucketOwner ( const Aws::String value)
inline

The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

Definition at line 172 of file PutBucketOwnershipControlsRequest.h.

◆ SetExpectedBucketOwner() [3/3]

void Aws::S3::Model::PutBucketOwnershipControlsRequest::SetExpectedBucketOwner ( const char *  value)
inline

The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

Definition at line 186 of file PutBucketOwnershipControlsRequest.h.

◆ SetOwnershipControls() [1/2]

void Aws::S3::Model::PutBucketOwnershipControlsRequest::SetOwnershipControls ( const OwnershipControls value)
inline

The OwnershipControls (BucketOwnerPreferred or ObjectWriter) that you want to apply to this Amazon S3 bucket.

Definition at line 226 of file PutBucketOwnershipControlsRequest.h.

◆ SetOwnershipControls() [2/2]

void Aws::S3::Model::PutBucketOwnershipControlsRequest::SetOwnershipControls ( OwnershipControls &&  value)
inline

The OwnershipControls (BucketOwnerPreferred or ObjectWriter) that you want to apply to this Amazon S3 bucket.

Definition at line 232 of file PutBucketOwnershipControlsRequest.h.

◆ ShouldComputeContentMd5()

bool Aws::S3::Model::PutBucketOwnershipControlsRequest::ShouldComputeContentMd5 ( ) const
inlineoverridevirtual

If this is set to true, content-md5 needs to be computed and set on the request

Reimplemented from Aws::AmazonWebServiceRequest.

Definition at line 44 of file PutBucketOwnershipControlsRequest.h.

◆ WithBucket() [1/3]

PutBucketOwnershipControlsRequest& Aws::S3::Model::PutBucketOwnershipControlsRequest::WithBucket ( Aws::String &&  value)
inline

The name of the Amazon S3 bucket whose OwnershipControls you want to set.

Definition at line 87 of file PutBucketOwnershipControlsRequest.h.

◆ WithBucket() [2/3]

PutBucketOwnershipControlsRequest& Aws::S3::Model::PutBucketOwnershipControlsRequest::WithBucket ( const Aws::String value)
inline

The name of the Amazon S3 bucket whose OwnershipControls you want to set.

Definition at line 81 of file PutBucketOwnershipControlsRequest.h.

◆ WithBucket() [3/3]

PutBucketOwnershipControlsRequest& Aws::S3::Model::PutBucketOwnershipControlsRequest::WithBucket ( const char *  value)
inline

The name of the Amazon S3 bucket whose OwnershipControls you want to set.

Definition at line 93 of file PutBucketOwnershipControlsRequest.h.

◆ WithContentMD5() [1/3]

PutBucketOwnershipControlsRequest& Aws::S3::Model::PutBucketOwnershipControlsRequest::WithContentMD5 ( Aws::String &&  value)
inline

The MD5 hash of the OwnershipControls request body.

For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is calculated automatically.

Definition at line 143 of file PutBucketOwnershipControlsRequest.h.

◆ WithContentMD5() [2/3]

PutBucketOwnershipControlsRequest& Aws::S3::Model::PutBucketOwnershipControlsRequest::WithContentMD5 ( const Aws::String value)
inline

The MD5 hash of the OwnershipControls request body.

For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is calculated automatically.

Definition at line 136 of file PutBucketOwnershipControlsRequest.h.

◆ WithContentMD5() [3/3]

PutBucketOwnershipControlsRequest& Aws::S3::Model::PutBucketOwnershipControlsRequest::WithContentMD5 ( const char *  value)
inline

The MD5 hash of the OwnershipControls request body.

For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is calculated automatically.

Definition at line 150 of file PutBucketOwnershipControlsRequest.h.

◆ WithCustomizedAccessLogTag() [1/2]

PutBucketOwnershipControlsRequest& Aws::S3::Model::PutBucketOwnershipControlsRequest::WithCustomizedAccessLogTag ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

Definition at line 263 of file PutBucketOwnershipControlsRequest.h.

◆ WithCustomizedAccessLogTag() [2/2]

PutBucketOwnershipControlsRequest& Aws::S3::Model::PutBucketOwnershipControlsRequest::WithCustomizedAccessLogTag ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

Definition at line 260 of file PutBucketOwnershipControlsRequest.h.

◆ WithExpectedBucketOwner() [1/3]

PutBucketOwnershipControlsRequest& Aws::S3::Model::PutBucketOwnershipControlsRequest::WithExpectedBucketOwner ( Aws::String &&  value)
inline

The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

Definition at line 200 of file PutBucketOwnershipControlsRequest.h.

◆ WithExpectedBucketOwner() [2/3]

PutBucketOwnershipControlsRequest& Aws::S3::Model::PutBucketOwnershipControlsRequest::WithExpectedBucketOwner ( const Aws::String value)
inline

The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

Definition at line 193 of file PutBucketOwnershipControlsRequest.h.

◆ WithExpectedBucketOwner() [3/3]

PutBucketOwnershipControlsRequest& Aws::S3::Model::PutBucketOwnershipControlsRequest::WithExpectedBucketOwner ( const char *  value)
inline

The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

Definition at line 207 of file PutBucketOwnershipControlsRequest.h.

◆ WithOwnershipControls() [1/2]

PutBucketOwnershipControlsRequest& Aws::S3::Model::PutBucketOwnershipControlsRequest::WithOwnershipControls ( const OwnershipControls value)
inline

The OwnershipControls (BucketOwnerPreferred or ObjectWriter) that you want to apply to this Amazon S3 bucket.

Definition at line 238 of file PutBucketOwnershipControlsRequest.h.

◆ WithOwnershipControls() [2/2]

PutBucketOwnershipControlsRequest& Aws::S3::Model::PutBucketOwnershipControlsRequest::WithOwnershipControls ( OwnershipControls &&  value)
inline

The OwnershipControls (BucketOwnerPreferred or ObjectWriter) that you want to apply to this Amazon S3 bucket.

Definition at line 244 of file PutBucketOwnershipControlsRequest.h.


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