AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataLabelOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/Visibility.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/DataLabelPosition.h>
11#include <aws/quicksight/model/DataLabelContent.h>
12#include <aws/quicksight/model/FontConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/quicksight/model/DataLabelOverlap.h>
15#include <aws/quicksight/model/DataLabelType.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace QuickSight
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_QUICKSIGHT_API DataLabelOptions();
43 AWS_QUICKSIGHT_API DataLabelOptions(Aws::Utils::Json::JsonView jsonValue);
45 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Visibility& GetVisibility() const{ return m_visibility; }
53 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
54 inline void SetVisibility(const Visibility& value) { m_visibilityHasBeenSet = true; m_visibility = value; }
55 inline void SetVisibility(Visibility&& value) { m_visibilityHasBeenSet = true; m_visibility = std::move(value); }
56 inline DataLabelOptions& WithVisibility(const Visibility& value) { SetVisibility(value); return *this;}
57 inline DataLabelOptions& WithVisibility(Visibility&& value) { SetVisibility(std::move(value)); return *this;}
59
61
64 inline const Visibility& GetCategoryLabelVisibility() const{ return m_categoryLabelVisibility; }
65 inline bool CategoryLabelVisibilityHasBeenSet() const { return m_categoryLabelVisibilityHasBeenSet; }
66 inline void SetCategoryLabelVisibility(const Visibility& value) { m_categoryLabelVisibilityHasBeenSet = true; m_categoryLabelVisibility = value; }
67 inline void SetCategoryLabelVisibility(Visibility&& value) { m_categoryLabelVisibilityHasBeenSet = true; m_categoryLabelVisibility = std::move(value); }
69 inline DataLabelOptions& WithCategoryLabelVisibility(Visibility&& value) { SetCategoryLabelVisibility(std::move(value)); return *this;}
71
73
76 inline const Visibility& GetMeasureLabelVisibility() const{ return m_measureLabelVisibility; }
77 inline bool MeasureLabelVisibilityHasBeenSet() const { return m_measureLabelVisibilityHasBeenSet; }
78 inline void SetMeasureLabelVisibility(const Visibility& value) { m_measureLabelVisibilityHasBeenSet = true; m_measureLabelVisibility = value; }
79 inline void SetMeasureLabelVisibility(Visibility&& value) { m_measureLabelVisibilityHasBeenSet = true; m_measureLabelVisibility = std::move(value); }
81 inline DataLabelOptions& WithMeasureLabelVisibility(Visibility&& value) { SetMeasureLabelVisibility(std::move(value)); return *this;}
83
85
88 inline const Aws::Vector<DataLabelType>& GetDataLabelTypes() const{ return m_dataLabelTypes; }
89 inline bool DataLabelTypesHasBeenSet() const { return m_dataLabelTypesHasBeenSet; }
90 inline void SetDataLabelTypes(const Aws::Vector<DataLabelType>& value) { m_dataLabelTypesHasBeenSet = true; m_dataLabelTypes = value; }
91 inline void SetDataLabelTypes(Aws::Vector<DataLabelType>&& value) { m_dataLabelTypesHasBeenSet = true; m_dataLabelTypes = std::move(value); }
93 inline DataLabelOptions& WithDataLabelTypes(Aws::Vector<DataLabelType>&& value) { SetDataLabelTypes(std::move(value)); return *this;}
94 inline DataLabelOptions& AddDataLabelTypes(const DataLabelType& value) { m_dataLabelTypesHasBeenSet = true; m_dataLabelTypes.push_back(value); return *this; }
95 inline DataLabelOptions& AddDataLabelTypes(DataLabelType&& value) { m_dataLabelTypesHasBeenSet = true; m_dataLabelTypes.push_back(std::move(value)); return *this; }
97
99
102 inline const DataLabelPosition& GetPosition() const{ return m_position; }
103 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
104 inline void SetPosition(const DataLabelPosition& value) { m_positionHasBeenSet = true; m_position = value; }
105 inline void SetPosition(DataLabelPosition&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
106 inline DataLabelOptions& WithPosition(const DataLabelPosition& value) { SetPosition(value); return *this;}
107 inline DataLabelOptions& WithPosition(DataLabelPosition&& value) { SetPosition(std::move(value)); return *this;}
109
111
114 inline const DataLabelContent& GetLabelContent() const{ return m_labelContent; }
115 inline bool LabelContentHasBeenSet() const { return m_labelContentHasBeenSet; }
116 inline void SetLabelContent(const DataLabelContent& value) { m_labelContentHasBeenSet = true; m_labelContent = value; }
117 inline void SetLabelContent(DataLabelContent&& value) { m_labelContentHasBeenSet = true; m_labelContent = std::move(value); }
118 inline DataLabelOptions& WithLabelContent(const DataLabelContent& value) { SetLabelContent(value); return *this;}
119 inline DataLabelOptions& WithLabelContent(DataLabelContent&& value) { SetLabelContent(std::move(value)); return *this;}
121
123
126 inline const FontConfiguration& GetLabelFontConfiguration() const{ return m_labelFontConfiguration; }
127 inline bool LabelFontConfigurationHasBeenSet() const { return m_labelFontConfigurationHasBeenSet; }
128 inline void SetLabelFontConfiguration(const FontConfiguration& value) { m_labelFontConfigurationHasBeenSet = true; m_labelFontConfiguration = value; }
129 inline void SetLabelFontConfiguration(FontConfiguration&& value) { m_labelFontConfigurationHasBeenSet = true; m_labelFontConfiguration = std::move(value); }
133
135
138 inline const Aws::String& GetLabelColor() const{ return m_labelColor; }
139 inline bool LabelColorHasBeenSet() const { return m_labelColorHasBeenSet; }
140 inline void SetLabelColor(const Aws::String& value) { m_labelColorHasBeenSet = true; m_labelColor = value; }
141 inline void SetLabelColor(Aws::String&& value) { m_labelColorHasBeenSet = true; m_labelColor = std::move(value); }
142 inline void SetLabelColor(const char* value) { m_labelColorHasBeenSet = true; m_labelColor.assign(value); }
143 inline DataLabelOptions& WithLabelColor(const Aws::String& value) { SetLabelColor(value); return *this;}
144 inline DataLabelOptions& WithLabelColor(Aws::String&& value) { SetLabelColor(std::move(value)); return *this;}
145 inline DataLabelOptions& WithLabelColor(const char* value) { SetLabelColor(value); return *this;}
147
149
152 inline const DataLabelOverlap& GetOverlap() const{ return m_overlap; }
153 inline bool OverlapHasBeenSet() const { return m_overlapHasBeenSet; }
154 inline void SetOverlap(const DataLabelOverlap& value) { m_overlapHasBeenSet = true; m_overlap = value; }
155 inline void SetOverlap(DataLabelOverlap&& value) { m_overlapHasBeenSet = true; m_overlap = std::move(value); }
156 inline DataLabelOptions& WithOverlap(const DataLabelOverlap& value) { SetOverlap(value); return *this;}
157 inline DataLabelOptions& WithOverlap(DataLabelOverlap&& value) { SetOverlap(std::move(value)); return *this;}
159
161
164 inline const Visibility& GetTotalsVisibility() const{ return m_totalsVisibility; }
165 inline bool TotalsVisibilityHasBeenSet() const { return m_totalsVisibilityHasBeenSet; }
166 inline void SetTotalsVisibility(const Visibility& value) { m_totalsVisibilityHasBeenSet = true; m_totalsVisibility = value; }
167 inline void SetTotalsVisibility(Visibility&& value) { m_totalsVisibilityHasBeenSet = true; m_totalsVisibility = std::move(value); }
168 inline DataLabelOptions& WithTotalsVisibility(const Visibility& value) { SetTotalsVisibility(value); return *this;}
169 inline DataLabelOptions& WithTotalsVisibility(Visibility&& value) { SetTotalsVisibility(std::move(value)); return *this;}
171 private:
172
173 Visibility m_visibility;
174 bool m_visibilityHasBeenSet = false;
175
176 Visibility m_categoryLabelVisibility;
177 bool m_categoryLabelVisibilityHasBeenSet = false;
178
179 Visibility m_measureLabelVisibility;
180 bool m_measureLabelVisibilityHasBeenSet = false;
181
182 Aws::Vector<DataLabelType> m_dataLabelTypes;
183 bool m_dataLabelTypesHasBeenSet = false;
184
185 DataLabelPosition m_position;
186 bool m_positionHasBeenSet = false;
187
188 DataLabelContent m_labelContent;
189 bool m_labelContentHasBeenSet = false;
190
191 FontConfiguration m_labelFontConfiguration;
192 bool m_labelFontConfigurationHasBeenSet = false;
193
194 Aws::String m_labelColor;
195 bool m_labelColorHasBeenSet = false;
196
197 DataLabelOverlap m_overlap;
198 bool m_overlapHasBeenSet = false;
199
200 Visibility m_totalsVisibility;
201 bool m_totalsVisibilityHasBeenSet = false;
202 };
203
204} // namespace Model
205} // namespace QuickSight
206} // namespace Aws
const Aws::Vector< DataLabelType > & GetDataLabelTypes() const
DataLabelOptions & WithPosition(const DataLabelPosition &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
DataLabelOptions & WithLabelContent(DataLabelContent &&value)
DataLabelOptions & WithLabelContent(const DataLabelContent &value)
const Visibility & GetTotalsVisibility() const
DataLabelOptions & WithDataLabelTypes(const Aws::Vector< DataLabelType > &value)
void SetCategoryLabelVisibility(Visibility &&value)
void SetLabelContent(DataLabelContent &&value)
void SetLabelColor(const Aws::String &value)
DataLabelOptions & AddDataLabelTypes(const DataLabelType &value)
void SetMeasureLabelVisibility(Visibility &&value)
const Aws::String & GetLabelColor() const
void SetPosition(DataLabelPosition &&value)
DataLabelOptions & WithCategoryLabelVisibility(const Visibility &value)
void SetVisibility(const Visibility &value)
DataLabelOptions & WithOverlap(const DataLabelOverlap &value)
void SetTotalsVisibility(const Visibility &value)
void SetLabelContent(const DataLabelContent &value)
void SetLabelFontConfiguration(FontConfiguration &&value)
const Visibility & GetVisibility() const
DataLabelOptions & WithLabelColor(const char *value)
DataLabelOptions & WithOverlap(DataLabelOverlap &&value)
DataLabelOptions & WithVisibility(const Visibility &value)
const DataLabelContent & GetLabelContent() const
AWS_QUICKSIGHT_API DataLabelOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API DataLabelOptions(Aws::Utils::Json::JsonView jsonValue)
void SetDataLabelTypes(const Aws::Vector< DataLabelType > &value)
void SetOverlap(const DataLabelOverlap &value)
const DataLabelOverlap & GetOverlap() const
void SetLabelFontConfiguration(const FontConfiguration &value)
void SetMeasureLabelVisibility(const Visibility &value)
void SetCategoryLabelVisibility(const Visibility &value)
const Visibility & GetMeasureLabelVisibility() const
DataLabelOptions & WithMeasureLabelVisibility(Visibility &&value)
const DataLabelPosition & GetPosition() const
DataLabelOptions & WithLabelFontConfiguration(const FontConfiguration &value)
DataLabelOptions & WithTotalsVisibility(const Visibility &value)
DataLabelOptions & WithLabelColor(const Aws::String &value)
DataLabelOptions & WithDataLabelTypes(Aws::Vector< DataLabelType > &&value)
void SetOverlap(DataLabelOverlap &&value)
const Visibility & GetCategoryLabelVisibility() const
void SetDataLabelTypes(Aws::Vector< DataLabelType > &&value)
DataLabelOptions & WithVisibility(Visibility &&value)
DataLabelOptions & WithMeasureLabelVisibility(const Visibility &value)
DataLabelOptions & WithLabelFontConfiguration(FontConfiguration &&value)
DataLabelOptions & AddDataLabelTypes(DataLabelType &&value)
const FontConfiguration & GetLabelFontConfiguration() const
DataLabelOptions & WithTotalsVisibility(Visibility &&value)
DataLabelOptions & WithPosition(DataLabelPosition &&value)
DataLabelOptions & WithLabelColor(Aws::String &&value)
void SetPosition(const DataLabelPosition &value)
DataLabelOptions & WithCategoryLabelVisibility(Visibility &&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