7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/Visibility.h>
9#include <aws/quicksight/model/LabelOptions.h>
10#include <aws/quicksight/model/LegendPosition.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/quicksight/model/FontConfiguration.h>
60 template<
typename TitleT = LabelOptions>
61 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
62 template<
typename TitleT = LabelOptions>
86 template<
typename W
idthT = Aws::String>
87 void SetWidth(WidthT&& value) { m_widthHasBeenSet =
true; m_width = std::forward<WidthT>(value); }
88 template<
typename W
idthT = Aws::String>
99 template<
typename HeightT = Aws::String>
100 void SetHeight(HeightT&& value) { m_heightHasBeenSet =
true; m_height = std::forward<HeightT>(value); }
101 template<
typename HeightT = Aws::String>
109 template<
typename ValueFontConfigurationT = FontConfiguration>
110 void SetValueFontConfiguration(ValueFontConfigurationT&& value) { m_valueFontConfigurationHasBeenSet =
true; m_valueFontConfiguration = std::forward<ValueFontConfigurationT>(value); }
111 template<
typename ValueFontConfigurationT = FontConfiguration>
117 bool m_visibilityHasBeenSet =
false;
119 LabelOptions m_title;
120 bool m_titleHasBeenSet =
false;
123 bool m_positionHasBeenSet =
false;
126 bool m_widthHasBeenSet =
false;
129 bool m_heightHasBeenSet =
false;
131 FontConfiguration m_valueFontConfiguration;
132 bool m_valueFontConfigurationHasBeenSet =
false;
bool HeightHasBeenSet() const
LegendOptions & WithValueFontConfiguration(ValueFontConfigurationT &&value)
Visibility GetVisibility() const
bool TitleHasBeenSet() const
const Aws::String & GetWidth() const
LegendOptions & WithHeight(HeightT &&value)
void SetHeight(HeightT &&value)
LegendOptions & WithTitle(TitleT &&value)
void SetWidth(WidthT &&value)
LegendOptions & WithWidth(WidthT &&value)
void SetTitle(TitleT &&value)
const LabelOptions & GetTitle() const
void SetPosition(LegendPosition value)
bool PositionHasBeenSet() const
const Aws::String & GetHeight() const
void SetValueFontConfiguration(ValueFontConfigurationT &&value)
AWS_QUICKSIGHT_API LegendOptions(Aws::Utils::Json::JsonView jsonValue)
bool ValueFontConfigurationHasBeenSet() const
AWS_QUICKSIGHT_API LegendOptions()=default
AWS_QUICKSIGHT_API LegendOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
LegendOptions & WithPosition(LegendPosition value)
void SetVisibility(Visibility value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
LegendPosition GetPosition() const
LegendOptions & WithVisibility(Visibility value)
bool WidthHasBeenSet() const
bool VisibilityHasBeenSet() const
const FontConfiguration & GetValueFontConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue