AWS SDK for C++  1.9.2
AWS SDK for C++
Public Member Functions | List of all members
Aws::CloudHSMV2::Model::BackupRetentionPolicy Class Reference

#include <BackupRetentionPolicy.h>

Public Member Functions

 BackupRetentionPolicy ()
 
 BackupRetentionPolicy (Aws::Utils::Json::JsonView jsonValue)
 
BackupRetentionPolicyoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const BackupRetentionTypeGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const BackupRetentionType &value)
 
void SetType (BackupRetentionType &&value)
 
BackupRetentionPolicyWithType (const BackupRetentionType &value)
 
BackupRetentionPolicyWithType (BackupRetentionType &&value)
 
const Aws::StringGetValue () const
 
bool ValueHasBeenSet () const
 
void SetValue (const Aws::String &value)
 
void SetValue (Aws::String &&value)
 
void SetValue (const char *value)
 
BackupRetentionPolicyWithValue (const Aws::String &value)
 
BackupRetentionPolicyWithValue (Aws::String &&value)
 
BackupRetentionPolicyWithValue (const char *value)
 

Detailed Description

A policy that defines the number of days to retain backups.

See Also:

AWS API Reference

Definition at line 33 of file BackupRetentionPolicy.h.

Constructor & Destructor Documentation

◆ BackupRetentionPolicy() [1/2]

Aws::CloudHSMV2::Model::BackupRetentionPolicy::BackupRetentionPolicy ( )

◆ BackupRetentionPolicy() [2/2]

Aws::CloudHSMV2::Model::BackupRetentionPolicy::BackupRetentionPolicy ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetType()

const BackupRetentionType& Aws::CloudHSMV2::Model::BackupRetentionPolicy::GetType ( ) const
inline

The type of backup retention policy. For the DAYS type, the value is the number of days to retain backups.

Definition at line 46 of file BackupRetentionPolicy.h.

◆ GetValue()

const Aws::String& Aws::CloudHSMV2::Model::BackupRetentionPolicy::GetValue ( ) const
inline

Use a value between 7 - 379.

Definition at line 82 of file BackupRetentionPolicy.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::CloudHSMV2::Model::BackupRetentionPolicy::Jsonize ( ) const

◆ operator=()

BackupRetentionPolicy& Aws::CloudHSMV2::Model::BackupRetentionPolicy::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetType() [1/2]

void Aws::CloudHSMV2::Model::BackupRetentionPolicy::SetType ( BackupRetentionType &&  value)
inline

The type of backup retention policy. For the DAYS type, the value is the number of days to retain backups.

Definition at line 64 of file BackupRetentionPolicy.h.

◆ SetType() [2/2]

void Aws::CloudHSMV2::Model::BackupRetentionPolicy::SetType ( const BackupRetentionType value)
inline

The type of backup retention policy. For the DAYS type, the value is the number of days to retain backups.

Definition at line 58 of file BackupRetentionPolicy.h.

◆ SetValue() [1/3]

void Aws::CloudHSMV2::Model::BackupRetentionPolicy::SetValue ( Aws::String &&  value)
inline

Use a value between 7 - 379.

Definition at line 97 of file BackupRetentionPolicy.h.

◆ SetValue() [2/3]

void Aws::CloudHSMV2::Model::BackupRetentionPolicy::SetValue ( const Aws::String value)
inline

Use a value between 7 - 379.

Definition at line 92 of file BackupRetentionPolicy.h.

◆ SetValue() [3/3]

void Aws::CloudHSMV2::Model::BackupRetentionPolicy::SetValue ( const char *  value)
inline

Use a value between 7 - 379.

Definition at line 102 of file BackupRetentionPolicy.h.

◆ TypeHasBeenSet()

bool Aws::CloudHSMV2::Model::BackupRetentionPolicy::TypeHasBeenSet ( ) const
inline

The type of backup retention policy. For the DAYS type, the value is the number of days to retain backups.

Definition at line 52 of file BackupRetentionPolicy.h.

◆ ValueHasBeenSet()

bool Aws::CloudHSMV2::Model::BackupRetentionPolicy::ValueHasBeenSet ( ) const
inline

Use a value between 7 - 379.

Definition at line 87 of file BackupRetentionPolicy.h.

◆ WithType() [1/2]

BackupRetentionPolicy& Aws::CloudHSMV2::Model::BackupRetentionPolicy::WithType ( BackupRetentionType &&  value)
inline

The type of backup retention policy. For the DAYS type, the value is the number of days to retain backups.

Definition at line 76 of file BackupRetentionPolicy.h.

◆ WithType() [2/2]

BackupRetentionPolicy& Aws::CloudHSMV2::Model::BackupRetentionPolicy::WithType ( const BackupRetentionType value)
inline

The type of backup retention policy. For the DAYS type, the value is the number of days to retain backups.

Definition at line 70 of file BackupRetentionPolicy.h.

◆ WithValue() [1/3]

BackupRetentionPolicy& Aws::CloudHSMV2::Model::BackupRetentionPolicy::WithValue ( Aws::String &&  value)
inline

Use a value between 7 - 379.

Definition at line 112 of file BackupRetentionPolicy.h.

◆ WithValue() [2/3]

BackupRetentionPolicy& Aws::CloudHSMV2::Model::BackupRetentionPolicy::WithValue ( const Aws::String value)
inline

Use a value between 7 - 379.

Definition at line 107 of file BackupRetentionPolicy.h.

◆ WithValue() [3/3]

BackupRetentionPolicy& Aws::CloudHSMV2::Model::BackupRetentionPolicy::WithValue ( const char *  value)
inline

Use a value between 7 - 379.

Definition at line 117 of file BackupRetentionPolicy.h.


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