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

#include <PutObjectLegalHoldRequest.h>

+ Inheritance diagram for Aws::S3::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::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::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 28 of file PutObjectLegalHoldRequest.h.

Constructor & Destructor Documentation

◆ PutObjectLegalHoldRequest()

Aws::S3::Model::PutObjectLegalHoldRequest::PutObjectLegalHoldRequest ( )

Member Function Documentation

◆ AddCustomizedAccessLogTag() [1/7]

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

Definition at line 375 of file PutObjectLegalHoldRequest.h.

◆ AddCustomizedAccessLogTag() [2/7]

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

Definition at line 378 of file PutObjectLegalHoldRequest.h.

◆ AddCustomizedAccessLogTag() [3/7]

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

Definition at line 381 of file PutObjectLegalHoldRequest.h.

◆ AddCustomizedAccessLogTag() [4/7]

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

Definition at line 384 of file PutObjectLegalHoldRequest.h.

◆ AddCustomizedAccessLogTag() [5/7]

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

Definition at line 387 of file PutObjectLegalHoldRequest.h.

◆ AddCustomizedAccessLogTag() [6/7]

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

Definition at line 390 of file PutObjectLegalHoldRequest.h.

◆ AddCustomizedAccessLogTag() [7/7]

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

Definition at line 393 of file PutObjectLegalHoldRequest.h.

◆ AddQueryStringParameters()

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

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

When using this API 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 operation using 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 Simple Storage Service Developer Guide.

Definition at line 74 of file PutObjectLegalHoldRequest.h.

◆ CustomizedAccessLogTagHasBeenSet()

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

Definition at line 360 of file PutObjectLegalHoldRequest.h.

◆ ExpectedBucketOwnerHasBeenSet()

bool Aws::S3::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 311 of file PutObjectLegalHoldRequest.h.

◆ GetBucket()

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

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

When using this API 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 operation using 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 Simple Storage Service Developer Guide.

Definition at line 60 of file PutObjectLegalHoldRequest.h.

◆ GetCustomizedAccessLogTag()

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

Definition at line 357 of file PutObjectLegalHoldRequest.h.

◆ GetExpectedBucketOwner()

const Aws::String& Aws::S3::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 304 of file PutObjectLegalHoldRequest.h.

◆ GetKey()

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

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

Definition at line 164 of file PutObjectLegalHoldRequest.h.

◆ GetLegalHold()

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

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

Definition at line 206 of file PutObjectLegalHoldRequest.h.

◆ GetRequestPayer()

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

Definition at line 240 of file PutObjectLegalHoldRequest.h.

◆ GetRequestSpecificHeaders()

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

Reimplemented from Aws::S3::S3Request.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 37 of file PutObjectLegalHoldRequest.h.

◆ GetVersionId()

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

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

Definition at line 261 of file PutObjectLegalHoldRequest.h.

◆ KeyHasBeenSet()

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

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

Definition at line 169 of file PutObjectLegalHoldRequest.h.

◆ LegalHoldHasBeenSet()

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

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

Definition at line 212 of file PutObjectLegalHoldRequest.h.

◆ RequestPayerHasBeenSet()

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

Definition at line 243 of file PutObjectLegalHoldRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetBucket() [1/3]

void Aws::S3::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 API 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 operation using 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 Simple Storage Service Developer Guide.

Definition at line 88 of file PutObjectLegalHoldRequest.h.

◆ SetBucket() [2/3]

void Aws::S3::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 API 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 operation using 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 Simple Storage Service Developer Guide.

Definition at line 102 of file PutObjectLegalHoldRequest.h.

◆ SetBucket() [3/3]

void Aws::S3::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 API 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 operation using 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 Simple Storage Service Developer Guide.

Definition at line 116 of file PutObjectLegalHoldRequest.h.

◆ SetCustomizedAccessLogTag() [1/2]

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

Definition at line 363 of file PutObjectLegalHoldRequest.h.

◆ SetCustomizedAccessLogTag() [2/2]

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

Definition at line 366 of file PutObjectLegalHoldRequest.h.

◆ SetExpectedBucketOwner() [1/3]

void Aws::S3::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 318 of file PutObjectLegalHoldRequest.h.

◆ SetExpectedBucketOwner() [2/3]

void Aws::S3::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 325 of file PutObjectLegalHoldRequest.h.

◆ SetExpectedBucketOwner() [3/3]

void Aws::S3::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 332 of file PutObjectLegalHoldRequest.h.

