AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::Backup::Model::CalculatedLifecycle Class Reference

#include <CalculatedLifecycle.h>

Public Member Functions

 CalculatedLifecycle ()
 
 CalculatedLifecycle (Aws::Utils::Json::JsonView jsonValue)
 
CalculatedLifecycleoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::Utils::DateTimeGetMoveToColdStorageAt () const
 
bool MoveToColdStorageAtHasBeenSet () const
 
void SetMoveToColdStorageAt (const Aws::Utils::DateTime &value)
 
void SetMoveToColdStorageAt (Aws::Utils::DateTime &&value)
 
CalculatedLifecycleWithMoveToColdStorageAt (const Aws::Utils::DateTime &value)
 
CalculatedLifecycleWithMoveToColdStorageAt (Aws::Utils::DateTime &&value)
 
const Aws::Utils::DateTimeGetDeleteAt () const
 
bool DeleteAtHasBeenSet () const
 
void SetDeleteAt (const Aws::Utils::DateTime &value)
 
void SetDeleteAt (Aws::Utils::DateTime &&value)
 
CalculatedLifecycleWithDeleteAt (const Aws::Utils::DateTime &value)
 
CalculatedLifecycleWithDeleteAt (Aws::Utils::DateTime &&value)
 

Detailed Description

Contains DeleteAt and MoveToColdStorageAt timestamps, which are used to specify a lifecycle for a recovery point.

The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. AWS Backup transitions and expires backups automatically according to the lifecycle that you define.

Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.

See Also:

AWS API Reference

Definition at line 40 of file CalculatedLifecycle.h.

Constructor & Destructor Documentation

◆ CalculatedLifecycle() [1/2]

Aws::Backup::Model::CalculatedLifecycle::CalculatedLifecycle ( )

◆ CalculatedLifecycle() [2/2]

Aws::Backup::Model::CalculatedLifecycle::CalculatedLifecycle ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ DeleteAtHasBeenSet()

bool Aws::Backup::Model::CalculatedLifecycle::DeleteAtHasBeenSet ( ) const
inline

A timestamp that specifies when to delete a recovery point.

Definition at line 94 of file CalculatedLifecycle.h.

◆ GetDeleteAt()

const Aws::Utils::DateTime& Aws::Backup::Model::CalculatedLifecycle::GetDeleteAt ( ) const
inline

A timestamp that specifies when to delete a recovery point.

Definition at line 89 of file CalculatedLifecycle.h.

◆ GetMoveToColdStorageAt()

const Aws::Utils::DateTime& Aws::Backup::Model::CalculatedLifecycle::GetMoveToColdStorageAt ( ) const
inline

A timestamp that specifies when to transition a recovery point to cold storage.

Definition at line 53 of file CalculatedLifecycle.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Backup::Model::CalculatedLifecycle::Jsonize ( ) const

◆ MoveToColdStorageAtHasBeenSet()

bool Aws::Backup::Model::CalculatedLifecycle::MoveToColdStorageAtHasBeenSet ( ) const
inline

A timestamp that specifies when to transition a recovery point to cold storage.

Definition at line 59 of file CalculatedLifecycle.h.

◆ operator=()

CalculatedLifecycle& Aws::Backup::Model::CalculatedLifecycle::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetDeleteAt() [1/2]

void Aws::Backup::Model::CalculatedLifecycle::SetDeleteAt ( const Aws::Utils::DateTime value)
inline

A timestamp that specifies when to delete a recovery point.

Definition at line 99 of file CalculatedLifecycle.h.

◆ SetDeleteAt() [2/2]

void Aws::Backup::Model::CalculatedLifecycle::SetDeleteAt ( Aws::Utils::DateTime &&  value)
inline

A timestamp that specifies when to delete a recovery point.

Definition at line 104 of file CalculatedLifecycle.h.

◆ SetMoveToColdStorageAt() [1/2]

void Aws::Backup::Model::CalculatedLifecycle::SetMoveToColdStorageAt ( const Aws::Utils::DateTime value)
inline

A timestamp that specifies when to transition a recovery point to cold storage.

Definition at line 65 of file CalculatedLifecycle.h.

◆ SetMoveToColdStorageAt() [2/2]

void Aws::Backup::Model::CalculatedLifecycle::SetMoveToColdStorageAt ( Aws::Utils::DateTime &&  value)
inline

A timestamp that specifies when to transition a recovery point to cold storage.

Definition at line 71 of file CalculatedLifecycle.h.

◆ WithDeleteAt() [1/2]

CalculatedLifecycle& Aws::Backup::Model::CalculatedLifecycle::WithDeleteAt ( const Aws::Utils::DateTime value)
inline

A timestamp that specifies when to delete a recovery point.

Definition at line 109 of file CalculatedLifecycle.h.

◆ WithDeleteAt() [2/2]

CalculatedLifecycle& Aws::Backup::Model::CalculatedLifecycle::WithDeleteAt ( Aws::Utils::DateTime &&  value)
inline

A timestamp that specifies when to delete a recovery point.

Definition at line 114 of file CalculatedLifecycle.h.

◆ WithMoveToColdStorageAt() [1/2]

CalculatedLifecycle& Aws::Backup::Model::CalculatedLifecycle::WithMoveToColdStorageAt ( const Aws::Utils::DateTime value)
inline

A timestamp that specifies when to transition a recovery point to cold storage.

Definition at line 77 of file CalculatedLifecycle.h.

◆ WithMoveToColdStorageAt() [2/2]

CalculatedLifecycle& Aws::Backup::Model::CalculatedLifecycle::WithMoveToColdStorageAt ( Aws::Utils::DateTime &&  value)
inline

A timestamp that specifies when to transition a recovery point to cold storage.

Definition at line 83 of file CalculatedLifecycle.h.


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