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

#include <ObjectLockRetention.h>

Public Member Functions

 ObjectLockRetention ()
 
 ObjectLockRetention (const Aws::Utils::Xml::XmlNode &xmlNode)
 
ObjectLockRetentionoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void AddToNode (Aws::Utils::Xml::XmlNode &parentNode) const
 
const ObjectLockRetentionModeGetMode () const
 
bool ModeHasBeenSet () const
 
void SetMode (const ObjectLockRetentionMode &value)
 
void SetMode (ObjectLockRetentionMode &&value)
 
ObjectLockRetentionWithMode (const ObjectLockRetentionMode &value)
 
ObjectLockRetentionWithMode (ObjectLockRetentionMode &&value)
 
const Aws::Utils::DateTimeGetRetainUntilDate () const
 
bool RetainUntilDateHasBeenSet () const
 
void SetRetainUntilDate (const Aws::Utils::DateTime &value)
 
void SetRetainUntilDate (Aws::Utils::DateTime &&value)
 
ObjectLockRetentionWithRetainUntilDate (const Aws::Utils::DateTime &value)
 
ObjectLockRetentionWithRetainUntilDate (Aws::Utils::DateTime &&value)
 

Detailed Description

A Retention configuration for an object.

See Also:

AWS API Reference

Definition at line 31 of file ObjectLockRetention.h.

Constructor & Destructor Documentation

◆ ObjectLockRetention() [1/2]

Aws::S3::Model::ObjectLockRetention::ObjectLockRetention ( )

◆ ObjectLockRetention() [2/2]

Aws::S3::Model::ObjectLockRetention::ObjectLockRetention ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AddToNode()

void Aws::S3::Model::ObjectLockRetention::AddToNode ( Aws::Utils::Xml::XmlNode parentNode) const

◆ GetMode()

const ObjectLockRetentionMode& Aws::S3::Model::ObjectLockRetention::GetMode ( ) const
inline

Indicates the Retention mode for the specified object.

Definition at line 44 of file ObjectLockRetention.h.

◆ GetRetainUntilDate()

const Aws::Utils::DateTime& Aws::S3::Model::ObjectLockRetention::GetRetainUntilDate ( ) const
inline

The date on which this Object Lock Retention will expire.

Definition at line 75 of file ObjectLockRetention.h.

◆ ModeHasBeenSet()

bool Aws::S3::Model::ObjectLockRetention::ModeHasBeenSet ( ) const
inline

Indicates the Retention mode for the specified object.

Definition at line 49 of file ObjectLockRetention.h.

◆ operator=()

ObjectLockRetention& Aws::S3::Model::ObjectLockRetention::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ RetainUntilDateHasBeenSet()

bool Aws::S3::Model::ObjectLockRetention::RetainUntilDateHasBeenSet ( ) const
inline

The date on which this Object Lock Retention will expire.

Definition at line 80 of file ObjectLockRetention.h.

◆ SetMode() [1/2]

void Aws::S3::Model::ObjectLockRetention::SetMode ( const ObjectLockRetentionMode value)
inline

Indicates the Retention mode for the specified object.

Definition at line 54 of file ObjectLockRetention.h.

◆ SetMode() [2/2]

void Aws::S3::Model::ObjectLockRetention::SetMode ( ObjectLockRetentionMode &&  value)
inline

Indicates the Retention mode for the specified object.

Definition at line 59 of file ObjectLockRetention.h.

◆ SetRetainUntilDate() [1/2]

void Aws::S3::Model::ObjectLockRetention::SetRetainUntilDate ( Aws::Utils::DateTime &&  value)
inline

The date on which this Object Lock Retention will expire.

Definition at line 90 of file ObjectLockRetention.h.

◆ SetRetainUntilDate() [2/2]

void Aws::S3::Model::ObjectLockRetention::SetRetainUntilDate ( const Aws::Utils::DateTime value)
inline

The date on which this Object Lock Retention will expire.

Definition at line 85 of file ObjectLockRetention.h.

◆ WithMode() [1/2]

ObjectLockRetention& Aws::S3::Model::ObjectLockRetention::WithMode ( const ObjectLockRetentionMode value)
inline

Indicates the Retention mode for the specified object.

Definition at line 64 of file ObjectLockRetention.h.

◆ WithMode() [2/2]

ObjectLockRetention& Aws::S3::Model::ObjectLockRetention::WithMode ( ObjectLockRetentionMode &&  value)
inline

Indicates the Retention mode for the specified object.

Definition at line 69 of file ObjectLockRetention.h.

◆ WithRetainUntilDate() [1/2]

ObjectLockRetention& Aws::S3::Model::ObjectLockRetention::WithRetainUntilDate ( Aws::Utils::DateTime &&  value)
inline

The date on which this Object Lock Retention will expire.

Definition at line 100 of file ObjectLockRetention.h.

◆ WithRetainUntilDate() [2/2]

ObjectLockRetention& Aws::S3::Model::ObjectLockRetention::WithRetainUntilDate ( const Aws::Utils::DateTime value)
inline

The date on which this Object Lock Retention will expire.

Definition at line 95 of file ObjectLockRetention.h.


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