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

#include <PutBucketCorsRequest.h>

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

Public Member Functions

 PutBucketCorsRequest ()
 
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)
 
PutBucketCorsRequestWithBucket (const Aws::String &value)
 
PutBucketCorsRequestWithBucket (Aws::String &&value)
 
PutBucketCorsRequestWithBucket (const char *value)
 
const CORSConfigurationGetCORSConfiguration () const
 
bool CORSConfigurationHasBeenSet () const
 
void SetCORSConfiguration (const CORSConfiguration &value)
 
void SetCORSConfiguration (CORSConfiguration &&value)
 
PutBucketCorsRequestWithCORSConfiguration (const CORSConfiguration &value)
 
PutBucketCorsRequestWithCORSConfiguration (CORSConfiguration &&value)
 
const Aws::StringGetExpectedBucketOwner () const
 
bool ExpectedBucketOwnerHasBeenSet () const
 
void SetExpectedBucketOwner (const Aws::String &value)
 
void SetExpectedBucketOwner (Aws::String &&value)
 
void SetExpectedBucketOwner (const char *value)
 
PutBucketCorsRequestWithExpectedBucketOwner (const Aws::String &value)
 
PutBucketCorsRequestWithExpectedBucketOwner (Aws::String &&value)
 
PutBucketCorsRequestWithExpectedBucketOwner (const char *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)
 
PutBucketCorsRequestWithCustomizedAccessLogTag (const Aws::Map< Aws::String, Aws::String > &value)
 
PutBucketCorsRequestWithCustomizedAccessLogTag (Aws::Map< Aws::String, Aws::String > &&value)
 
PutBucketCorsRequestAddCustomizedAccessLogTag (const Aws::String &key, const Aws::String &value)
 
PutBucketCorsRequestAddCustomizedAccessLogTag (Aws::String &&key, const Aws::String &value)
 
PutBucketCorsRequestAddCustomizedAccessLogTag (const Aws::String &key, Aws::String &&value)
 
PutBucketCorsRequestAddCustomizedAccessLogTag (Aws::String &&key, Aws::String &&value)
 
PutBucketCorsRequestAddCustomizedAccessLogTag (const char *key, Aws::String &&value)
 
PutBucketCorsRequestAddCustomizedAccessLogTag (Aws::String &&key, const char *value)
 
