AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GaugeChartConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/GaugeChartFieldWells.h>
9#include <aws/quicksight/model/GaugeChartOptions.h>
10#include <aws/quicksight/model/DataLabelOptions.h>
11#include <aws/quicksight/model/TooltipOptions.h>
12#include <aws/quicksight/model/VisualPalette.h>
13#include <aws/quicksight/model/GaugeChartColorConfiguration.h>
14#include <aws/quicksight/model/VisualInteractionOptions.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace QuickSight
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_QUICKSIGHT_API GaugeChartConfiguration() = default;
44 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const GaugeChartFieldWells& GetFieldWells() const { return m_fieldWells; }
52 inline bool FieldWellsHasBeenSet() const { return m_fieldWellsHasBeenSet; }
53 template<typename FieldWellsT = GaugeChartFieldWells>
54 void SetFieldWells(FieldWellsT&& value) { m_fieldWellsHasBeenSet = true; m_fieldWells = std::forward<FieldWellsT>(value); }
55 template<typename FieldWellsT = GaugeChartFieldWells>
56 GaugeChartConfiguration& WithFieldWells(FieldWellsT&& value) { SetFieldWells(std::forward<FieldWellsT>(value)); return *this;}
58
60
64 inline const GaugeChartOptions& GetGaugeChartOptions() const { return m_gaugeChartOptions; }
65 inline bool GaugeChartOptionsHasBeenSet() const { return m_gaugeChartOptionsHasBeenSet; }
66 template<typename GaugeChartOptionsT = GaugeChartOptions>
67 void SetGaugeChartOptions(GaugeChartOptionsT&& value) { m_gaugeChartOptionsHasBeenSet = true; m_gaugeChartOptions = std::forward<GaugeChartOptionsT>(value); }
68 template<typename GaugeChartOptionsT = GaugeChartOptions>
69 GaugeChartConfiguration& WithGaugeChartOptions(GaugeChartOptionsT&& value) { SetGaugeChartOptions(std::forward<GaugeChartOptionsT>(value)); return *this;}
71
73
76 inline const DataLabelOptions& GetDataLabels() const { return m_dataLabels; }
77 inline bool DataLabelsHasBeenSet() const { return m_dataLabelsHasBeenSet; }
78 template<typename DataLabelsT = DataLabelOptions>
79 void SetDataLabels(DataLabelsT&& value) { m_dataLabelsHasBeenSet = true; m_dataLabels = std::forward<DataLabelsT>(value); }
80 template<typename DataLabelsT = DataLabelOptions>
81 GaugeChartConfiguration& WithDataLabels(DataLabelsT&& value) { SetDataLabels(std::forward<DataLabelsT>(value)); return *this;}
83
85
88 inline const TooltipOptions& GetTooltipOptions() const { return m_tooltipOptions; }
89 inline bool TooltipOptionsHasBeenSet() const { return m_tooltipOptionsHasBeenSet; }
90 template<typename TooltipOptionsT = TooltipOptions>
91 void SetTooltipOptions(TooltipOptionsT&& value) { m_tooltipOptionsHasBeenSet = true; m_tooltipOptions = std::forward<TooltipOptionsT>(value); }
92 template<typename TooltipOptionsT = TooltipOptions>
93 GaugeChartConfiguration& WithTooltipOptions(TooltipOptionsT&& value) { SetTooltipOptions(std::forward<TooltipOptionsT>(value)); return *this;}
95
97
100 inline const VisualPalette& GetVisualPalette() const { return m_visualPalette; }
101 inline bool VisualPaletteHasBeenSet() const { return m_visualPaletteHasBeenSet; }
102 template<typename VisualPaletteT = VisualPalette>
103 void SetVisualPalette(VisualPaletteT&& value) { m_visualPaletteHasBeenSet = true; m_visualPalette = std::forward<VisualPaletteT>(value); }
104 template<typename VisualPaletteT = VisualPalette>
105 GaugeChartConfiguration& WithVisualPalette(VisualPaletteT&& value) { SetVisualPalette(std::forward<VisualPaletteT>(value)); return *this;}
107
109
112 inline const GaugeChartColorConfiguration& GetColorConfiguration() const { return m_colorConfiguration; }
113 inline bool ColorConfigurationHasBeenSet() const { return m_colorConfigurationHasBeenSet; }
114 template<typename ColorConfigurationT = GaugeChartColorConfiguration>
115 void SetColorConfiguration(ColorConfigurationT&& value) { m_colorConfigurationHasBeenSet = true; m_colorConfiguration = std::forward<ColorConfigurationT>(value); }
116 template<typename ColorConfigurationT = GaugeChartColorConfiguration>
117 GaugeChartConfiguration& WithColorConfiguration(ColorConfigurationT&& value) { SetColorConfiguration(std::forward<ColorConfigurationT>(value)); return *this;}
119
121
124 inline const VisualInteractionOptions& GetInteractions() const { return m_interactions; }
125 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
126 template<typename InteractionsT = VisualInteractionOptions>
127 void SetInteractions(InteractionsT&& value) { m_interactionsHasBeenSet = true; m_interactions = std::forward<InteractionsT>(value); }
128 template<typename InteractionsT = VisualInteractionOptions>
129 GaugeChartConfiguration& WithInteractions(InteractionsT&& value) { SetInteractions(std::forward<InteractionsT>(value)); return *this;}
131 private:
132
133 GaugeChartFieldWells m_fieldWells;
134 bool m_fieldWellsHasBeenSet = false;
135
136 GaugeChartOptions m_gaugeChartOptions;
137 bool m_gaugeChartOptionsHasBeenSet = false;
138
139 DataLabelOptions m_dataLabels;
140 bool m_dataLabelsHasBeenSet = false;
141
142 TooltipOptions m_tooltipOptions;
143 bool m_tooltipOptionsHasBeenSet = false;
144
145 VisualPalette m_visualPalette;
146 bool m_visualPaletteHasBeenSet = false;
147
148 GaugeChartColorConfiguration m_colorConfiguration;
149 bool m_colorConfigurationHasBeenSet = false;
150
151 VisualInteractionOptions m_interactions;
152 bool m_interactionsHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace QuickSight
157} // namespace Aws
GaugeChartConfiguration & WithInteractions(InteractionsT &&value)
const GaugeChartColorConfiguration & GetColorConfiguration() const
AWS_QUICKSIGHT_API GaugeChartConfiguration()=default
const VisualInteractionOptions & GetInteractions() const
GaugeChartConfiguration & WithGaugeChartOptions(GaugeChartOptionsT &&value)
GaugeChartConfiguration & WithTooltipOptions(TooltipOptionsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API GaugeChartConfiguration(Aws::Utils::Json::JsonView jsonValue)
GaugeChartConfiguration & WithDataLabels(DataLabelsT &&value)
const GaugeChartOptions & GetGaugeChartOptions() const
void SetColorConfiguration(ColorConfigurationT &&value)
GaugeChartConfiguration & WithFieldWells(FieldWellsT &&value)
const GaugeChartFieldWells & GetFieldWells() const
GaugeChartConfiguration & WithVisualPalette(VisualPaletteT &&value)
GaugeChartConfiguration & WithColorConfiguration(ColorConfigurationT &&value)
AWS_QUICKSIGHT_API GaugeChartConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue