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