AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
PanelConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/PanelBorderStyle.h>
10#include <aws/quicksight/model/PanelTitleOptions.h>
11#include <aws/quicksight/model/Visibility.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
24
32 public:
33 AWS_QUICKSIGHT_API PanelConfiguration() = default;
34 AWS_QUICKSIGHT_API PanelConfiguration(Aws::Utils::Json::JsonView jsonValue);
36 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const PanelTitleOptions& GetTitle() const { return m_title; }
43 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
44 template <typename TitleT = PanelTitleOptions>
45 void SetTitle(TitleT&& value) {
46 m_titleHasBeenSet = true;
47 m_title = std::forward<TitleT>(value);
48 }
49 template <typename TitleT = PanelTitleOptions>
50 PanelConfiguration& WithTitle(TitleT&& value) {
51 SetTitle(std::forward<TitleT>(value));
52 return *this;
53 }
55
57
60 inline Visibility GetBorderVisibility() const { return m_borderVisibility; }
61 inline bool BorderVisibilityHasBeenSet() const { return m_borderVisibilityHasBeenSet; }
62 inline void SetBorderVisibility(Visibility value) {
63 m_borderVisibilityHasBeenSet = true;
64 m_borderVisibility = value;
65 }
68 return *this;
69 }
71
73
76 inline const Aws::String& GetBorderThickness() const { return m_borderThickness; }
77 inline bool BorderThicknessHasBeenSet() const { return m_borderThicknessHasBeenSet; }
78 template <typename BorderThicknessT = Aws::String>
79 void SetBorderThickness(BorderThicknessT&& value) {
80 m_borderThicknessHasBeenSet = true;
81 m_borderThickness = std::forward<BorderThicknessT>(value);
82 }
83 template <typename BorderThicknessT = Aws::String>
84 PanelConfiguration& WithBorderThickness(BorderThicknessT&& value) {
85 SetBorderThickness(std::forward<BorderThicknessT>(value));
86 return *this;
87 }
89
91
94 inline PanelBorderStyle GetBorderStyle() const { return m_borderStyle; }
95 inline bool BorderStyleHasBeenSet() const { return m_borderStyleHasBeenSet; }
96 inline void SetBorderStyle(PanelBorderStyle value) {
97 m_borderStyleHasBeenSet = true;
98 m_borderStyle = value;
99 }
101 SetBorderStyle(value);
102 return *this;
103 }
105
107
110 inline const Aws::String& GetBorderColor() const { return m_borderColor; }
111 inline bool BorderColorHasBeenSet() const { return m_borderColorHasBeenSet; }
112 template <typename BorderColorT = Aws::String>
113 void SetBorderColor(BorderColorT&& value) {
114 m_borderColorHasBeenSet = true;
115 m_borderColor = std::forward<BorderColorT>(value);
116 }
117 template <typename BorderColorT = Aws::String>
118 PanelConfiguration& WithBorderColor(BorderColorT&& value) {
119 SetBorderColor(std::forward<BorderColorT>(value));
120 return *this;
121 }
123
125
129 inline Visibility GetGutterVisibility() const { return m_gutterVisibility; }
130 inline bool GutterVisibilityHasBeenSet() const { return m_gutterVisibilityHasBeenSet; }
131 inline void SetGutterVisibility(Visibility value) {
132 m_gutterVisibilityHasBeenSet = true;
133 m_gutterVisibility = value;
134 }
136 SetGutterVisibility(value);
137 return *this;
138 }
140
142
146 inline const Aws::String& GetGutterSpacing() const { return m_gutterSpacing; }
147 inline bool GutterSpacingHasBeenSet() const { return m_gutterSpacingHasBeenSet; }
148 template <typename GutterSpacingT = Aws::String>
149 void SetGutterSpacing(GutterSpacingT&& value) {
150 m_gutterSpacingHasBeenSet = true;
151 m_gutterSpacing = std::forward<GutterSpacingT>(value);
152 }
153 template <typename GutterSpacingT = Aws::String>
154 PanelConfiguration& WithGutterSpacing(GutterSpacingT&& value) {
155 SetGutterSpacing(std::forward<GutterSpacingT>(value));
156 return *this;
157 }
159
161
165 inline Visibility GetBackgroundVisibility() const { return m_backgroundVisibility; }
166 inline bool BackgroundVisibilityHasBeenSet() const { return m_backgroundVisibilityHasBeenSet; }
168 m_backgroundVisibilityHasBeenSet = true;
169 m_backgroundVisibility = value;
170 }
173 return *this;
174 }
176
178
181 inline const Aws::String& GetBackgroundColor() const { return m_backgroundColor; }
182 inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; }
183 template <typename BackgroundColorT = Aws::String>
184 void SetBackgroundColor(BackgroundColorT&& value) {
185 m_backgroundColorHasBeenSet = true;
186 m_backgroundColor = std::forward<BackgroundColorT>(value);
187 }
188 template <typename BackgroundColorT = Aws::String>
189 PanelConfiguration& WithBackgroundColor(BackgroundColorT&& value) {
190 SetBackgroundColor(std::forward<BackgroundColorT>(value));
191 return *this;
192 }
194 private:
195 PanelTitleOptions m_title;
196
197 Visibility m_borderVisibility{Visibility::NOT_SET};
198
199 Aws::String m_borderThickness;
200
202
203 Aws::String m_borderColor;
204
205 Visibility m_gutterVisibility{Visibility::NOT_SET};
206
207 Aws::String m_gutterSpacing;
208
209 Visibility m_backgroundVisibility{Visibility::NOT_SET};
210
211 Aws::String m_backgroundColor;
212 bool m_titleHasBeenSet = false;
213 bool m_borderVisibilityHasBeenSet = false;
214 bool m_borderThicknessHasBeenSet = false;
215 bool m_borderStyleHasBeenSet = false;
216 bool m_borderColorHasBeenSet = false;
217 bool m_gutterVisibilityHasBeenSet = false;
218 bool m_gutterSpacingHasBeenSet = false;
219 bool m_backgroundVisibilityHasBeenSet = false;
220 bool m_backgroundColorHasBeenSet = false;
221};
222
223} // namespace Model
224} // namespace QuickSight
225} // namespace Aws
AWS_QUICKSIGHT_API PanelConfiguration()=default
AWS_QUICKSIGHT_API PanelConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
PanelConfiguration & WithGutterSpacing(GutterSpacingT &&value)
PanelConfiguration & WithGutterVisibility(Visibility value)
PanelConfiguration & WithBackgroundVisibility(Visibility value)
AWS_QUICKSIGHT_API PanelConfiguration(Aws::Utils::Json::JsonView jsonValue)
PanelConfiguration & WithBorderVisibility(Visibility value)
const Aws::String & GetBorderThickness() const
void SetBorderStyle(PanelBorderStyle value)
PanelConfiguration & WithTitle(TitleT &&value)
PanelConfiguration & WithBorderThickness(BorderThicknessT &&value)
void SetGutterSpacing(GutterSpacingT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
PanelConfiguration & WithBorderStyle(PanelBorderStyle value)
const PanelTitleOptions & GetTitle() const
void SetBackgroundColor(BackgroundColorT &&value)
void SetBorderThickness(BorderThicknessT &&value)
PanelConfiguration & WithBorderColor(BorderColorT &&value)
PanelConfiguration & WithBackgroundColor(BackgroundColorT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue