7#include <aws/timestream-write/TimestreamWrite_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/timestream-write/model/DimensionValueType.h>
22namespace TimestreamWrite
56 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
70 inline void SetValue(
const char* value) { m_valueHasBeenSet =
true; m_value.assign(value); }
90 bool m_nameHasBeenSet =
false;
93 bool m_valueHasBeenSet =
false;
96 bool m_dimensionValueTypeHasBeenSet =
false;
Dimension & WithDimensionValueType(const DimensionValueType &value)
Dimension & WithValue(Aws::String &&value)
void SetDimensionValueType(DimensionValueType &&value)
bool DimensionValueTypeHasBeenSet() const
void SetName(Aws::String &&value)
bool ValueHasBeenSet() const
Dimension & WithValue(const Aws::String &value)
const DimensionValueType & GetDimensionValueType() const
void SetValue(const char *value)
const Aws::String & GetName() const
bool NameHasBeenSet() const
void SetValue(Aws::String &&value)
AWS_TIMESTREAMWRITE_API Dimension(Aws::Utils::Json::JsonView jsonValue)
Dimension & WithName(const char *value)
void SetDimensionValueType(const DimensionValueType &value)
Dimension & WithName(const Aws::String &value)
AWS_TIMESTREAMWRITE_API Dimension()
void SetValue(const Aws::String &value)
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const char *value)
AWS_TIMESTREAMWRITE_API Dimension & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetValue() const
Dimension & WithValue(const char *value)
void SetName(const Aws::String &value)
Dimension & WithName(Aws::String &&value)
Dimension & WithDimensionValueType(DimensionValueType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue