AWS SDK for C++  1.9.70
AWS SDK for C++
Public Member Functions | List of all members
Aws::StorageGateway::Model::AutomaticTapeCreationRule Class Reference

#include <AutomaticTapeCreationRule.h>

Public Member Functions

 AutomaticTapeCreationRule ()
 
 AutomaticTapeCreationRule (Aws::Utils::Json::JsonView jsonValue)
 
AutomaticTapeCreationRuleoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetTapeBarcodePrefix () const
 
bool TapeBarcodePrefixHasBeenSet () const
 
void SetTapeBarcodePrefix (const Aws::String &value)
 
void SetTapeBarcodePrefix (Aws::String &&value)
 
void SetTapeBarcodePrefix (const char *value)
 
AutomaticTapeCreationRuleWithTapeBarcodePrefix (const Aws::String &value)
 
AutomaticTapeCreationRuleWithTapeBarcodePrefix (Aws::String &&value)
 
AutomaticTapeCreationRuleWithTapeBarcodePrefix (const char *value)
 
const Aws::StringGetPoolId () const
 
bool PoolIdHasBeenSet () const
 
void SetPoolId (const Aws::String &value)
 
void SetPoolId (Aws::String &&value)
 
void SetPoolId (const char *value)
 
AutomaticTapeCreationRuleWithPoolId (const Aws::String &value)
 
AutomaticTapeCreationRuleWithPoolId (Aws::String &&value)
 
AutomaticTapeCreationRuleWithPoolId (const char *value)
 
long long GetTapeSizeInBytes () const
 
bool TapeSizeInBytesHasBeenSet () const
 
void SetTapeSizeInBytes (long long value)
 
AutomaticTapeCreationRuleWithTapeSizeInBytes (long long value)
 
int GetMinimumNumTapes () const
 
bool MinimumNumTapesHasBeenSet () const
 
void SetMinimumNumTapes (int value)
 
AutomaticTapeCreationRuleWithMinimumNumTapes (int value)
 
bool GetWorm () const
 
bool WormHasBeenSet () const
 
void SetWorm (bool value)
 
AutomaticTapeCreationRuleWithWorm (bool value)
 

Detailed Description

An automatic tape creation policy consists of automatic tape creation rules where each rule defines when and how to create new tapes. For more information about automatic tape creation, see Creating Tapes Automatically.

See Also:

AWS API Reference

Definition at line 35 of file AutomaticTapeCreationRule.h.

Constructor & Destructor Documentation

◆ AutomaticTapeCreationRule() [1/2]

Aws::StorageGateway::Model::AutomaticTapeCreationRule::AutomaticTapeCreationRule ( )

◆ AutomaticTapeCreationRule() [2/2]

Aws::StorageGateway::Model::AutomaticTapeCreationRule::AutomaticTapeCreationRule ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetMinimumNumTapes()

int Aws::StorageGateway::Model::AutomaticTapeCreationRule::GetMinimumNumTapes ( ) const
inline

The minimum number of available virtual tapes that the gateway maintains at all times. If the number of tapes on the gateway goes below this value, the gateway creates as many new tapes as are needed to have MinimumNumTapes on the gateway. For more information about automatic tape creation, see Creating Tapes Automatically.

Definition at line 220 of file AutomaticTapeCreationRule.h.

◆ GetPoolId()

const Aws::String& Aws::StorageGateway::Model::AutomaticTapeCreationRule::GetPoolId ( ) const
inline

The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the Amazon S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

Valid Values: GLACIER | DEEP_ARCHIVE

Definition at line 117 of file AutomaticTapeCreationRule.h.

◆ GetTapeBarcodePrefix()

const Aws::String& Aws::StorageGateway::Model::AutomaticTapeCreationRule::GetTapeBarcodePrefix ( ) const
inline

A prefix that you append to the barcode of the virtual tape that you are creating. This prefix makes the barcode unique.

The prefix must be 1-4 characters in length and must be one of the uppercase letters from A to Z.

Definition at line 50 of file AutomaticTapeCreationRule.h.

◆ GetTapeSizeInBytes()

long long Aws::StorageGateway::Model::AutomaticTapeCreationRule::GetTapeSizeInBytes ( ) const
inline

The size, in bytes, of the virtual tape capacity.

Definition at line 193 of file AutomaticTapeCreationRule.h.

◆ GetWorm()

bool Aws::StorageGateway::Model::AutomaticTapeCreationRule::GetWorm ( ) const
inline

Set to true to indicate that tapes are to be archived as write-once-read-many (WORM). Set to false when WORM is not enabled for tapes.

Definition at line 261 of file AutomaticTapeCreationRule.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::StorageGateway::Model::AutomaticTapeCreationRule::Jsonize ( ) const

◆ MinimumNumTapesHasBeenSet()

bool Aws::StorageGateway::Model::AutomaticTapeCreationRule::MinimumNumTapesHasBeenSet ( ) const
inline

The minimum number of available virtual tapes that the gateway maintains at all times. If the number of tapes on the gateway goes below this value, the gateway creates as many new tapes as are needed to have MinimumNumTapes on the gateway. For more information about automatic tape creation, see Creating Tapes Automatically.

Definition at line 231 of file AutomaticTapeCreationRule.h.

◆ operator=()

AutomaticTapeCreationRule& Aws::StorageGateway::Model::AutomaticTapeCreationRule::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ PoolIdHasBeenSet()

bool Aws::StorageGateway::Model::AutomaticTapeCreationRule::PoolIdHasBeenSet ( ) const
inline

The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the Amazon S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

Valid Values: GLACIER | DEEP_ARCHIVE

Definition at line 127 of file AutomaticTapeCreationRule.h.

◆ SetMinimumNumTapes()

void Aws::StorageGateway::Model::AutomaticTapeCreationRule::SetMinimumNumTapes ( int  value)
inline

The minimum number of available virtual tapes that the gateway maintains at all times. If the number of tapes on the gateway goes below this value, the gateway creates as many new tapes as are needed to have MinimumNumTapes on the gateway. For more information about automatic tape creation, see Creating Tapes Automatically.

Definition at line 242 of file AutomaticTapeCreationRule.h.

◆ SetPoolId() [1/3]

void Aws::StorageGateway::Model::AutomaticTapeCreationRule::SetPoolId ( Aws::String &&  value)
inline

The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the Amazon S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

Valid Values: GLACIER | DEEP_ARCHIVE

Definition at line 147 of file AutomaticTapeCreationRule.h.

◆ SetPoolId() [2/3]

void Aws::StorageGateway::Model::AutomaticTapeCreationRule::SetPoolId ( const Aws::String value)
inline

The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the Amazon S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

Valid Values: GLACIER | DEEP_ARCHIVE

Definition at line 137 of file AutomaticTapeCreationRule.h.

◆ SetPoolId() [3/3]

void Aws::StorageGateway::Model::AutomaticTapeCreationRule::SetPoolId ( const char *  value)
inline

The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the Amazon S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

Valid Values: GLACIER | DEEP_ARCHIVE

Definition at line 157 of file AutomaticTapeCreationRule.h.

◆ SetTapeBarcodePrefix() [1/3]

void Aws::StorageGateway::Model::AutomaticTapeCreationRule::SetTapeBarcodePrefix ( Aws::String &&  value)
inline

A prefix that you append to the barcode of the virtual tape that you are creating. This prefix makes the barcode unique.

The prefix must be 1-4 characters in length and must be one of the uppercase letters from A to Z.

Definition at line 74 of file AutomaticTapeCreationRule.h.

◆ SetTapeBarcodePrefix() [2/3]

void Aws::StorageGateway::Model::AutomaticTapeCreationRule::SetTapeBarcodePrefix ( const Aws::String value)
inline

A prefix that you append to the barcode of the virtual tape that you are creating. This prefix makes the barcode unique.

The prefix must be 1-4 characters in length and must be one of the uppercase letters from A to Z.

Definition at line 66 of file AutomaticTapeCreationRule.h.

◆ SetTapeBarcodePrefix() [3/3]

void Aws::StorageGateway::Model::AutomaticTapeCreationRule::SetTapeBarcodePrefix ( const char *  value)
inline

A prefix that you append to the barcode of the virtual tape that you are creating. This prefix makes the barcode unique.

The prefix must be 1-4 characters in length and must be one of the uppercase letters from A to Z.

Definition at line 82 of file AutomaticTapeCreationRule.h.

◆ SetTapeSizeInBytes()

void Aws::StorageGateway::Model::AutomaticTapeCreationRule::SetTapeSizeInBytes ( long long  value)
inline

The size, in bytes, of the virtual tape capacity.

Definition at line 203 of file AutomaticTapeCreationRule.h.

◆ SetWorm()

void Aws::StorageGateway::Model::AutomaticTapeCreationRule::SetWorm ( bool  value)
inline

Set to true to indicate that tapes are to be archived as write-once-read-many (WORM). Set to false when WORM is not enabled for tapes.

Definition at line 275 of file AutomaticTapeCreationRule.h.

◆ TapeBarcodePrefixHasBeenSet()

bool Aws::StorageGateway::Model::AutomaticTapeCreationRule::TapeBarcodePrefixHasBeenSet ( ) const
inline

