AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PanelConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/PanelTitleOptions.h>
9#include <aws/quicksight/model/Visibility.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/quicksight/model/PanelBorderStyle.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_QUICKSIGHT_API PanelConfiguration();
39 AWS_QUICKSIGHT_API PanelConfiguration(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const PanelTitleOptions& GetTitle() const{ return m_title; }
49 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
50 inline void SetTitle(const PanelTitleOptions& value) { m_titleHasBeenSet = true; m_title = value; }
51 inline void SetTitle(PanelTitleOptions&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
52 inline PanelConfiguration& WithTitle(const PanelTitleOptions& value) { SetTitle(value); return *this;}
53 inline PanelConfiguration& WithTitle(PanelTitleOptions&& value) { SetTitle(std::move(value)); return *this;}
55
57
60 inline const Visibility& GetBorderVisibility() const{ return m_borderVisibility; }
61 inline bool BorderVisibilityHasBeenSet() const { return m_borderVisibilityHasBeenSet; }
62 inline void SetBorderVisibility(const Visibility& value) { m_borderVisibilityHasBeenSet = true; m_borderVisibility = value; }
63 inline void SetBorderVisibility(Visibility&& value) { m_borderVisibilityHasBeenSet = true; m_borderVisibility = std::move(value); }
64 inline PanelConfiguration& WithBorderVisibility(const Visibility& value) { SetBorderVisibility(value); return *this;}
65 inline PanelConfiguration& WithBorderVisibility(Visibility&& value) { SetBorderVisibility(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetBorderThickness() const{ return m_borderThickness; }
73 inline bool BorderThicknessHasBeenSet() const { return m_borderThicknessHasBeenSet; }
74 inline void SetBorderThickness(const Aws::String& value) { m_borderThicknessHasBeenSet = true; m_borderThickness = value; }
75 inline void SetBorderThickness(Aws::String&& value) { m_borderThicknessHasBeenSet = true; m_borderThickness = std::move(value); }
76 inline void SetBorderThickness(const char* value) { m_borderThicknessHasBeenSet = true; m_borderThickness.assign(value); }
77 inline PanelConfiguration& WithBorderThickness(const Aws::String& value) { SetBorderThickness(value); return *this;}
78 inline PanelConfiguration& WithBorderThickness(Aws::String&& value) { SetBorderThickness(std::move(value)); return *this;}
79 inline PanelConfiguration& WithBorderThickness(const char* value) { SetBorderThickness(value); return *this;}
81
83
86 inline const PanelBorderStyle& GetBorderStyle() const{ return m_borderStyle; }
87 inline bool BorderStyleHasBeenSet() const { return m_borderStyleHasBeenSet; }
88 inline void SetBorderStyle(const PanelBorderStyle& value) { m_borderStyleHasBeenSet = true; m_borderStyle = value; }
89 inline void SetBorderStyle(PanelBorderStyle&& value) { m_borderStyleHasBeenSet = true; m_borderStyle = std::move(value); }
90 inline PanelConfiguration& WithBorderStyle(const PanelBorderStyle& value) { SetBorderStyle(value); return *this;}
91 inline PanelConfiguration& WithBorderStyle(PanelBorderStyle&& value) { SetBorderStyle(std::move(value)); return *this;}
93
95
98 inline const Aws::String& GetBorderColor() const{ return m_borderColor; }
99 inline bool BorderColorHasBeenSet() const { return m_borderColorHasBeenSet; }
100 inline void SetBorderColor(const Aws::String& value) { m_borderColorHasBeenSet = true; m_borderColor = value; }
101 inline void SetBorderColor(Aws::String&& value) { m_borderColorHasBeenSet = true; m_borderColor = std::move(value); }
102 inline void SetBorderColor(const char* value) { m_borderColorHasBeenSet = true; m_borderColor.assign(value); }
103 inline PanelConfiguration& WithBorderColor(const Aws::String& value) { SetBorderColor(value); return *this;}
104 inline PanelConfiguration& WithBorderColor(Aws::String&& value) { SetBorderColor(std::move(value)); return *this;}
105 inline PanelConfiguration& WithBorderColor(const char* value) { SetBorderColor(value); return *this;}
107
109
113 inline const Visibility& GetGutterVisibility() const{ return m_gutterVisibility; }
114 inline bool GutterVisibilityHasBeenSet() const { return m_gutterVisibilityHasBeenSet; }
115 inline void SetGutterVisibility(const Visibility& value) { m_gutterVisibilityHasBeenSet = true; m_gutterVisibility = value; }
116 inline void SetGutterVisibility(Visibility&& value) { m_gutterVisibilityHasBeenSet = true; m_gutterVisibility = std::move(value); }
117 inline PanelConfiguration& WithGutterVisibility(const Visibility& value) { SetGutterVisibility(value); return *this;}
118 inline PanelConfiguration& WithGutterVisibility(Visibility&& value) { SetGutterVisibility(std::move(value)); return *this;}
120
122
126 inline const Aws::String& GetGutterSpacing() const{ return m_gutterSpacing; }
127 inline bool GutterSpacingHasBeenSet() const { return m_gutterSpacingHasBeenSet; }
128 inline void SetGutterSpacing(const Aws::String& value) { m_gutterSpacingHasBeenSet = true; m_gutterSpacing = value; }
129 inline void SetGutterSpacing(Aws::String&& value) { m_gutterSpacingHasBeenSet = true; m_gutterSpacing = std::move(value); }
130 inline void SetGutterSpacing(const char* value) { m_gutterSpacingHasBeenSet = true; m_gutterSpacing.assign(value); }
131 inline PanelConfiguration& WithGutterSpacing(const Aws::String& value) { SetGutterSpacing(value); return *this;}
132 inline PanelConfiguration& WithGutterSpacing(Aws::String&& value) { SetGutterSpacing(std::move(value)); return *this;}
133 inline PanelConfiguration& WithGutterSpacing(const char* value) { SetGutterSpacing(value); return *this;}
135
137
141 inline const Visibility& GetBackgroundVisibility() const{ return m_backgroundVisibility; }
142 inline bool BackgroundVisibilityHasBeenSet() const { return m_backgroundVisibilityHasBeenSet; }
143 inline void SetBackgroundVisibility(const Visibility& value) { m_backgroundVisibilityHasBeenSet = true; m_backgroundVisibility = value; }
144 inline void SetBackgroundVisibility(Visibility&& value) { m_backgroundVisibilityHasBeenSet = true; m_backgroundVisibility = std::move(value); }
146 inline PanelConfiguration& WithBackgroundVisibility(Visibility&& value) { SetBackgroundVisibility(std::move(value)); return *this;}
148
150
153 inline const Aws::String& GetBackgroundColor() const{ return m_backgroundColor; }
154 inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; }
155 inline void SetBackgroundColor(const Aws::String& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = value; }
156 inline void SetBackgroundColor(Aws::String&& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = std::move(value); }
157 inline void SetBackgroundColor(const char* value) { m_backgroundColorHasBeenSet = true; m_backgroundColor.assign(value); }
158 inline PanelConfiguration& WithBackgroundColor(const Aws::String& value) { SetBackgroundColor(value); return *this;}
159 inline PanelConfiguration& WithBackgroundColor(Aws::String&& value) { SetBackgroundColor(std::move(value)); return *this;}
160 inline PanelConfiguration& WithBackgroundColor(const char* value) { SetBackgroundColor(value); return *this;}
162 private:
163
164 PanelTitleOptions m_title;
165 bool m_titleHasBeenSet = false;
166
167 Visibility m_borderVisibility;
168 bool m_borderVisibilityHasBeenSet = false;
169
170 Aws::String m_borderThickness;
171 bool m_borderThicknessHasBeenSet = false;
172
173 PanelBorderStyle m_borderStyle;
174 bool m_borderStyleHasBeenSet = false;
175
176 Aws::String m_borderColor;
177 bool m_borderColorHasBeenSet = false;
178
179 Visibility m_gutterVisibility;
180 bool m_gutterVisibilityHasBeenSet = false;
181
182 Aws::String m_gutterSpacing;
183 bool m_gutterSpacingHasBeenSet = false;
184
185 Visibility m_backgroundVisibility;
186 bool m_backgroundVisibilityHasBeenSet = false;
187
188 Aws::String m_backgroundColor;
189 bool m_backgroundColorHasBeenSet = false;
190 };
191
192} // namespace Model
193} // namespace QuickSight
194} // namespace Aws
void SetGutterVisibility(const Visibility &value)
PanelConfiguration & WithGutterSpacing(const char *value)
PanelConfiguration & WithBorderVisibility(const Visibility &value)
PanelConfiguration & WithBorderColor(const char *value)
void SetTitle(PanelTitleOptions &&value)
AWS_QUICKSIGHT_API PanelConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBorderColor(const Aws::String &value)
PanelConfiguration & WithBackgroundVisibility(const Visibility &value)
PanelConfiguration & WithTitle(const PanelTitleOptions &value)
PanelConfiguration & WithBackgroundColor(const char *value)
PanelConfiguration & WithBorderStyle(const PanelBorderStyle &value)
void SetBackgroundColor(const Aws::String &value)
PanelConfiguration & WithGutterVisibility(const Visibility &value)
const Visibility & GetBackgroundVisibility() const
PanelConfiguration & WithBorderColor(const Aws::String &value)
PanelConfiguration & WithBackgroundColor(Aws::String &&value)
PanelConfiguration & WithBackgroundColor(const Aws::String &value)
AWS_QUICKSIGHT_API PanelConfiguration(Aws::Utils::Json::JsonView jsonValue)
PanelConfiguration & WithBackgroundVisibility(Visibility &&value)
const Aws::String & GetBorderThickness() const
PanelConfiguration & WithTitle(PanelTitleOptions &&value)
void SetBorderThickness(const Aws::String &value)
void SetBorderStyle(PanelBorderStyle &&value)
PanelConfiguration & WithGutterSpacing(const Aws::String &value)
PanelConfiguration & WithBorderVisibility(Visibility &&value)
void SetBorderVisibility(const Visibility &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const PanelBorderStyle & GetBorderStyle() const
void SetBorderStyle(const PanelBorderStyle &value)
void SetBackgroundVisibility(const Visibility &value)
PanelConfiguration & WithGutterVisibility(Visibility &&value)
PanelConfiguration & WithBorderThickness(Aws::String &&value)
const PanelTitleOptions & GetTitle() const
PanelConfiguration & WithBorderThickness(const char *value)
void SetTitle(const PanelTitleOptions &value)
PanelConfiguration & WithGutterSpacing(Aws::String &&value)
void SetGutterSpacing(const Aws::String &value)
PanelConfiguration & WithBorderStyle(PanelBorderStyle &&value)
PanelConfiguration & WithBorderThickness(const Aws::String &value)
PanelConfiguration & WithBorderColor(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue