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

#include <PutObjectRetentionRequest.h>

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

Public Member Functions

 PutObjectRetentionRequest ()
 
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)
 
PutObjectRetentionRequestWithBucket (const Aws::String &value)
 
PutObjectRetentionRequestWithBucket (Aws::String &&value)
 
PutObjectRetentionRequestWithBucket (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)
 
PutObjectRetentionRequestWithKey (const Aws::String &value)
 
PutObjectRetentionRequestWithKey (Aws::String &&value)
 
PutObjectRetentionRequestWithKey (const char *value)
 
const ObjectLockRetentionGetRetention () const
 
bool RetentionHasBeenSet () const
 
void SetRetention (const ObjectLockRetention &value)
 
void SetRetention (ObjectLockRetention &&value)
 
PutObjectRetentionRequestWithRetention (const ObjectLockRetention &value)
 
PutObjectRetentionRequestWithRetention (ObjectLockRetention &&value)
 
const RequestPayerGetRequestPayer () const
 
bool RequestPayerHasBeenSet () const
 
void SetRequestPayer (const RequestPayer &value)
 
void SetRequestPayer (RequestPayer &&value)
 
PutObjectRetentionRequestWithRequestPayer (const RequestPayer &value)
 
PutObjectRetentionRequestWithRequestPayer (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)
 
PutObjectRetentionRequestWithVersionId (const Aws::String &value)
 
PutObjectRetentionRequestWithVersionId (Aws::String &&value)
 
PutObjectRetentionRequestWithVersionId (const char *value)
 
bool GetBypassGovernanceRetention () const
 
bool BypassGovernanceRetentionHasBeenSet () const
 
void SetBypassGovernanceRetention (bool value)
 
PutObjectRetentionRequestWithBypassGovernanceRetention (bool 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)
 
PutObjectRetentionRequestWithCustomizedAccessLogTag (const Aws::Map< Aws::String, Aws::String > &value)
 
PutObjectRetentionRequestWithCustomizedAccessLogTag (Aws::Map< Aws::String, Aws::String > &&value)
 
PutObjectRetentionRequestAddCustomizedAccessLogTag (const Aws::String &key, const Aws::String &value)
 
PutObjectRetentionRequestAddCustomizedAccessLogTag (Aws::String &&key, const Aws::String &value)
 
PutObjectRetentionRequestAddCustomizedAccessLogTag (const Aws::String &key, Aws::String &&value)
 
PutObjectRetentionRequestAddCustomizedAccessLogTag (Aws::String &&key, Aws::String &&value)
 
PutObjectRetentionRequestAddCustomizedAccessLogTag (const char *key, Aws::String &&value)
 
PutObjectRetentionRequestAddCustomizedAccessLogTag (Aws::String &&key, const char *value)
 
