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

#include <Lifecycle.h>

Public Member Functions

 Lifecycle ()
 
 Lifecycle (Aws::Utils::Json::JsonView jsonValue)
 
Lifecycleoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
long long GetMoveToColdStorageAfterDays () const
 
bool MoveToColdStorageAfterDaysHasBeenSet () const
 
void SetMoveToColdStorageAfterDays (long long value)
 
LifecycleWithMoveToColdStorageAfterDays (long long value)
 
long long GetDeleteAfterDays () const
 
bool DeleteAfterDaysHasBeenSet () const
 
void SetDeleteAfterDays (long long value)
 
LifecycleWithDeleteAfterDays (long long value)
 

Detailed Description

Contains an array of Transition objects specifying how long in days before a recovery point transitions to cold storage or is deleted.

Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, on the console, 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 35 of file Lifecycle.h.

Constructor & Destructor Documentation

◆ Lifecycle() [1/2]

Aws::Backup::Model::Lifecycle::Lifecycle ( )

◆ Lifecycle() [2/2]

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

Member Function Documentation

◆ DeleteAfterDaysHasBeenSet()

bool Aws::Backup::Model::Lifecycle::DeleteAfterDaysHasBeenSet ( ) const
inline

Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days plus MoveToColdStorageAfterDays.

Definition at line 79 of file Lifecycle.h.

◆ GetDeleteAfterDays()

long long Aws::Backup::Model::Lifecycle::GetDeleteAfterDays ( ) const
inline

Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days plus MoveToColdStorageAfterDays.

Definition at line 73 of file Lifecycle.h.

◆ GetMoveToColdStorageAfterDays()

long long Aws::Backup::Model::Lifecycle::GetMoveToColdStorageAfterDays ( ) const
inline

Specifies the number of days after creation that a recovery point is moved to cold storage.

Definition at line 48 of file Lifecycle.h.

◆ Jsonize()

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

◆ MoveToColdStorageAfterDaysHasBeenSet()

bool Aws::Backup::Model::Lifecycle::MoveToColdStorageAfterDaysHasBeenSet ( ) const
inline

Specifies the number of days after creation that a recovery point is moved to cold storage.

Definition at line 54 of file Lifecycle.h.

◆ operator=()

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

◆ SetDeleteAfterDays()

void Aws::Backup::Model::Lifecycle::SetDeleteAfterDays ( long long  value)
inline

Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days plus MoveToColdStorageAfterDays.

Definition at line 85 of file Lifecycle.h.

◆ SetMoveToColdStorageAfterDays()

void Aws::Backup::Model::Lifecycle::SetMoveToColdStorageAfterDays ( long long  value)
inline

Specifies the number of days after creation that a recovery point is moved to cold storage.

Definition at line 60 of file Lifecycle.h.

◆ WithDeleteAfterDays()

Lifecycle& Aws::Backup::Model::Lifecycle::WithDeleteAfterDays ( long long  value)
inline

Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days plus MoveToColdStorageAfterDays.

Definition at line 91 of file Lifecycle.h.

◆ WithMoveToColdStorageAfterDays()

Lifecycle& Aws::Backup::Model::Lifecycle::WithMoveToColdStorageAfterDays ( long long  value)
inline

Specifies the number of days after creation that a recovery point is moved to cold storage.

Definition at line 66 of file Lifecycle.h.


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