AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename TitleT = PanelTitleOptions>
51 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
52 template<typename TitleT = PanelTitleOptions>
53 PanelConfiguration& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
55
57
60 inline Visibility GetBorderVisibility() const { return m_borderVisibility; }
61 inline bool BorderVisibilityHasBeenSet() const { return m_borderVisibilityHasBeenSet; }
62 inline void SetBorderVisibility(Visibility value) { m_borderVisibilityHasBeenSet = true; m_borderVisibility = value; }
65
67
70 inline const Aws::String& GetBorderThickness() const { return m_borderThickness; }
71 inline bool BorderThicknessHasBeenSet() const { return m_borderThicknessHasBeenSet; }
72 template<typename BorderThicknessT = Aws::String>
73 void SetBorderThickness(BorderThicknessT&& value) { m_borderThicknessHasBeenSet = true; m_borderThickness = std::forward<BorderThicknessT>(value); }
74 template<typename BorderThicknessT = Aws::String>
75 PanelConfiguration& WithBorderThickness(BorderThicknessT&& value) { SetBorderThickness(std::forward<BorderThicknessT>(value)); return *this;}
77
79
82 inline PanelBorderStyle GetBorderStyle() const { return m_borderStyle; }
83 inline bool BorderStyleHasBeenSet() const { return m_borderStyleHasBeenSet; }
84 inline void SetBorderStyle(PanelBorderStyle value) { m_borderStyleHasBeenSet = true; m_borderStyle = value; }
85 inline PanelConfiguration& WithBorderStyle(PanelBorderStyle value) { SetBorderStyle(value); return *this;}
87
89
92 inline const Aws::String& GetBorderColor() const { return m_borderColor; }
93 inline bool BorderColorHasBeenSet() const { return m_borderColorHasBeenSet; }
94 template<typename BorderColorT = Aws::String>
95 void SetBorderColor(BorderColorT&& value) { m_borderColorHasBeenSet = true; m_borderColor = std::forward<BorderColorT>(value); }
96 template<typename BorderColorT = Aws::String>
97 PanelConfiguration& WithBorderColor(BorderColorT&& value) { SetBorderColor(std::forward<BorderColorT>(value)); return *this;}
99
101
105 inline Visibility GetGutterVisibility() const { return m_gutterVisibility; }
106 inline bool GutterVisibilityHasBeenSet() const { return m_gutterVisibilityHasBeenSet; }
107 inline void SetGutterVisibility(Visibility value) { m_gutterVisibilityHasBeenSet = true; m_gutterVisibility = value; }
110
112
116 inline const Aws::String& GetGutterSpacing() const { return m_gutterSpacing; }
117 inline bool GutterSpacingHasBeenSet() const { return m_gutterSpacingHasBeenSet; }
118 template<typename GutterSpacingT = Aws::String>
119 void SetGutterSpacing(GutterSpacingT&& value) { m_gutterSpacingHasBeenSet = true; m_gutterSpacing = std::forward<GutterSpacingT>(value); }
120 template<typename GutterSpacingT = Aws::String>
121 PanelConfiguration& WithGutterSpacing(GutterSpacingT&& value) { SetGutterSpacing(std::forward<GutterSpacingT>(value)); return *this;}
123
125
129 inline Visibility GetBackgroundVisibility() const { return m_backgroundVisibility; }
130 inline bool BackgroundVisibilityHasBeenSet() const { return m_backgroundVisibilityHasBeenSet; }
131 inline void SetBackgroundVisibility(Visibility value) { m_backgroundVisibilityHasBeenSet = true; m_backgroundVisibility = value; }
134
136
139 inline const Aws::String& GetBackgroundColor() const { return m_backgroundColor; }
140 inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; }
141 template<typename BackgroundColorT = Aws::String>
142 void SetBackgroundColor(BackgroundColorT&& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = std::forward<BackgroundColorT>(value); }
143 template<typename BackgroundColorT = Aws::String>
144 PanelConfiguration& WithBackgroundColor(BackgroundColorT&& value) { SetBackgroundColor(std::forward<BackgroundColorT>(value)); return *this;}
146 private:
147
148 PanelTitleOptions m_title;
149 bool m_titleHasBeenSet = false;
150
151 Visibility m_borderVisibility{Visibility::NOT_SET};
152 bool m_borderVisibilityHasBeenSet = false;
153
154 Aws::String m_borderThickness;
155 bool m_borderThicknessHasBeenSet = false;
156
158 bool m_borderStyleHasBeenSet = false;
159
160 Aws::String m_borderColor;
161 bool m_borderColorHasBeenSet = false;
162
163 Visibility m_gutterVisibility{Visibility::NOT_SET};
164 bool m_gutterVisibilityHasBeenSet = false;
165
166 Aws::String m_gutterSpacing;
167 bool m_gutterSpacingHasBeenSet = false;
168
169 Visibility m_backgroundVisibility{Visibility::NOT_SET};
170 bool m_backgroundVisibilityHasBeenSet = false;
171
172 Aws::String m_backgroundColor;
173 bool m_backgroundColorHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace QuickSight
178} // 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