AWS SDK for C++  1.9.66
AWS SDK for C++
Public Member Functions | List of all members
Aws::S3Crt::Model::PutObjectLegalHoldRequest Class Reference

#include <PutObjectLegalHoldRequest.h>

+ Inheritance diagram for Aws::S3Crt::Model::PutObjectLegalHoldRequest:

Public Member Functions

 PutObjectLegalHoldRequest ()
 
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)
 
PutObjectLegalHoldRequestWithBucket (const Aws::String &value)
 
PutObjectLegalHoldRequestWithBucket (Aws::String &&value)
 
PutObjectLegalHoldRequestWithBucket (const char *value)
 
const Aws::StringGetKey () const
 
bool KeyHasBeenSet () const
 
void SetKey (const Aws::String &value)
 
void SetKey (Aws::String &&value)
 
void SetKey (const char *value)
 
PutObjectLegalHoldRequestWithKey (const Aws::String &value)
 
PutObjectLegalHoldRequestWithKey (Aws::String &&value)
 
PutObjectLegalHoldRequestWithKey (const char *value)
 
const ObjectLockLegalHoldGetLegalHold () const
 
bool LegalHoldHasBeenSet () const
 
void SetLegalHold (const ObjectLockLegalHold &value)
 
void SetLegalHold (ObjectLockLegalHold &&value)
 
PutObjectLegalHoldRequestWithLegalHold (const ObjectLockLegalHold &value)
 
PutObjectLegalHoldRequestWithLegalHold (ObjectLockLegalHold &&value)
 
const RequestPayerGetRequestPayer () const
 
bool RequestPayerHasBeenSet () const
 
void SetRequestPayer (const RequestPayer &value)
 
void SetRequestPayer (RequestPayer &&value)
 
PutObjectLegalHoldRequestWithRequestPayer (const RequestPayer &value)
 
PutObjectLegalHoldRequestWithRequestPayer (RequestPayer &&value)
 
const Aws::StringGetVersionId () const
 
bool VersionIdHasBeenSet () const
 
void SetVersionId (const Aws::String &value)
 
void SetVersionId (Aws::String &&value)
 
void SetVersionId (const char *value)
 
PutObjectLegalHoldRequestWithVersionId (const Aws::String &value)
 
PutObjectLegalHoldRequestWithVersionId (Aws::String &&value)
 
PutObjectLegalHoldRequestWithVersionId (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)
 
PutObjectLegalHoldRequestWithContentMD5 (const Aws::String &value)
 
PutObjectLegalHoldRequestWithContentMD5 (Aws::String &&value)
 
PutObjectLegalHoldRequestWithContentMD5 (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)
 
PutObjectLegalHoldRequestWithExpectedBucketOwner (const Aws::String &value)
 
PutObjectLegalHoldRequestWithExpectedBucketOwner (Aws::String &&value)
 
PutObjectLegalHoldRequestWithExpectedBucketOwner (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)
 
PutObjectLegalHoldRequestWithCustomizedAccessLogTag (const Aws::Map< Aws::String, Aws::String > &value)
 
PutObjectLegalHoldRequestWithCustomizedAccessLogTag (Aws::Map< Aws::String, Aws::String > &&value)
 
PutObjectLegalHoldRequestAddCustomizedAccessLogTag (const Aws::String &key, const Aws::String &value)
 
PutObjectLegalHoldRequestAddCustomizedAccessLogTag (Aws::String &&key, const Aws::String &value)
 
PutObjectLegalHoldRequestAddCustomizedAccessLogTag (const Aws::String &key, Aws::String &&value)
 
PutObjectLegalHoldRequestAddCustomizedAccessLogTag (Aws::String &&key, Aws::String &&value)
 
PutObjectLegalHoldRequestAddCustomizedAccessLogTag (const char *key, Aws::String &&value)
 
PutObjectLegalHoldRequestAddCustomizedAccessLogTag (Aws::String &&key, const char *value)
 
PutObjectLegalHoldRequestAddCustomizedAccessLogTag (const char *key, const char *value)
 