◆ SetKey() [1/3]

void Aws::S3::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 174 of file PutObjectLegalHoldRequest.h.

◆ SetKey() [2/3]

void Aws::S3::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 179 of file PutObjectLegalHoldRequest.h.

◆ SetKey() [3/3]

void Aws::S3::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 184 of file PutObjectLegalHoldRequest.h.

◆ SetLegalHold() [1/2]

void Aws::S3::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 218 of file PutObjectLegalHoldRequest.h.

◆ SetLegalHold() [2/2]

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

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

Definition at line 224 of file PutObjectLegalHoldRequest.h.

◆ SetRequestPayer() [1/2]

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

Definition at line 246 of file PutObjectLegalHoldRequest.h.

◆ SetRequestPayer() [2/2]

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

Definition at line 249 of file PutObjectLegalHoldRequest.h.

◆ SetVersionId() [1/3]

void Aws::S3::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 271 of file PutObjectLegalHoldRequest.h.

◆ SetVersionId() [2/3]

void Aws::S3::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 276 of file PutObjectLegalHoldRequest.h.

◆ SetVersionId() [3/3]

void Aws::S3::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 281 of file PutObjectLegalHoldRequest.h.

◆ ShouldComputeContentMd5()

bool Aws::S3::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::S3::Model::PutObjectLegalHoldRequest::VersionIdHasBeenSet ( ) const
inline

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

Definition at line 266 of file PutObjectLegalHoldRequest.h.

◆ WithBucket() [1/3]

PutObjectLegalHoldRequest& Aws::S3::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 API 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 operation using 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 Simple Storage Service Developer Guide.

Definition at line 130 of file PutObjectLegalHoldRequest.h.

◆ WithBucket() [2/3]

PutObjectLegalHoldRequest& Aws::S3::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 API 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 operation using 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 Simple Storage Service Developer Guide.

Definition at line 144 of file PutObjectLegalHoldRequest.h.

◆ WithBucket() [3/3]

PutObjectLegalHoldRequest& Aws::S3::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 API 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 operation using 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 Simple Storage Service Developer Guide.

Definition at line 158 of file PutObjectLegalHoldRequest.h.

◆ WithCustomizedAccessLogTag() [1/2]

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

Definition at line 369 of file PutObjectLegalHoldRequest.h.

◆ WithCustomizedAccessLogTag() [2/2]

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

Definition at line 372 of file PutObjectLegalHoldRequest.h.

◆ WithExpectedBucketOwner() [1/3]

PutObjectLegalHoldRequest& Aws::S3::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 339 of file PutObjectLegalHoldRequest.h.

◆ WithExpectedBucketOwner() [2/3]

PutObjectLegalHoldRequest& Aws::S3::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 346 of file PutObjectLegalHoldRequest.h.

◆ WithExpectedBucketOwner() [3/3]

PutObjectLegalHoldRequest& Aws::S3::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 353 of file PutObjectLegalHoldRequest.h.

◆ WithKey() [1/3]

PutObjectLegalHoldRequest& Aws::S3::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 189 of file PutObjectLegalHoldRequest.h.

◆ WithKey() [2/3]

PutObjectLegalHoldRequest& Aws::S3::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 194 of file PutObjectLegalHoldRequest.h.

◆ WithKey() [3/3]

PutObjectLegalHoldRequest& Aws::S3::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 199 of file PutObjectLegalHoldRequest.h.

◆ WithLegalHold() [1/2]

PutObjectLegalHoldRequest& Aws::S3::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 230 of file PutObjectLegalHoldRequest.h.

◆ WithLegalHold() [2/2]

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

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

Definition at line 236 of file PutObjectLegalHoldRequest.h.

◆ WithRequestPayer() [1/2]

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

Definition at line 252 of file PutObjectLegalHoldRequest.h.

◆ WithRequestPayer() [2/2]

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

Definition at line 255 of file PutObjectLegalHoldRequest.h.

◆ WithVersionId() [1/3]

PutObjectLegalHoldRequest& Aws::S3::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 286 of file PutObjectLegalHoldRequest.h.

◆ WithVersionId() [2/3]

PutObjectLegalHoldRequest& Aws::S3::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 291 of file PutObjectLegalHoldRequest.h.

◆ WithVersionId() [3/3]

PutObjectLegalHoldRequest& Aws::S3::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 296 of file PutObjectLegalHoldRequest.h.


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