7#include <aws/timestream-influxdb/TimestreamInfluxDB_EXPORTS.h>
8#include <aws/timestream-influxdb/model/DurationType.h>
21namespace TimestreamInfluxDB
35 AWS_TIMESTREAMINFLUXDB_API
Duration() =
default;
55 inline long long GetValue()
const {
return m_value; }
57 inline void SetValue(
long long value) { m_valueHasBeenSet =
true; m_value = value; }
63 bool m_durationTypeHasBeenSet =
false;
66 bool m_valueHasBeenSet =
false;
void SetValue(long long value)
Duration & WithDurationType(DurationType value)
bool ValueHasBeenSet() const
void SetDurationType(DurationType value)
AWS_TIMESTREAMINFLUXDB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TIMESTREAMINFLUXDB_API Duration & operator=(Aws::Utils::Json::JsonView jsonValue)
DurationType GetDurationType() const
AWS_TIMESTREAMINFLUXDB_API Duration(Aws::Utils::Json::JsonView jsonValue)
bool DurationTypeHasBeenSet() const
long long GetValue() const
Duration & WithValue(long long value)
AWS_TIMESTREAMINFLUXDB_API Duration()=default
Aws::Utils::Json::JsonValue JsonValue