PutObjectRetentionRequestAddCustomizedAccessLogTag (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 PutObjectRetentionRequest.h.

Constructor & Destructor Documentation

◆ PutObjectRetentionRequest()

Aws::S3::Model::PutObjectRetentionRequest::PutObjectRetentionRequest ( )

Member Function Documentation

◆ AddCustomizedAccessLogTag() [1/7]

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

Definition at line 361 of file PutObjectRetentionRequest.h.

◆ AddCustomizedAccessLogTag() [2/7]

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

Definition at line 364 of file PutObjectRetentionRequest.h.

◆ AddCustomizedAccessLogTag() [3/7]

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

Definition at line 367 of file PutObjectRetentionRequest.h.

◆ AddCustomizedAccessLogTag() [4/7]

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

Definition at line 370 of file PutObjectRetentionRequest.h.

◆ AddCustomizedAccessLogTag() [5/7]

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

Definition at line 373 of file PutObjectRetentionRequest.h.

◆ AddCustomizedAccessLogTag() [6/7]

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

Definition at line 376 of file PutObjectRetentionRequest.h.

◆ AddCustomizedAccessLogTag() [7/7]

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

Definition at line 379 of file PutObjectRetentionRequest.h.

◆ AddQueryStringParameters()

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

The bucket name that contains the object you want to apply this Object Retention configuration to.

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 76 of file PutObjectRetentionRequest.h.

◆ BypassGovernanceRetentionHasBeenSet()

bool Aws::S3::Model::PutObjectRetentionRequest::BypassGovernanceRetentionHasBeenSet ( ) const
inline

Indicates whether this operation should bypass Governance-mode restrictions.

Definition at line 327 of file PutObjectRetentionRequest.h.

◆ CustomizedAccessLogTagHasBeenSet()

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

Definition at line 346 of file PutObjectRetentionRequest.h.

◆ GetBucket()

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

The bucket name that contains the object you want to apply this Object Retention configuration to.

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 61 of file PutObjectRetentionRequest.h.

◆ GetBypassGovernanceRetention()

bool Aws::S3::Model::PutObjectRetentionRequest::GetBypassGovernanceRetention ( ) const
inline

Indicates whether this operation should bypass Governance-mode restrictions.

Definition at line 321 of file PutObjectRetentionRequest.h.

◆ GetCustomizedAccessLogTag()

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

Definition at line 343 of file PutObjectRetentionRequest.h.

◆ GetKey()

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

The key name for the object that you want to apply this Object Retention configuration to.

Definition at line 173 of file PutObjectRetentionRequest.h.

◆ GetRequestPayer()

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

Definition at line 250 of file PutObjectRetentionRequest.h.

◆ GetRequestSpecificHeaders()

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

Reimplemented from Aws::S3::S3Request.

◆ GetRetention()

const ObjectLockRetention& Aws::S3::Model::PutObjectRetentionRequest::GetRetention ( ) const
inline

The container element for the Object Retention configuration.

Definition at line 221 of file PutObjectRetentionRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 37 of file PutObjectRetentionRequest.h.

◆ GetVersionId()

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

The version ID for the object that you want to apply this Object Retention configuration to.

Definition at line 272 of file PutObjectRetentionRequest.h.

◆ KeyHasBeenSet()

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

The key name for the object that you want to apply this Object Retention configuration to.

Definition at line 179 of file PutObjectRetentionRequest.h.

◆ RequestPayerHasBeenSet()

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

Definition at line 253 of file PutObjectRetentionRequest.h.

◆ RetentionHasBeenSet()

bool Aws::S3::Model::PutObjectRetentionRequest::RetentionHasBeenSet ( ) const
inline

The container element for the Object Retention configuration.

Definition at line 226 of file PutObjectRetentionRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetBucket() [1/3]

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

The bucket name that contains the object you want to apply this Object Retention configuration to.

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 91 of file PutObjectRetentionRequest.h.

◆ SetBucket() [2/3]

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

The bucket name that contains the object you want to apply this Object Retention configuration to.

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 106 of file PutObjectRetentionRequest.h.

◆ SetBucket() [3/3]

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

The bucket name that contains the object you want to apply this Object Retention configuration to.

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 121 of file PutObjectRetentionRequest.h.

◆ SetBypassGovernanceRetention()

void Aws::S3::Model::PutObjectRetentionRequest::SetBypassGovernanceRetention ( bool  value)
inline

Indicates whether this operation should bypass Governance-mode restrictions.

Definition at line 333 of file PutObjectRetentionRequest.h.

◆ SetCustomizedAccessLogTag() [1/2]

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

Definition at line 349 of file PutObjectRetentionRequest.h.

◆ SetCustomizedAccessLogTag() [2/2]

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

Definition at line 352 of file PutObjectRetentionRequest.h.

◆ SetKey() [1/3]

void Aws::S3::Model::PutObjectRetentionRequest::SetKey ( const Aws::String value)
inline

The key name for the object that you want to apply this Object Retention configuration to.

Definition at line 185 of file PutObjectRetentionRequest.h.

◆ SetKey() [2/3]

void Aws::S3::Model::PutObjectRetentionRequest::SetKey ( Aws::String &&  value)
inline

The key name for the object that you want to apply this Object Retention configuration to.

Definition at line 191 of file PutObjectRetentionRequest.h.

◆ SetKey() [3/3]

void Aws::S3::Model::PutObjectRetentionRequest::SetKey ( const char *  value)
inline

The key name for the object that you want to apply this Object Retention configuration to.

Definition at line 197 of file PutObjectRetentionRequest.h.

◆ SetRequestPayer() [1/2]

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

Definition at line 256 of file PutObjectRetentionRequest.h.

◆ SetRequestPayer() [2/2]

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

Definition at line 259 of file PutObjectRetentionRequest.h.

◆ SetRetention() [1/2]

void Aws::S3::Model::PutObjectRetentionRequest::SetRetention ( const ObjectLockRetention value)
inline

The container element for the Object Retention configuration.

Definition at line 231 of file PutObjectRetentionRequest.h.

◆ SetRetention() [2/2]

void Aws::S3::Model::PutObjectRetentionRequest::SetRetention ( ObjectLockRetention &&  value)
inline

The container element for the Object Retention configuration.

Definition at line 236 of file PutObjectRetentionRequest.h.

◆ SetVersionId() [1/3]

void Aws::S3::Model::PutObjectRetentionRequest::SetVersionId ( const Aws::String value)
inline

The version ID for the object that you want to apply this Object Retention configuration to.

Definition at line 284 of file PutObjectRetentionRequest.h.

◆ SetVersionId() [2/3]

void Aws::S3::Model::PutObjectRetentionRequest::SetVersionId ( Aws::String &&  value)
inline

The version ID for the object that you want to apply this Object Retention configuration to.

Definition at line 290 of file PutObjectRetentionRequest.h.

◆ SetVersionId() [3/3]

void Aws::S3::Model::PutObjectRetentionRequest::SetVersionId ( const char *  value)
inline

The version ID for the object that you want to apply this Object Retention configuration to.

Definition at line 296 of file PutObjectRetentionRequest.h.

◆ ShouldComputeContentMd5()

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

◆ VersionIdHasBeenSet()

bool Aws::S3::Model::PutObjectRetentionRequest::VersionIdHasBeenSet ( ) const
inline

The version ID for the object that you want to apply this Object Retention configuration to.

Definition at line 278 of file PutObjectRetentionRequest.h.

◆ WithBucket() [1/3]

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

The bucket name that contains the object you want to apply this Object Retention configuration to.

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 136 of file PutObjectRetentionRequest.h.

◆ WithBucket() [2/3]

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

The bucket name that contains the object you want to apply this Object Retention configuration to.

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 151 of file PutObjectRetentionRequest.h.

◆ WithBucket() [3/3]

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

The bucket name that contains the object you want to apply this Object Retention configuration to.

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 166 of file PutObjectRetentionRequest.h.

◆ WithBypassGovernanceRetention()

PutObjectRetentionRequest& Aws::S3::Model::PutObjectRetentionRequest::WithBypassGovernanceRetention ( bool  value)
inline

Indicates whether this operation should bypass Governance-mode restrictions.

Definition at line 339 of file PutObjectRetentionRequest.h.

◆ WithCustomizedAccessLogTag() [1/2]

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

Definition at line 355 of file PutObjectRetentionRequest.h.

◆ WithCustomizedAccessLogTag() [2/2]

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

Definition at line 358 of file PutObjectRetentionRequest.h.

◆ WithKey() [1/3]

PutObjectRetentionRequest& Aws::S3::Model::PutObjectRetentionRequest::WithKey ( const Aws::String value)
inline

The key name for the object that you want to apply this Object Retention configuration to.

Definition at line 203 of file PutObjectRetentionRequest.h.

◆ WithKey() [2/3]

PutObjectRetentionRequest& Aws::S3::Model::PutObjectRetentionRequest::WithKey ( Aws::String &&  value)
inline

The key name for the object that you want to apply this Object Retention configuration to.

Definition at line 209 of file PutObjectRetentionRequest.h.

◆ WithKey() [3/3]

PutObjectRetentionRequest& Aws::S3::Model::PutObjectRetentionRequest::WithKey ( const char *  value)
inline

The key name for the object that you want to apply this Object Retention configuration to.

Definition at line 215 of file PutObjectRetentionRequest.h.

◆ WithRequestPayer() [1/2]

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

Definition at line 262 of file PutObjectRetentionRequest.h.

◆ WithRequestPayer() [2/2]

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

Definition at line 265 of file PutObjectRetentionRequest.h.

◆ WithRetention() [1/2]

PutObjectRetentionRequest& Aws::S3::Model::PutObjectRetentionRequest::WithRetention ( const ObjectLockRetention value)
inline

The container element for the Object Retention configuration.

Definition at line 241 of file PutObjectRetentionRequest.h.

◆ WithRetention() [2/2]

PutObjectRetentionRequest& Aws::S3::Model::PutObjectRetentionRequest::WithRetention ( ObjectLockRetention &&  value)
inline

The container element for the Object Retention configuration.

Definition at line 246 of file PutObjectRetentionRequest.h.

◆ WithVersionId() [1/3]

PutObjectRetentionRequest& Aws::S3::Model::PutObjectRetentionRequest::WithVersionId ( const Aws::String value)
inline

The version ID for the object that you want to apply this Object Retention configuration to.

Definition at line 302 of file PutObjectRetentionRequest.h.

◆ WithVersionId() [2/3]

PutObjectRetentionRequest& Aws::S3::Model::PutObjectRetentionRequest::WithVersionId ( Aws::String &&  value)
inline

The version ID for the object that you want to apply this Object Retention configuration to.

Definition at line 308 of file PutObjectRetentionRequest.h.

◆ WithVersionId() [3/3]

PutObjectRetentionRequest& Aws::S3::Model::PutObjectRetentionRequest::WithVersionId ( const char *  value)
inline

The version ID for the object that you want to apply this Object Retention configuration to.

Definition at line 314 of file PutObjectRetentionRequest.h.


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