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

#include <DataRetrievalRule.h>

Public Member Functions

 DataRetrievalRule ()
 
 DataRetrievalRule (Aws::Utils::Json::JsonView jsonValue)
 
DataRetrievalRuleoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetStrategy () const
 
bool StrategyHasBeenSet () const
 
void SetStrategy (const Aws::String &value)
 
void SetStrategy (Aws::String &&value)
 
void SetStrategy (const char *value)
 
DataRetrievalRuleWithStrategy (const Aws::String &value)
 
DataRetrievalRuleWithStrategy (Aws::String &&value)
 
DataRetrievalRuleWithStrategy (const char *value)
 
long long GetBytesPerHour () const
 
bool BytesPerHourHasBeenSet () const
 
void SetBytesPerHour (long long value)
 
DataRetrievalRuleWithBytesPerHour (long long value)
 

Detailed Description

Data retrieval policy rule.

See Also:

AWS API Reference

Definition at line 31 of file DataRetrievalRule.h.

Constructor & Destructor Documentation

◆ DataRetrievalRule() [1/2]

Aws::Glacier::Model::DataRetrievalRule::DataRetrievalRule ( )

◆ DataRetrievalRule() [2/2]

Aws::Glacier::Model::DataRetrievalRule::DataRetrievalRule ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ BytesPerHourHasBeenSet()

bool Aws::Glacier::Model::DataRetrievalRule::BytesPerHourHasBeenSet ( ) const
inline

The maximum number of bytes that can be retrieved in an hour.

This field is required only if the value of the Strategy field is BytesPerHour. Your PUT operation will be rejected if the Strategy field is not set to BytesPerHour and you set this field.

Definition at line 103 of file DataRetrievalRule.h.

◆ GetBytesPerHour()

long long Aws::Glacier::Model::DataRetrievalRule::GetBytesPerHour ( ) const
inline

The maximum number of bytes that can be retrieved in an hour.

This field is required only if the value of the Strategy field is BytesPerHour. Your PUT operation will be rejected if the Strategy field is not set to BytesPerHour and you set this field.

Definition at line 95 of file DataRetrievalRule.h.

◆ GetStrategy()

const Aws::String& Aws::Glacier::Model::DataRetrievalRule::GetStrategy ( ) const
inline

The type of data retrieval policy to set.

Valid values: BytesPerHour|FreeTier|None

Definition at line 44 of file DataRetrievalRule.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Glacier::Model::DataRetrievalRule::Jsonize ( ) const

◆ operator=()

DataRetrievalRule& Aws::Glacier::Model::DataRetrievalRule::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetBytesPerHour()

void Aws::Glacier::Model::DataRetrievalRule::SetBytesPerHour ( long long  value)
inline

The maximum number of bytes that can be retrieved in an hour.

This field is required only if the value of the Strategy field is BytesPerHour. Your PUT operation will be rejected if the Strategy field is not set to BytesPerHour and you set this field.

Definition at line 111 of file DataRetrievalRule.h.

◆ SetStrategy() [1/3]

void Aws::Glacier::Model::DataRetrievalRule::SetStrategy ( const Aws::String value)
inline

The type of data retrieval policy to set.

Valid values: BytesPerHour|FreeTier|None

Definition at line 56 of file DataRetrievalRule.h.

◆ SetStrategy() [2/3]

void Aws::Glacier::Model::DataRetrievalRule::SetStrategy ( Aws::String &&  value)
inline

The type of data retrieval policy to set.

Valid values: BytesPerHour|FreeTier|None

Definition at line 62 of file DataRetrievalRule.h.

◆ SetStrategy() [3/3]

void Aws::Glacier::Model::DataRetrievalRule::SetStrategy ( const char *  value)
inline

The type of data retrieval policy to set.

Valid values: BytesPerHour|FreeTier|None

Definition at line 68 of file DataRetrievalRule.h.

◆ StrategyHasBeenSet()

bool Aws::Glacier::Model::DataRetrievalRule::StrategyHasBeenSet ( ) const
inline

The type of data retrieval policy to set.

Valid values: BytesPerHour|FreeTier|None

Definition at line 50 of file DataRetrievalRule.h.

◆ WithBytesPerHour()

DataRetrievalRule& Aws::Glacier::Model::DataRetrievalRule::WithBytesPerHour ( long long  value)
inline

The maximum number of bytes that can be retrieved in an hour.

This field is required only if the value of the Strategy field is BytesPerHour. Your PUT operation will be rejected if the Strategy field is not set to BytesPerHour and you set this field.

Definition at line 119 of file DataRetrievalRule.h.

◆ WithStrategy() [1/3]

DataRetrievalRule& Aws::Glacier::Model::DataRetrievalRule::WithStrategy ( const Aws::String value)
inline

The type of data retrieval policy to set.

Valid values: BytesPerHour|FreeTier|None

Definition at line 74 of file DataRetrievalRule.h.

◆ WithStrategy() [2/3]

DataRetrievalRule& Aws::Glacier::Model::DataRetrievalRule::WithStrategy ( Aws::String &&  value)
inline

The type of data retrieval policy to set.

Valid values: BytesPerHour|FreeTier|None

Definition at line 80 of file DataRetrievalRule.h.

◆ WithStrategy() [3/3]

DataRetrievalRule& Aws::Glacier::Model::DataRetrievalRule::WithStrategy ( const char *  value)
inline

The type of data retrieval policy to set.

Valid values: BytesPerHour|FreeTier|None

Definition at line 86 of file DataRetrievalRule.h.


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