- Public Member Functions inherited from Aws::S3Crt::S3CrtRequest
virtual ~S3CrtRequest ()
 
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 28 of file PutObjectLegalHoldRequest.h.

Constructor & Destructor Documentation

◆ PutObjectLegalHoldRequest()

Aws::S3Crt::Model::PutObjectLegalHoldRequest::PutObjectLegalHoldRequest ( )

Member Function Documentation

◆ AddCustomizedAccessLogTag() [1/7]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::AddCustomizedAccessLogTag ( Aws::String &&  key,
Aws::String &&  value 
)
inline

Definition at line 433 of file PutObjectLegalHoldRequest.h.

◆ AddCustomizedAccessLogTag() [2/7]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::AddCustomizedAccessLogTag ( Aws::String &&  key,
const Aws::String value 
)
inline

Definition at line 427 of file PutObjectLegalHoldRequest.h.

◆ AddCustomizedAccessLogTag() [3/7]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::AddCustomizedAccessLogTag ( Aws::String &&  key,
const char *  value 
)
inline

Definition at line 439 of file PutObjectLegalHoldRequest.h.

◆ AddCustomizedAccessLogTag() [4/7]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::AddCustomizedAccessLogTag ( const Aws::String key,
Aws::String &&  value 
)
inline

Definition at line 430 of file PutObjectLegalHoldRequest.h.

◆ AddCustomizedAccessLogTag() [5/7]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::AddCustomizedAccessLogTag ( const Aws::String key,
const Aws::String value 
)
inline

Definition at line 424 of file PutObjectLegalHoldRequest.h.

◆ AddCustomizedAccessLogTag() [6/7]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::AddCustomizedAccessLogTag ( const char *  key,
Aws::String &&  value 
)
inline

Definition at line 436 of file PutObjectLegalHoldRequest.h.

◆ AddCustomizedAccessLogTag() [7/7]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::AddCustomizedAccessLogTag ( const char *  key,
const char *  value 
)
inline

Definition at line 442 of file PutObjectLegalHoldRequest.h.

◆ AddQueryStringParameters()

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

The bucket name containing the object that you want to place a Legal Hold on.

When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

Definition at line 72 of file PutObjectLegalHoldRequest.h.

◆ ContentMD5HasBeenSet()

bool Aws::S3Crt::Model::PutObjectLegalHoldRequest::ContentMD5HasBeenSet ( ) const
inline

The MD5 hash for the request body.

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

Definition at line 303 of file PutObjectLegalHoldRequest.h.

◆ CustomizedAccessLogTagHasBeenSet()

bool Aws::S3Crt::Model::PutObjectLegalHoldRequest::CustomizedAccessLogTagHasBeenSet ( ) const
inline

Definition at line 409 of file PutObjectLegalHoldRequest.h.

◆ ExpectedBucketOwnerHasBeenSet()

bool Aws::S3Crt::Model::PutObjectLegalHoldRequest::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 360 of file PutObjectLegalHoldRequest.h.

◆ GetBucket()

const Aws::String& Aws::S3Crt::Model::PutObjectLegalHoldRequest::GetBucket ( ) const
inline

The bucket name containing the object that you want to place a Legal Hold on.

When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

Definition at line 59 of file PutObjectLegalHoldRequest.h.

◆ GetContentMD5()

const Aws::String& Aws::S3Crt::Model::PutObjectLegalHoldRequest::GetContentMD5 ( ) const
inline

The MD5 hash for the request body.

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

Definition at line 296 of file PutObjectLegalHoldRequest.h.

◆ GetCustomizedAccessLogTag()

const Aws::Map<Aws::String, Aws::String>& Aws::S3Crt::Model::PutObjectLegalHoldRequest::GetCustomizedAccessLogTag ( ) const
inline

Definition at line 406 of file PutObjectLegalHoldRequest.h.

◆ GetExpectedBucketOwner()

const Aws::String& Aws::S3Crt::Model::PutObjectLegalHoldRequest::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 353 of file PutObjectLegalHoldRequest.h.

◆ GetKey()

const Aws::String& Aws::S3Crt::Model::PutObjectLegalHoldRequest::GetKey ( ) const
inline

The key name for the object that you want to place a Legal Hold on.

