AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SheetDefinition.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/SheetContentType.h>
11#include <aws/quicksight/model/VisualCustomActionDefaults.h>
12#include <aws/quicksight/model/ParameterControl.h>
13#include <aws/quicksight/model/FilterControl.h>
14#include <aws/quicksight/model/Visual.h>
15#include <aws/quicksight/model/SheetTextBox.h>
16#include <aws/quicksight/model/SheetImage.h>
17#include <aws/quicksight/model/Layout.h>
18#include <aws/quicksight/model/SheetControlLayout.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28 class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace QuickSight
32{
33namespace Model
34{
35
44 {
45 public:
46 AWS_QUICKSIGHT_API SheetDefinition() = default;
47 AWS_QUICKSIGHT_API SheetDefinition(Aws::Utils::Json::JsonView jsonValue);
49 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
56 inline const Aws::String& GetSheetId() const { return m_sheetId; }
57 inline bool SheetIdHasBeenSet() const { return m_sheetIdHasBeenSet; }
58 template<typename SheetIdT = Aws::String>
59 void SetSheetId(SheetIdT&& value) { m_sheetIdHasBeenSet = true; m_sheetId = std::forward<SheetIdT>(value); }
60 template<typename SheetIdT = Aws::String>
61 SheetDefinition& WithSheetId(SheetIdT&& value) { SetSheetId(std::forward<SheetIdT>(value)); return *this;}
63
65
68 inline const Aws::String& GetTitle() const { return m_title; }
69 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
70 template<typename TitleT = Aws::String>
71 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
72 template<typename TitleT = Aws::String>
73 SheetDefinition& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
75
77
80 inline const Aws::String& GetDescription() const { return m_description; }
81 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
82 template<typename DescriptionT = Aws::String>
83 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
84 template<typename DescriptionT = Aws::String>
85 SheetDefinition& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
87
89
93 inline const Aws::String& GetName() const { return m_name; }
94 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
95 template<typename NameT = Aws::String>
96 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
97 template<typename NameT = Aws::String>
98 SheetDefinition& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
100
102
109 inline const Aws::Vector<ParameterControl>& GetParameterControls() const { return m_parameterControls; }
110 inline bool ParameterControlsHasBeenSet() const { return m_parameterControlsHasBeenSet; }
111 template<typename ParameterControlsT = Aws::Vector<ParameterControl>>
112 void SetParameterControls(ParameterControlsT&& value) { m_parameterControlsHasBeenSet = true; m_parameterControls = std::forward<ParameterControlsT>(value); }
113 template<typename ParameterControlsT = Aws::Vector<ParameterControl>>
114 SheetDefinition& WithParameterControls(ParameterControlsT&& value) { SetParameterControls(std::forward<ParameterControlsT>(value)); return *this;}
115 template<typename ParameterControlsT = ParameterControl>
116 SheetDefinition& AddParameterControls(ParameterControlsT&& value) { m_parameterControlsHasBeenSet = true; m_parameterControls.emplace_back(std::forward<ParameterControlsT>(value)); return *this; }
118
120
127 inline const Aws::Vector<FilterControl>& GetFilterControls() const { return m_filterControls; }
128 inline bool FilterControlsHasBeenSet() const { return m_filterControlsHasBeenSet; }
129 template<typename FilterControlsT = Aws::Vector<FilterControl>>
130 void SetFilterControls(FilterControlsT&& value) { m_filterControlsHasBeenSet = true; m_filterControls = std::forward<FilterControlsT>(value); }
131 template<typename FilterControlsT = Aws::Vector<FilterControl>>
132 SheetDefinition& WithFilterControls(FilterControlsT&& value) { SetFilterControls(std::forward<FilterControlsT>(value)); return *this;}
133 template<typename FilterControlsT = FilterControl>
134 SheetDefinition& AddFilterControls(FilterControlsT&& value) { m_filterControlsHasBeenSet = true; m_filterControls.emplace_back(std::forward<FilterControlsT>(value)); return *this; }
136
138
142 inline const Aws::Vector<Visual>& GetVisuals() const { return m_visuals; }
143 inline bool VisualsHasBeenSet() const { return m_visualsHasBeenSet; }
144 template<typename VisualsT = Aws::Vector<Visual>>
145 void SetVisuals(VisualsT&& value) { m_visualsHasBeenSet = true; m_visuals = std::forward<VisualsT>(value); }
146 template<typename VisualsT = Aws::Vector<Visual>>
147 SheetDefinition& WithVisuals(VisualsT&& value) { SetVisuals(std::forward<VisualsT>(value)); return *this;}
148 template<typename VisualsT = Visual>
149 SheetDefinition& AddVisuals(VisualsT&& value) { m_visualsHasBeenSet = true; m_visuals.emplace_back(std::forward<VisualsT>(value)); return *this; }
151
153
156 inline const Aws::Vector<SheetTextBox>& GetTextBoxes() const { return m_textBoxes; }
157 inline bool TextBoxesHasBeenSet() const { return m_textBoxesHasBeenSet; }
158 template<typename TextBoxesT = Aws::Vector<SheetTextBox>>
159 void SetTextBoxes(TextBoxesT&& value) { m_textBoxesHasBeenSet = true; m_textBoxes = std::forward<TextBoxesT>(value); }
160 template<typename TextBoxesT = Aws::Vector<SheetTextBox>>
161 SheetDefinition& WithTextBoxes(TextBoxesT&& value) { SetTextBoxes(std::forward<TextBoxesT>(value)); return *this;}
162 template<typename TextBoxesT = SheetTextBox>
163 SheetDefinition& AddTextBoxes(TextBoxesT&& value) { m_textBoxesHasBeenSet = true; m_textBoxes.emplace_back(std::forward<TextBoxesT>(value)); return *this; }
165
167
170 inline const Aws::Vector<SheetImage>& GetImages() const { return m_images; }
171 inline bool ImagesHasBeenSet() const { return m_imagesHasBeenSet; }
172 template<typename ImagesT = Aws::Vector<SheetImage>>
173 void SetImages(ImagesT&& value) { m_imagesHasBeenSet = true; m_images = std::forward<ImagesT>(value); }
174 template<typename ImagesT = Aws::Vector<SheetImage>>
175 SheetDefinition& WithImages(ImagesT&& value) { SetImages(std::forward<ImagesT>(value)); return *this;}
176 template<typename ImagesT = SheetImage>
177 SheetDefinition& AddImages(ImagesT&& value) { m_imagesHasBeenSet = true; m_images.emplace_back(std::forward<ImagesT>(value)); return *this; }
179
181
187 inline const Aws::Vector<Layout>& GetLayouts() const { return m_layouts; }
188 inline bool LayoutsHasBeenSet() const { return m_layoutsHasBeenSet; }
189 template<typename LayoutsT = Aws::Vector<Layout>>
190 void SetLayouts(LayoutsT&& value) { m_layoutsHasBeenSet = true; m_layouts = std::forward<LayoutsT>(value); }
191 template<typename LayoutsT = Aws::Vector<Layout>>
192 SheetDefinition& WithLayouts(LayoutsT&& value) { SetLayouts(std::forward<LayoutsT>(value)); return *this;}
193 template<typename LayoutsT = Layout>
194 SheetDefinition& AddLayouts(LayoutsT&& value) { m_layoutsHasBeenSet = true; m_layouts.emplace_back(std::forward<LayoutsT>(value)); return *this; }
196
198
201 inline const Aws::Vector<SheetControlLayout>& GetSheetControlLayouts() const { return m_sheetControlLayouts; }
202 inline bool SheetControlLayoutsHasBeenSet() const { return m_sheetControlLayoutsHasBeenSet; }
203 template<typename SheetControlLayoutsT = Aws::Vector<SheetControlLayout>>
204 void SetSheetControlLayouts(SheetControlLayoutsT&& value) { m_sheetControlLayoutsHasBeenSet = true; m_sheetControlLayouts = std::forward<SheetControlLayoutsT>(value); }
205 template<typename SheetControlLayoutsT = Aws::Vector<SheetControlLayout>>
206 SheetDefinition& WithSheetControlLayouts(SheetControlLayoutsT&& value) { SetSheetControlLayouts(std::forward<SheetControlLayoutsT>(value)); return *this;}
207 template<typename SheetControlLayoutsT = SheetControlLayout>
208 SheetDefinition& AddSheetControlLayouts(SheetControlLayoutsT&& value) { m_sheetControlLayoutsHasBeenSet = true; m_sheetControlLayouts.emplace_back(std::forward<SheetControlLayoutsT>(value)); return *this; }
210
212
218 inline SheetContentType GetContentType() const { return m_contentType; }
219 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
220 inline void SetContentType(SheetContentType value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
221 inline SheetDefinition& WithContentType(SheetContentType value) { SetContentType(value); return *this;}
223
225
228 inline const VisualCustomActionDefaults& GetCustomActionDefaults() const { return m_customActionDefaults; }
229 inline bool CustomActionDefaultsHasBeenSet() const { return m_customActionDefaultsHasBeenSet; }
230 template<typename CustomActionDefaultsT = VisualCustomActionDefaults>
231 void SetCustomActionDefaults(CustomActionDefaultsT&& value) { m_customActionDefaultsHasBeenSet = true; m_customActionDefaults = std::forward<CustomActionDefaultsT>(value); }
232 template<typename CustomActionDefaultsT = VisualCustomActionDefaults>
233 SheetDefinition& WithCustomActionDefaults(CustomActionDefaultsT&& value) { SetCustomActionDefaults(std::forward<CustomActionDefaultsT>(value)); return *this;}
235 private:
236
237 Aws::String m_sheetId;
238 bool m_sheetIdHasBeenSet = false;
239
240 Aws::String m_title;
241 bool m_titleHasBeenSet = false;
242
243 Aws::String m_description;
244 bool m_descriptionHasBeenSet = false;
245
246 Aws::String m_name;
247 bool m_nameHasBeenSet = false;
248
249 Aws::Vector<ParameterControl> m_parameterControls;
250 bool m_parameterControlsHasBeenSet = false;
251
252 Aws::Vector<FilterControl> m_filterControls;
253 bool m_filterControlsHasBeenSet = false;
254
255 Aws::Vector<Visual> m_visuals;
256 bool m_visualsHasBeenSet = false;
257
258 Aws::Vector<SheetTextBox> m_textBoxes;
259 bool m_textBoxesHasBeenSet = false;
260
262 bool m_imagesHasBeenSet = false;
263
264 Aws::Vector<Layout> m_layouts;
265 bool m_layoutsHasBeenSet = false;
266
267 Aws::Vector<SheetControlLayout> m_sheetControlLayouts;
268 bool m_sheetControlLayoutsHasBeenSet = false;
269
271 bool m_contentTypeHasBeenSet = false;
272
273 VisualCustomActionDefaults m_customActionDefaults;
274 bool m_customActionDefaultsHasBeenSet = false;
275 };
276
277} // namespace Model
278} // namespace QuickSight
279} // namespace Aws
AWS_QUICKSIGHT_API SheetDefinition()=default
const Aws::Vector< Visual > & GetVisuals() const
const VisualCustomActionDefaults & GetCustomActionDefaults() const
SheetDefinition & WithSheetControlLayouts(SheetControlLayoutsT &&value)
const Aws::Vector< ParameterControl > & GetParameterControls() const
SheetDefinition & AddTextBoxes(TextBoxesT &&value)
const Aws::Vector< FilterControl > & GetFilterControls() const
SheetDefinition & WithParameterControls(ParameterControlsT &&value)
SheetDefinition & WithDescription(DescriptionT &&value)
AWS_QUICKSIGHT_API SheetDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< SheetControlLayout > & GetSheetControlLayouts() const
SheetDefinition & WithCustomActionDefaults(CustomActionDefaultsT &&value)
SheetDefinition & WithTitle(TitleT &&value)
SheetDefinition & AddParameterControls(ParameterControlsT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
void SetSheetControlLayouts(SheetControlLayoutsT &&value)
SheetDefinition & WithImages(ImagesT &&value)
const Aws::Vector< SheetTextBox > & GetTextBoxes() const
SheetDefinition & WithLayouts(LayoutsT &&value)
AWS_QUICKSIGHT_API SheetDefinition(Aws::Utils::Json::JsonView jsonValue)
void SetFilterControls(FilterControlsT &&value)
SheetDefinition & WithContentType(SheetContentType value)
SheetDefinition & AddImages(ImagesT &&value)
SheetDefinition & AddFilterControls(FilterControlsT &&value)
SheetDefinition & AddSheetControlLayouts(SheetControlLayoutsT &&value)
const Aws::Vector< SheetImage > & GetImages() const
SheetDefinition & WithName(NameT &&value)
void SetContentType(SheetContentType value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
SheetDefinition & WithTextBoxes(TextBoxesT &&value)
SheetDefinition & AddLayouts(LayoutsT &&value)
SheetDefinition & WithFilterControls(FilterControlsT &&value)
SheetDefinition & WithVisuals(VisualsT &&value)
const Aws::String & GetSheetId() const
void SetCustomActionDefaults(CustomActionDefaultsT &&value)
void SetParameterControls(ParameterControlsT &&value)
SheetDefinition & WithSheetId(SheetIdT &&value)
const Aws::String & GetTitle() const
const Aws::Vector< Layout > & GetLayouts() const
const Aws::String & GetName() const
SheetDefinition & AddVisuals(VisualsT &&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