AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::AppMesh::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
 
const DurationUnitGetUnit () const
 
bool UnitHasBeenSet () const
 
void SetUnit (const DurationUnit &value)
 
void SetUnit (DurationUnit &&value)
 
DurationWithUnit (const DurationUnit &value)
 
DurationWithUnit (DurationUnit &&value)
 
long long GetValue () const
 
bool ValueHasBeenSet () const
 
void SetValue (long long value)
 
DurationWithValue (long long value)
 

Detailed Description

An object that represents a duration of time.

See Also:

AWS API Reference

Definition at line 31 of file Duration.h.

Constructor & Destructor Documentation

◆ Duration() [1/2]

Aws::AppMesh::Model::Duration::Duration ( )

◆ Duration() [2/2]

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

Member Function Documentation

◆ GetUnit()

const DurationUnit& Aws::AppMesh::Model::Duration::GetUnit ( ) const
inline

A unit of time.

Definition at line 43 of file Duration.h.

◆ GetValue()

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

A number of time units.

Definition at line 74 of file Duration.h.

◆ Jsonize()

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

◆ operator=()

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

◆ SetUnit() [1/2]

void Aws::AppMesh::Model::Duration::SetUnit ( const DurationUnit value)
inline

A unit of time.

Definition at line 53 of file Duration.h.

◆ SetUnit() [2/2]

void Aws::AppMesh::Model::Duration::SetUnit ( DurationUnit &&  value)
inline

A unit of time.

Definition at line 58 of file Duration.h.

◆ SetValue()

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

A number of time units.

Definition at line 84 of file Duration.h.

◆ UnitHasBeenSet()

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

A unit of time.

Definition at line 48 of file Duration.h.

◆ ValueHasBeenSet()

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

A number of time units.

Definition at line 79 of file Duration.h.

◆ WithUnit() [1/2]

Duration& Aws::AppMesh::Model::Duration::WithUnit ( const DurationUnit value)
inline

A unit of time.

Definition at line 63 of file Duration.h.

◆ WithUnit() [2/2]

Duration& Aws::AppMesh::Model::Duration::WithUnit ( DurationUnit &&  value)
inline

A unit of time.

Definition at line 68 of file Duration.h.

◆ WithValue()

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

A number of time units.

Definition at line 89 of file Duration.h.


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