7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 inline void SetGradientOffset(
double value) { m_gradientOffsetHasBeenSet =
true; m_gradientOffset = value; }
56 inline void SetDataValue(
double value) { m_dataValueHasBeenSet =
true; m_dataValue = value; }
66 template<
typename ColorT = Aws::String>
67 void SetColor(ColorT&& value) { m_colorHasBeenSet =
true; m_color = std::forward<ColorT>(value); }
68 template<
typename ColorT = Aws::String>
73 double m_gradientOffset{0.0};
74 bool m_gradientOffsetHasBeenSet =
false;
76 double m_dataValue{0.0};
77 bool m_dataValueHasBeenSet =
false;
80 bool m_colorHasBeenSet =
false;
double GetGradientOffset() const
bool ColorHasBeenSet() const
GradientStop & WithGradientOffset(double value)
double GetDataValue() const
AWS_QUICKSIGHT_API GradientStop()=default
void SetGradientOffset(double value)
void SetDataValue(double value)
AWS_QUICKSIGHT_API GradientStop & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API GradientStop(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
bool GradientOffsetHasBeenSet() const
bool DataValueHasBeenSet() const
void SetColor(ColorT &&value)
const Aws::String & GetColor() const
GradientStop & WithColor(ColorT &&value)
GradientStop & WithDataValue(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue