AWS SDK for C++  1.8.98
AWS SDK for C++
Public Member Functions | List of all members
Aws::IoTSiteWise::Model::TimeInNanos Class Reference

#include <TimeInNanos.h>

Public Member Functions

 TimeInNanos ()
 
 TimeInNanos (Aws::Utils::Json::JsonView jsonValue)
 
TimeInNanosoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
long long GetTimeInSeconds () const
 
bool TimeInSecondsHasBeenSet () const
 
void SetTimeInSeconds (long long value)
 
TimeInNanosWithTimeInSeconds (long long value)
 
int GetOffsetInNanos () const
 
bool OffsetInNanosHasBeenSet () const
 
void SetOffsetInNanos (int value)
 
TimeInNanosWithOffsetInNanos (int value)
 

Detailed Description

Contains a timestamp with optional nanosecond granularity.

See Also:

AWS API Reference

Definition at line 30 of file TimeInNanos.h.

Constructor & Destructor Documentation

◆ TimeInNanos() [1/2]

Aws::IoTSiteWise::Model::TimeInNanos::TimeInNanos ( )

◆ TimeInNanos() [2/2]

Aws::IoTSiteWise::Model::TimeInNanos::TimeInNanos ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetOffsetInNanos()

int Aws::IoTSiteWise::Model::TimeInNanos::GetOffsetInNanos ( ) const
inline

The nanosecond offset from timeInSeconds.

Definition at line 67 of file TimeInNanos.h.

◆ GetTimeInSeconds()

long long Aws::IoTSiteWise::Model::TimeInNanos::GetTimeInSeconds ( ) const
inline

The timestamp date, in seconds, in the Unix epoch format. Fractional nanosecond data is provided by offsetInNanos.

Definition at line 43 of file TimeInNanos.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::IoTSiteWise::Model::TimeInNanos::Jsonize ( ) const

◆ OffsetInNanosHasBeenSet()

bool Aws::IoTSiteWise::Model::TimeInNanos::OffsetInNanosHasBeenSet ( ) const
inline

The nanosecond offset from timeInSeconds.

Definition at line 72 of file TimeInNanos.h.

◆ operator=()

TimeInNanos& Aws::IoTSiteWise::Model::TimeInNanos::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetOffsetInNanos()

void Aws::IoTSiteWise::Model::TimeInNanos::SetOffsetInNanos ( int  value)
inline

The nanosecond offset from timeInSeconds.

Definition at line 77 of file TimeInNanos.h.

◆ SetTimeInSeconds()

void Aws::IoTSiteWise::Model::TimeInNanos::SetTimeInSeconds ( long long  value)
inline

The timestamp date, in seconds, in the Unix epoch format. Fractional nanosecond data is provided by offsetInNanos.

Definition at line 55 of file TimeInNanos.h.

◆ TimeInSecondsHasBeenSet()

bool Aws::IoTSiteWise::Model::TimeInNanos::TimeInSecondsHasBeenSet ( ) const
inline

The timestamp date, in seconds, in the Unix epoch format. Fractional nanosecond data is provided by offsetInNanos.

Definition at line 49 of file TimeInNanos.h.

◆ WithOffsetInNanos()

TimeInNanos& Aws::IoTSiteWise::Model::TimeInNanos::WithOffsetInNanos ( int  value)
inline

The nanosecond offset from timeInSeconds.

Definition at line 82 of file TimeInNanos.h.

◆ WithTimeInSeconds()

TimeInNanos& Aws::IoTSiteWise::Model::TimeInNanos::WithTimeInSeconds ( long long  value)
inline

The timestamp date, in seconds, in the Unix epoch format. Fractional nanosecond data is provided by offsetInNanos.

Definition at line 61 of file TimeInNanos.h.


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