AWS SDK for C++  1.8.99
AWS SDK for C++
Public Member Functions | List of all members
Aws::S3Control::Model::LifecycleExpiration Class Reference

#include <LifecycleExpiration.h>

Public Member Functions

 LifecycleExpiration ()
 
 LifecycleExpiration (const Aws::Utils::Xml::XmlNode &xmlNode)
 
LifecycleExpirationoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void AddToNode (Aws::Utils::Xml::XmlNode &parentNode) const
 
const Aws::Utils::DateTimeGetDate () const
 
bool DateHasBeenSet () const
 
void SetDate (const Aws::Utils::DateTime &value)
 
void SetDate (Aws::Utils::DateTime &&value)
 
LifecycleExpirationWithDate (const Aws::Utils::DateTime &value)
 
LifecycleExpirationWithDate (Aws::Utils::DateTime &&value)
 
int GetDays () const
 
bool DaysHasBeenSet () const
 
void SetDays (int value)
 
LifecycleExpirationWithDays (int value)
 
bool GetExpiredObjectDeleteMarker () const
 
bool ExpiredObjectDeleteMarkerHasBeenSet () const
 
void SetExpiredObjectDeleteMarker (bool value)
 
LifecycleExpirationWithExpiredObjectDeleteMarker (bool value)
 

Detailed Description

The container of the Outposts bucket lifecycle expiration.

See Also:

AWS API Reference

Definition at line 31 of file LifecycleExpiration.h.

Constructor & Destructor Documentation

◆ LifecycleExpiration() [1/2]

Aws::S3Control::Model::LifecycleExpiration::LifecycleExpiration ( )

◆ LifecycleExpiration() [2/2]

Aws::S3Control::Model::LifecycleExpiration::LifecycleExpiration ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AddToNode()

void Aws::S3Control::Model::LifecycleExpiration::AddToNode ( Aws::Utils::Xml::XmlNode parentNode) const

◆ DateHasBeenSet()

bool Aws::S3Control::Model::LifecycleExpiration::DateHasBeenSet ( ) const
inline

Indicates at what date the object is to be deleted. Should be in GMT ISO 8601 format.

Definition at line 51 of file LifecycleExpiration.h.

◆ DaysHasBeenSet()

bool Aws::S3Control::Model::LifecycleExpiration::DaysHasBeenSet ( ) const
inline

Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.

Definition at line 88 of file LifecycleExpiration.h.

◆ ExpiredObjectDeleteMarkerHasBeenSet()

bool Aws::S3Control::Model::LifecycleExpiration::ExpiredObjectDeleteMarkerHasBeenSet ( ) const
inline

Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions. If set to true, the delete marker will be expired. If set to false, the policy takes no action. This cannot be specified with Days or Date in a Lifecycle Expiration Policy.

Definition at line 117 of file LifecycleExpiration.h.

◆ GetDate()

const Aws::Utils::DateTime& Aws::S3Control::Model::LifecycleExpiration::GetDate ( ) const
inline

Indicates at what date the object is to be deleted. Should be in GMT ISO 8601 format.

Definition at line 45 of file LifecycleExpiration.h.

◆ GetDays()

int Aws::S3Control::Model::LifecycleExpiration::GetDays ( ) const
inline

Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.

Definition at line 82 of file LifecycleExpiration.h.

◆ GetExpiredObjectDeleteMarker()

bool Aws::S3Control::Model::LifecycleExpiration::GetExpiredObjectDeleteMarker ( ) const
inline

Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions. If set to true, the delete marker will be expired. If set to false, the policy takes no action. This cannot be specified with Days or Date in a Lifecycle Expiration Policy.

Definition at line 109 of file LifecycleExpiration.h.

◆ operator=()

LifecycleExpiration& Aws::S3Control::Model::LifecycleExpiration::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ SetDate() [1/2]

void Aws::S3Control::Model::LifecycleExpiration::SetDate ( const Aws::Utils::DateTime value)
inline

Indicates at what date the object is to be deleted. Should be in GMT ISO 8601 format.

Definition at line 57 of file LifecycleExpiration.h.

◆ SetDate() [2/2]

void Aws::S3Control::Model::LifecycleExpiration::SetDate ( Aws::Utils::DateTime &&  value)
inline

Indicates at what date the object is to be deleted. Should be in GMT ISO 8601 format.

Definition at line 63 of file LifecycleExpiration.h.

◆ SetDays()

void Aws::S3Control::Model::LifecycleExpiration::SetDays ( int  value)
inline

Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.

Definition at line 94 of file LifecycleExpiration.h.

◆ SetExpiredObjectDeleteMarker()

void Aws::S3Control::Model::LifecycleExpiration::SetExpiredObjectDeleteMarker ( bool  value)
inline

Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions. If set to true, the delete marker will be expired. If set to false, the policy takes no action. This cannot be specified with Days or Date in a Lifecycle Expiration Policy.

Definition at line 125 of file LifecycleExpiration.h.

◆ WithDate() [1/2]

LifecycleExpiration& Aws::S3Control::Model::LifecycleExpiration::WithDate ( const Aws::Utils::DateTime value)
inline

Indicates at what date the object is to be deleted. Should be in GMT ISO 8601 format.

Definition at line 69 of file LifecycleExpiration.h.

◆ WithDate() [2/2]

LifecycleExpiration& Aws::S3Control::Model::LifecycleExpiration::WithDate ( Aws::Utils::DateTime &&  value)
inline

Indicates at what date the object is to be deleted. Should be in GMT ISO 8601 format.

Definition at line 75 of file LifecycleExpiration.h.

◆ WithDays()

LifecycleExpiration& Aws::S3Control::Model::LifecycleExpiration::WithDays ( int  value)
inline

Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.

Definition at line 100 of file LifecycleExpiration.h.

◆ WithExpiredObjectDeleteMarker()

LifecycleExpiration& Aws::S3Control::Model::LifecycleExpiration::WithExpiredObjectDeleteMarker ( bool  value)
inline

Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions. If set to true, the delete marker will be expired. If set to false, the policy takes no action. This cannot be specified with Days or Date in a Lifecycle Expiration Policy.

Definition at line 133 of file LifecycleExpiration.h.


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