AWS SDK for C++  1.9.71
AWS SDK for C++
Public Member Functions | List of all members
Aws::ElasticsearchService::Model::Duration Class Reference

#include <Duration.h>

Public Member Functions

 Duration ()
 
 Duration (Aws::Utils::Json::JsonView jsonValue)
 
Durationoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
long long GetValue () const
 
bool ValueHasBeenSet () const
 
void SetValue (long long value)
 
DurationWithValue (long long value)
 
const TimeUnitGetUnit () const
 
bool UnitHasBeenSet () const
 
void SetUnit (const TimeUnit &value)
 
void SetUnit (TimeUnit &&value)
 
DurationWithUnit (const TimeUnit &value)
 
DurationWithUnit (TimeUnit &&value)
 

Detailed Description

Specifies maintenance schedule duration: duration value and duration unit. See the Developer Guide for more information.

See Also:

AWS API Reference

Definition at line 35 of file Duration.h.

Constructor & Destructor Documentation

◆ Duration() [1/2]

Aws::ElasticsearchService::Model::Duration::Duration ( )

◆ Duration() [2/2]

Aws::ElasticsearchService::Model::Duration::Duration ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetUnit()

const TimeUnit& Aws::ElasticsearchService::Model::Duration::GetUnit ( ) const
inline

Specifies the unit of a maintenance schedule duration. Valid value is HOURS. See the Developer Guide for more information.

Definition at line 79 of file Duration.h.

◆ GetValue()

long long Aws::ElasticsearchService::Model::Duration::GetValue ( ) const
inline

Integer to specify the value of a maintenance schedule duration. See the Developer Guide for more information.

Definition at line 49 of file Duration.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::ElasticsearchService::Model::Duration::Jsonize ( ) const

◆ operator=()

Duration& Aws::ElasticsearchService::Model::Duration::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetUnit() [1/2]

void Aws::ElasticsearchService::Model::Duration::SetUnit ( const TimeUnit value)
inline

Specifies the unit of a maintenance schedule duration. Valid value is HOURS. See the Developer Guide for more information.

Definition at line 95 of file Duration.h.

◆ SetUnit() [2/2]

void Aws::ElasticsearchService::Model::Duration::SetUnit ( TimeUnit &&  value)
inline

Specifies the unit of a maintenance schedule duration. Valid value is HOURS. See the Developer Guide for more information.

Definition at line 103 of file Duration.h.

◆ SetValue()

void Aws::ElasticsearchService::Model::Duration::SetValue ( long long  value)
inline

Integer to specify the value of a maintenance schedule duration. See the Developer Guide for more information.

Definition at line 63 of file Duration.h.

◆ UnitHasBeenSet()

bool Aws::ElasticsearchService::Model::Duration::UnitHasBeenSet ( ) const
inline

Specifies the unit of a maintenance schedule duration. Valid value is HOURS. See the Developer Guide for more information.

Definition at line 87 of file Duration.h.

◆ ValueHasBeenSet()

bool Aws::ElasticsearchService::Model::Duration::ValueHasBeenSet ( ) const
inline

Integer to specify the value of a maintenance schedule duration. See the Developer Guide for more information.

Definition at line 56 of file Duration.h.

◆ WithUnit() [1/2]

Duration& Aws::ElasticsearchService::Model::Duration::WithUnit ( const TimeUnit value)
inline

Specifies the unit of a maintenance schedule duration. Valid value is HOURS. See the Developer Guide for more information.

Definition at line 111 of file Duration.h.

◆ WithUnit() [2/2]

Duration& Aws::ElasticsearchService::Model::Duration::WithUnit ( TimeUnit &&  value)
inline

Specifies the unit of a maintenance schedule duration. Valid value is HOURS. See the Developer Guide for more information.

Definition at line 119 of file Duration.h.

◆ WithValue()

Duration& Aws::ElasticsearchService::Model::Duration::WithValue ( long long  value)
inline

Integer to specify the value of a maintenance schedule duration. See the Developer Guide for more information.

Definition at line 70 of file Duration.h.


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