PutBucketCorsRequestAddCustomizedAccessLogTag (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 PutBucketCorsRequest.h.

Constructor & Destructor Documentation

◆ PutBucketCorsRequest()

Aws::S3::Model::PutBucketCorsRequest::PutBucketCorsRequest ( )

Member Function Documentation

◆ AddCustomizedAccessLogTag() [1/7]

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

Definition at line 219 of file PutBucketCorsRequest.h.

◆ AddCustomizedAccessLogTag() [2/7]

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

Definition at line 222 of file PutBucketCorsRequest.h.

◆ AddCustomizedAccessLogTag() [3/7]

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

Definition at line 225 of file PutBucketCorsRequest.h.

◆ AddCustomizedAccessLogTag() [4/7]

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

Definition at line 228 of file PutBucketCorsRequest.h.

◆ AddCustomizedAccessLogTag() [5/7]

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

Definition at line 231 of file PutBucketCorsRequest.h.

◆ AddCustomizedAccessLogTag() [6/7]

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

Definition at line 234 of file PutBucketCorsRequest.h.

◆ AddCustomizedAccessLogTag() [7/7]

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

Definition at line 237 of file PutBucketCorsRequest.h.

◆ AddQueryStringParameters()

void Aws::S3::Model::PutBucketCorsRequest::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::PutBucketCorsRequest::BucketHasBeenSet ( ) const
inline

Specifies the bucket impacted by the corsconfiguration.

Definition at line 55 of file PutBucketCorsRequest.h.

◆ CORSConfigurationHasBeenSet()

bool Aws::S3::Model::PutBucketCorsRequest::CORSConfigurationHasBeenSet ( ) const
inline

Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see Enabling Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer Guide.

Definition at line 104 of file PutBucketCorsRequest.h.

◆ CustomizedAccessLogTagHasBeenSet()

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

Definition at line 204 of file PutBucketCorsRequest.h.

◆ ExpectedBucketOwnerHasBeenSet()

bool Aws::S3::Model::PutBucketCorsRequest::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 155 of file PutBucketCorsRequest.h.

◆ GetBucket()

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

Specifies the bucket impacted by the corsconfiguration.

Definition at line 50 of file PutBucketCorsRequest.h.

◆ GetCORSConfiguration()

const CORSConfiguration& Aws::S3::Model::PutBucketCorsRequest::GetCORSConfiguration ( ) const
inline

Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see Enabling Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer Guide.

Definition at line 95 of file PutBucketCorsRequest.h.

◆ GetCustomizedAccessLogTag()

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

Definition at line 201 of file PutBucketCorsRequest.h.

◆ GetExpectedBucketOwner()

const Aws::String& Aws::S3::Model::PutBucketCorsRequest::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 148 of file PutBucketCorsRequest.h.

◆ GetRequestSpecificHeaders()

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

Reimplemented from Aws::S3::S3Request.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 36 of file PutBucketCorsRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetBucket() [1/3]

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

Specifies the bucket impacted by the corsconfiguration.

Definition at line 60 of file PutBucketCorsRequest.h.

◆ SetBucket() [2/3]

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

Specifies the bucket impacted by the corsconfiguration.

Definition at line 65 of file PutBucketCorsRequest.h.

◆ SetBucket() [3/3]

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

Specifies the bucket impacted by the corsconfiguration.

Definition at line 70 of file PutBucketCorsRequest.h.

◆ SetCORSConfiguration() [1/2]

void Aws::S3::Model::PutBucketCorsRequest::SetCORSConfiguration ( const CORSConfiguration value)
inline

Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see Enabling Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer Guide.

Definition at line 113 of file PutBucketCorsRequest.h.

◆ SetCORSConfiguration() [2/2]

void Aws::S3::Model::PutBucketCorsRequest::SetCORSConfiguration ( CORSConfiguration &&  value)
inline

Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see Enabling Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer Guide.

Definition at line 122 of file PutBucketCorsRequest.h.

◆ SetCustomizedAccessLogTag() [1/2]

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

Definition at line 207 of file PutBucketCorsRequest.h.

◆ SetCustomizedAccessLogTag() [2/2]

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

Definition at line 210 of file PutBucketCorsRequest.h.

◆ SetExpectedBucketOwner() [1/3]

void Aws::S3::Model::PutBucketCorsRequest::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 162 of file PutBucketCorsRequest.h.

◆ SetExpectedBucketOwner() [2/3]

void Aws::S3::Model::PutBucketCorsRequest::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 169 of file PutBucketCorsRequest.h.

◆ SetExpectedBucketOwner() [3/3]

void Aws::S3::Model::PutBucketCorsRequest::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 176 of file PutBucketCorsRequest.h.

◆ ShouldComputeContentMd5()

bool Aws::S3::Model::PutBucketCorsRequest::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 PutBucketCorsRequest.h.

◆ WithBucket() [1/3]

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

Specifies the bucket impacted by the corsconfiguration.

Definition at line 75 of file PutBucketCorsRequest.h.

◆ WithBucket() [2/3]

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

Specifies the bucket impacted by the corsconfiguration.

Definition at line 80 of file PutBucketCorsRequest.h.

◆ WithBucket() [3/3]

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

Specifies the bucket impacted by the corsconfiguration.

Definition at line 85 of file PutBucketCorsRequest.h.

◆ WithCORSConfiguration() [1/2]

PutBucketCorsRequest& Aws::S3::Model::PutBucketCorsRequest::WithCORSConfiguration ( const CORSConfiguration value)
inline

Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see Enabling Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer Guide.

Definition at line 131 of file PutBucketCorsRequest.h.

◆ WithCORSConfiguration() [2/2]

PutBucketCorsRequest& Aws::S3::Model::PutBucketCorsRequest::WithCORSConfiguration ( CORSConfiguration &&  value)
inline

Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see Enabling Cross-Origin Resource Sharing in the Amazon Simple Storage Service Developer Guide.

Definition at line 140 of file PutBucketCorsRequest.h.

◆ WithCustomizedAccessLogTag() [1/2]

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

Definition at line 213 of file PutBucketCorsRequest.h.

◆ WithCustomizedAccessLogTag() [2/2]

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

Definition at line 216 of file PutBucketCorsRequest.h.

◆ WithExpectedBucketOwner() [1/3]

PutBucketCorsRequest& Aws::S3::Model::PutBucketCorsRequest::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 183 of file PutBucketCorsRequest.h.

◆ WithExpectedBucketOwner() [2/3]

PutBucketCorsRequest& Aws::S3::Model::PutBucketCorsRequest::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 190 of file PutBucketCorsRequest.h.

◆ WithExpectedBucketOwner() [3/3]

PutBucketCorsRequest& Aws::S3::Model::PutBucketCorsRequest::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 197 of file PutBucketCorsRequest.h.


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