A prefix that you append to the barcode of the virtual tape that you are creating. This prefix makes the barcode unique.

The prefix must be 1-4 characters in length and must be one of the uppercase letters from A to Z.

Definition at line 58 of file AutomaticTapeCreationRule.h.

◆ TapeSizeInBytesHasBeenSet()

bool Aws::StorageGateway::Model::AutomaticTapeCreationRule::TapeSizeInBytesHasBeenSet ( ) const
inline

The size, in bytes, of the virtual tape capacity.

Definition at line 198 of file AutomaticTapeCreationRule.h.

◆ WithMinimumNumTapes()

AutomaticTapeCreationRule& Aws::StorageGateway::Model::AutomaticTapeCreationRule::WithMinimumNumTapes ( int  value)
inline

The minimum number of available virtual tapes that the gateway maintains at all times. If the number of tapes on the gateway goes below this value, the gateway creates as many new tapes as are needed to have MinimumNumTapes on the gateway. For more information about automatic tape creation, see Creating Tapes Automatically.

Definition at line 253 of file AutomaticTapeCreationRule.h.

◆ WithPoolId() [1/3]

AutomaticTapeCreationRule& Aws::StorageGateway::Model::AutomaticTapeCreationRule::WithPoolId ( Aws::String &&  value)
inline

The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the Amazon S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

Valid Values: GLACIER | DEEP_ARCHIVE

Definition at line 177 of file AutomaticTapeCreationRule.h.

◆ WithPoolId() [2/3]

AutomaticTapeCreationRule& Aws::StorageGateway::Model::AutomaticTapeCreationRule::WithPoolId ( const Aws::String value)
inline

The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the Amazon S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

Valid Values: GLACIER | DEEP_ARCHIVE

Definition at line 167 of file AutomaticTapeCreationRule.h.

◆ WithPoolId() [3/3]

AutomaticTapeCreationRule& Aws::StorageGateway::Model::AutomaticTapeCreationRule::WithPoolId ( const char *  value)
inline

The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the Amazon S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

Valid Values: GLACIER | DEEP_ARCHIVE

Definition at line 187 of file AutomaticTapeCreationRule.h.

◆ WithTapeBarcodePrefix() [1/3]

AutomaticTapeCreationRule& Aws::StorageGateway::Model::AutomaticTapeCreationRule::WithTapeBarcodePrefix ( Aws::String &&  value)
inline

A prefix that you append to the barcode of the virtual tape that you are creating. This prefix makes the barcode unique.

The prefix must be 1-4 characters in length and must be one of the uppercase letters from A to Z.

Definition at line 98 of file AutomaticTapeCreationRule.h.

◆ WithTapeBarcodePrefix() [2/3]

AutomaticTapeCreationRule& Aws::StorageGateway::Model::AutomaticTapeCreationRule::WithTapeBarcodePrefix ( const Aws::String value)
inline

A prefix that you append to the barcode of the virtual tape that you are creating. This prefix makes the barcode unique.

The prefix must be 1-4 characters in length and must be one of the uppercase letters from A to Z.

Definition at line 90 of file AutomaticTapeCreationRule.h.

◆ WithTapeBarcodePrefix() [3/3]

AutomaticTapeCreationRule& Aws::StorageGateway::Model::AutomaticTapeCreationRule::WithTapeBarcodePrefix ( const char *  value)
inline

A prefix that you append to the barcode of the virtual tape that you are creating. This prefix makes the barcode unique.

The prefix must be 1-4 characters in length and must be one of the uppercase letters from A to Z.

Definition at line 106 of file AutomaticTapeCreationRule.h.

◆ WithTapeSizeInBytes()

AutomaticTapeCreationRule& Aws::StorageGateway::Model::AutomaticTapeCreationRule::WithTapeSizeInBytes ( long long  value)
inline

The size, in bytes, of the virtual tape capacity.

Definition at line 208 of file AutomaticTapeCreationRule.h.

◆ WithWorm()

AutomaticTapeCreationRule& Aws::StorageGateway::Model::AutomaticTapeCreationRule::WithWorm ( bool  value)
inline

Set to true to indicate that tapes are to be archived as write-once-read-many (WORM). Set to false when WORM is not enabled for tapes.

Definition at line 282 of file AutomaticTapeCreationRule.h.

◆ WormHasBeenSet()

bool Aws::StorageGateway::Model::AutomaticTapeCreationRule::WormHasBeenSet ( ) const
inline

Set to true to indicate that tapes are to be archived as write-once-read-many (WORM). Set to false when WORM is not enabled for tapes.

Definition at line 268 of file AutomaticTapeCreationRule.h.


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