Definition at line 156 of file PutObjectLegalHoldRequest.h.

◆ GetLegalHold()

const ObjectLockLegalHold& Aws::S3Crt::Model::PutObjectLegalHoldRequest::GetLegalHold ( ) const
inline

Container element for the Legal Hold configuration you want to apply to the specified object.

Definition at line 198 of file PutObjectLegalHoldRequest.h.

◆ GetRequestPayer()

const RequestPayer& Aws::S3Crt::Model::PutObjectLegalHoldRequest::GetRequestPayer ( ) const
inline

Definition at line 232 of file PutObjectLegalHoldRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::S3Crt::Model::PutObjectLegalHoldRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::S3Crt::S3CrtRequest.

◆ GetServiceRequestName()

virtual const char* Aws::S3Crt::Model::PutObjectLegalHoldRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 37 of file PutObjectLegalHoldRequest.h.

◆ GetVersionId()

const Aws::String& Aws::S3Crt::Model::PutObjectLegalHoldRequest::GetVersionId ( ) const
inline

The version ID of the object that you want to place a Legal Hold on.

Definition at line 253 of file PutObjectLegalHoldRequest.h.

◆ KeyHasBeenSet()

bool Aws::S3Crt::Model::PutObjectLegalHoldRequest::KeyHasBeenSet ( ) const
inline

The key name for the object that you want to place a Legal Hold on.

Definition at line 161 of file PutObjectLegalHoldRequest.h.

◆ LegalHoldHasBeenSet()

bool Aws::S3Crt::Model::PutObjectLegalHoldRequest::LegalHoldHasBeenSet ( ) const
inline

Container element for the Legal Hold configuration you want to apply to the specified object.

Definition at line 204 of file PutObjectLegalHoldRequest.h.

◆ RequestPayerHasBeenSet()

bool Aws::S3Crt::Model::PutObjectLegalHoldRequest::RequestPayerHasBeenSet ( ) const
inline

Definition at line 235 of file PutObjectLegalHoldRequest.h.

◆ SerializePayload()

Aws::String Aws::S3Crt::Model::PutObjectLegalHoldRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetBucket() [1/3]

void Aws::S3Crt::Model::PutObjectLegalHoldRequest::SetBucket ( Aws::String &&  value)
inline

The bucket name containing the object that you want to place a Legal Hold on.

When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

Definition at line 98 of file PutObjectLegalHoldRequest.h.

◆ SetBucket() [2/3]

void Aws::S3Crt::Model::PutObjectLegalHoldRequest::SetBucket ( const Aws::String value)
inline

The bucket name containing the object that you want to place a Legal Hold on.

When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

Definition at line 85 of file PutObjectLegalHoldRequest.h.

◆ SetBucket() [3/3]

void Aws::S3Crt::Model::PutObjectLegalHoldRequest::SetBucket ( const char *  value)
inline

The bucket name containing the object that you want to place a Legal Hold on.

When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

Definition at line 111 of file PutObjectLegalHoldRequest.h.

◆ SetContentMD5() [1/3]

void Aws::S3Crt::Model::PutObjectLegalHoldRequest::SetContentMD5 ( Aws::String &&  value)
inline

The MD5 hash for the request body.

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

Definition at line 317 of file PutObjectLegalHoldRequest.h.

◆ SetContentMD5() [2/3]

void Aws::S3Crt::Model::PutObjectLegalHoldRequest::SetContentMD5 ( const Aws::String value)
inline

The MD5 hash for the request body.

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

Definition at line 310 of file PutObjectLegalHoldRequest.h.

◆ SetContentMD5() [3/3]

void Aws::S3Crt::Model::PutObjectLegalHoldRequest::SetContentMD5 ( const char *  value)
inline

The MD5 hash for the request body.

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

Definition at line 324 of file PutObjectLegalHoldRequest.h.

◆ SetCustomizedAccessLogTag() [1/2]

void Aws::S3Crt::Model::PutObjectLegalHoldRequest::SetCustomizedAccessLogTag ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

Definition at line 415 of file PutObjectLegalHoldRequest.h.

◆ SetCustomizedAccessLogTag() [2/2]

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

Definition at line 412 of file PutObjectLegalHoldRequest.h.

◆ SetExpectedBucketOwner() [1/3]

void Aws::S3Crt::Model::PutObjectLegalHoldRequest::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 374 of file PutObjectLegalHoldRequest.h.

◆ SetExpectedBucketOwner() [2/3]

void Aws::S3Crt::Model::PutObjectLegalHoldRequest::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 367 of file PutObjectLegalHoldRequest.h.

◆ SetExpectedBucketOwner() [3/3]

void Aws::S3Crt::Model::PutObjectLegalHoldRequest::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 381 of file PutObjectLegalHoldRequest.h.

◆ SetKey() [1/3]

void Aws::S3Crt::Model::PutObjectLegalHoldRequest::SetKey ( Aws::String &&  value)
inline

The key name for the object that you want to place a Legal Hold on.

Definition at line 171 of file PutObjectLegalHoldRequest.h.

◆ SetKey() [2/3]

void Aws::S3Crt::Model::PutObjectLegalHoldRequest::SetKey ( const Aws::String value)
inline

The key name for the object that you want to place a Legal Hold on.

Definition at line 166 of file PutObjectLegalHoldRequest.h.

◆ SetKey() [3/3]

void Aws::S3Crt::Model::PutObjectLegalHoldRequest::SetKey ( const char *  value)
inline

The key name for the object that you want to place a Legal Hold on.

Definition at line 176 of file PutObjectLegalHoldRequest.h.

◆ SetLegalHold() [1/2]

void Aws::S3Crt::Model::PutObjectLegalHoldRequest::SetLegalHold ( const ObjectLockLegalHold value)
inline

Container element for the Legal Hold configuration you want to apply to the specified object.

Definition at line 210 of file PutObjectLegalHoldRequest.h.

◆ SetLegalHold() [2/2]

void Aws::S3Crt::Model::PutObjectLegalHoldRequest::SetLegalHold ( ObjectLockLegalHold &&  value)
inline

Container element for the Legal Hold configuration you want to apply to the specified object.

Definition at line 216 of file PutObjectLegalHoldRequest.h.

◆ SetRequestPayer() [1/2]

void Aws::S3Crt::Model::PutObjectLegalHoldRequest::SetRequestPayer ( const RequestPayer value)
inline

Definition at line 238 of file PutObjectLegalHoldRequest.h.

◆ SetRequestPayer() [2/2]

void Aws::S3Crt::Model::PutObjectLegalHoldRequest::SetRequestPayer ( RequestPayer &&  value)
inline

Definition at line 241 of file PutObjectLegalHoldRequest.h.

◆ SetVersionId() [1/3]

void Aws::S3Crt::Model::PutObjectLegalHoldRequest::SetVersionId ( Aws::String &&  value)
inline

The version ID of the object that you want to place a Legal Hold on.

Definition at line 268 of file PutObjectLegalHoldRequest.h.

◆ SetVersionId() [2/3]

void Aws::S3Crt::Model::PutObjectLegalHoldRequest::SetVersionId ( const Aws::String value)
inline

The version ID of the object that you want to place a Legal Hold on.

Definition at line 263 of file PutObjectLegalHoldRequest.h.

◆ SetVersionId() [3/3]

void Aws::S3Crt::Model::PutObjectLegalHoldRequest::SetVersionId ( const char *  value)
inline

The version ID of the object that you want to place a Legal Hold on.

Definition at line 273 of file PutObjectLegalHoldRequest.h.

◆ ShouldComputeContentMd5()

bool Aws::S3Crt::Model::PutObjectLegalHoldRequest::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 45 of file PutObjectLegalHoldRequest.h.

◆ VersionIdHasBeenSet()

bool Aws::S3Crt::Model::PutObjectLegalHoldRequest::VersionIdHasBeenSet ( ) const
inline

The version ID of the object that you want to place a Legal Hold on.

Definition at line 258 of file PutObjectLegalHoldRequest.h.

◆ WithBucket() [1/3]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::WithBucket ( Aws::String &&  value)
inline

The bucket name containing the object that you want to place a Legal Hold on.

When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

Definition at line 137 of file PutObjectLegalHoldRequest.h.

◆ WithBucket() [2/3]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::WithBucket ( const Aws::String value)
inline

The bucket name containing the object that you want to place a Legal Hold on.

When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

Definition at line 124 of file PutObjectLegalHoldRequest.h.

◆ WithBucket() [3/3]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::WithBucket ( const char *  value)
inline

The bucket name containing the object that you want to place a Legal Hold on.

When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

Definition at line 150 of file PutObjectLegalHoldRequest.h.

◆ WithContentMD5() [1/3]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::WithContentMD5 ( Aws::String &&  value)
inline

The MD5 hash for the request body.

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

Definition at line 338 of file PutObjectLegalHoldRequest.h.

◆ WithContentMD5() [2/3]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::WithContentMD5 ( const Aws::String value)
inline

The MD5 hash for the request body.

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

Definition at line 331 of file PutObjectLegalHoldRequest.h.

◆ WithContentMD5() [3/3]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::WithContentMD5 ( const char *  value)
inline

The MD5 hash for the request body.

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

Definition at line 345 of file PutObjectLegalHoldRequest.h.

◆ WithCustomizedAccessLogTag() [1/2]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::WithCustomizedAccessLogTag ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

Definition at line 421 of file PutObjectLegalHoldRequest.h.

◆ WithCustomizedAccessLogTag() [2/2]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::WithCustomizedAccessLogTag ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

Definition at line 418 of file PutObjectLegalHoldRequest.h.

◆ WithExpectedBucketOwner() [1/3]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::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 395 of file PutObjectLegalHoldRequest.h.

◆ WithExpectedBucketOwner() [2/3]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::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 388 of file PutObjectLegalHoldRequest.h.

◆ WithExpectedBucketOwner() [3/3]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::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 402 of file PutObjectLegalHoldRequest.h.

◆ WithKey() [1/3]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::WithKey ( Aws::String &&  value)
inline

The key name for the object that you want to place a Legal Hold on.

Definition at line 186 of file PutObjectLegalHoldRequest.h.

◆ WithKey() [2/3]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::WithKey ( const Aws::String value)
inline

The key name for the object that you want to place a Legal Hold on.

Definition at line 181 of file PutObjectLegalHoldRequest.h.

◆ WithKey() [3/3]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::WithKey ( const char *  value)
inline

The key name for the object that you want to place a Legal Hold on.

Definition at line 191 of file PutObjectLegalHoldRequest.h.

◆ WithLegalHold() [1/2]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::WithLegalHold ( const ObjectLockLegalHold value)
inline

Container element for the Legal Hold configuration you want to apply to the specified object.

Definition at line 222 of file PutObjectLegalHoldRequest.h.

◆ WithLegalHold() [2/2]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::WithLegalHold ( ObjectLockLegalHold &&  value)
inline

Container element for the Legal Hold configuration you want to apply to the specified object.

Definition at line 228 of file PutObjectLegalHoldRequest.h.

◆ WithRequestPayer() [1/2]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::WithRequestPayer ( const RequestPayer value)
inline

Definition at line 244 of file PutObjectLegalHoldRequest.h.

◆ WithRequestPayer() [2/2]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::WithRequestPayer ( RequestPayer &&  value)
inline

Definition at line 247 of file PutObjectLegalHoldRequest.h.

◆ WithVersionId() [1/3]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::WithVersionId ( Aws::String &&  value)
inline

The version ID of the object that you want to place a Legal Hold on.

Definition at line 283 of file PutObjectLegalHoldRequest.h.

◆ WithVersionId() [2/3]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::WithVersionId ( const Aws::String value)
inline

The version ID of the object that you want to place a Legal Hold on.

Definition at line 278 of file PutObjectLegalHoldRequest.h.

◆ WithVersionId() [3/3]

PutObjectLegalHoldRequest& Aws::S3Crt::Model::PutObjectLegalHoldRequest::WithVersionId ( const char *  value)
inline

The version ID of the object that you want to place a Legal Hold on.

Definition at line 288 of file PutObjectLegalHoldRequest.h.


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