7#include <aws/timestream-write/TimestreamWrite_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/timestream-write/model/MeasureValueType.h>
11#include <aws/timestream-write/model/TimeUnit.h>
12#include <aws/timestream-write/model/Dimension.h>
13#include <aws/timestream-write/model/MeasureValue.h>
26namespace TimestreamWrite
84 inline void SetMeasureName(
const char* value) { m_measureNameHasBeenSet =
true; m_measureName.assign(value); }
98 inline void SetMeasureValue(
const char* value) { m_measureValueHasBeenSet =
true; m_measureValue.assign(value); }
130 inline void SetTime(
const char* value) { m_timeHasBeenSet =
true; m_time.assign(value); }
161 inline void SetVersion(
long long value) { m_versionHasBeenSet =
true; m_version = value; }
183 bool m_dimensionsHasBeenSet =
false;
186 bool m_measureNameHasBeenSet =
false;
189 bool m_measureValueHasBeenSet =
false;
192 bool m_measureValueTypeHasBeenSet =
false;
195 bool m_timeHasBeenSet =
false;
198 bool m_timeUnitHasBeenSet =
false;
201 bool m_versionHasBeenSet =
false;
204 bool m_measureValuesHasBeenSet =
false;
bool MeasureValueTypeHasBeenSet() const
Record & WithMeasureValue(Aws::String &&value)
Record & WithMeasureName(const char *value)
bool MeasureValuesHasBeenSet() const
Record & WithMeasureName(Aws::String &&value)
void SetTime(const char *value)
Record & WithTime(Aws::String &&value)
Record & WithTimeUnit(TimeUnit &&value)
Record & AddDimensions(Dimension &&value)
void SetMeasureName(const char *value)
Record & WithMeasureValue(const char *value)
Record & WithMeasureValue(const Aws::String &value)
void SetMeasureValue(const char *value)
Record & WithTime(const char *value)
AWS_TIMESTREAMWRITE_API Record()
void SetMeasureValue(const Aws::String &value)
bool MeasureValueHasBeenSet() const
Record & WithMeasureValues(const Aws::Vector< MeasureValue > &value)
Record & WithMeasureName(const Aws::String &value)
void SetMeasureName(Aws::String &&value)
bool VersionHasBeenSet() const
void SetMeasureValues(Aws::Vector< MeasureValue > &&value)
void SetMeasureValues(const Aws::Vector< MeasureValue > &value)
void SetDimensions(Aws::Vector< Dimension > &&value)
Record & WithDimensions(const Aws::Vector< Dimension > &value)
Record & WithMeasureValueType(MeasureValueType &&value)
void SetMeasureValue(Aws::String &&value)
Record & WithTime(const Aws::String &value)
const Aws::String & GetMeasureName() const
long long GetVersion() const
Record & WithTimeUnit(const TimeUnit &value)
void SetDimensions(const Aws::Vector< Dimension > &value)
bool DimensionsHasBeenSet() const
Record & WithMeasureValues(Aws::Vector< MeasureValue > &&value)
bool MeasureNameHasBeenSet() const
AWS_TIMESTREAMWRITE_API Record(Aws::Utils::Json::JsonView jsonValue)
void SetTimeUnit(const TimeUnit &value)
Record & WithVersion(long long value)
bool TimeUnitHasBeenSet() const
Record & WithDimensions(Aws::Vector< Dimension > &&value)
AWS_TIMESTREAMWRITE_API Record & operator=(Aws::Utils::Json::JsonView jsonValue)
Record & AddMeasureValues(MeasureValue &&value)
const Aws::String & GetTime() const
void SetTime(const Aws::String &value)
void SetTimeUnit(TimeUnit &&value)
const Aws::Vector< MeasureValue > & GetMeasureValues() const
void SetMeasureValueType(const MeasureValueType &value)
void SetMeasureName(const Aws::String &value)
const TimeUnit & GetTimeUnit() const
void SetVersion(long long value)
bool TimeHasBeenSet() const
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTime(Aws::String &&value)
const Aws::Vector< Dimension > & GetDimensions() const
const Aws::String & GetMeasureValue() const
const MeasureValueType & GetMeasureValueType() const
Record & WithMeasureValueType(const MeasureValueType &value)
Record & AddMeasureValues(const MeasureValue &value)
void SetMeasureValueType(MeasureValueType &&value)
Record & AddDimensions(const Dimension &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue