AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/ParameterControl.h>
12#include <aws/quicksight/model/FilterControl.h>
13#include <aws/quicksight/model/Visual.h>
14#include <aws/quicksight/model/SheetTextBox.h>
15#include <aws/quicksight/model/Layout.h>
16#include <aws/quicksight/model/SheetControlLayout.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace QuickSight
30{
31namespace Model
32{
33
42 {
43 public:
44 AWS_QUICKSIGHT_API SheetDefinition();
45 AWS_QUICKSIGHT_API SheetDefinition(Aws::Utils::Json::JsonView jsonValue);
47 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const Aws::String& GetSheetId() const{ return m_sheetId; }
55 inline bool SheetIdHasBeenSet() const { return m_sheetIdHasBeenSet; }
56 inline void SetSheetId(const Aws::String& value) { m_sheetIdHasBeenSet = true; m_sheetId = value; }
57 inline void SetSheetId(Aws::String&& value) { m_sheetIdHasBeenSet = true; m_sheetId = std::move(value); }
58 inline void SetSheetId(const char* value) { m_sheetIdHasBeenSet = true; m_sheetId.assign(value); }
59 inline SheetDefinition& WithSheetId(const Aws::String& value) { SetSheetId(value); return *this;}
60 inline SheetDefinition& WithSheetId(Aws::String&& value) { SetSheetId(std::move(value)); return *this;}
61 inline SheetDefinition& WithSheetId(const char* value) { SetSheetId(value); return *this;}
63
65
68 inline const Aws::String& GetTitle() const{ return m_title; }
69 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
70 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
71 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
72 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
73 inline SheetDefinition& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
74 inline SheetDefinition& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
75 inline SheetDefinition& WithTitle(const char* value) { SetTitle(value); return *this;}
77
79
82 inline const Aws::String& GetDescription() const{ return m_description; }
83 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
84 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
85 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
86 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
87 inline SheetDefinition& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
88 inline SheetDefinition& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
89 inline SheetDefinition& WithDescription(const char* value) { SetDescription(value); return *this;}
91
93
97 inline const Aws::String& GetName() const{ return m_name; }
98 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
99 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
100 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
101 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
102 inline SheetDefinition& WithName(const Aws::String& value) { SetName(value); return *this;}
103 inline SheetDefinition& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
104 inline SheetDefinition& WithName(const char* value) { SetName(value); return *this;}
106
108
115 inline const Aws::Vector<ParameterControl>& GetParameterControls() const{ return m_parameterControls; }
116 inline bool ParameterControlsHasBeenSet() const { return m_parameterControlsHasBeenSet; }
117 inline void SetParameterControls(const Aws::Vector<ParameterControl>& value) { m_parameterControlsHasBeenSet = true; m_parameterControls = value; }
118 inline void SetParameterControls(Aws::Vector<ParameterControl>&& value) { m_parameterControlsHasBeenSet = true; m_parameterControls = std::move(value); }
121 inline SheetDefinition& AddParameterControls(const ParameterControl& value) { m_parameterControlsHasBeenSet = true; m_parameterControls.push_back(value); return *this; }
122 inline SheetDefinition& AddParameterControls(ParameterControl&& value) { m_parameterControlsHasBeenSet = true; m_parameterControls.push_back(std::move(value)); return *this; }
124
126
133 inline const Aws::Vector<FilterControl>& GetFilterControls() const{ return m_filterControls; }
134 inline bool FilterControlsHasBeenSet() const { return m_filterControlsHasBeenSet; }
135 inline void SetFilterControls(const Aws::Vector<FilterControl>& value) { m_filterControlsHasBeenSet = true; m_filterControls = value; }
136 inline void SetFilterControls(Aws::Vector<FilterControl>&& value) { m_filterControlsHasBeenSet = true; m_filterControls = std::move(value); }
138 inline SheetDefinition& WithFilterControls(Aws::Vector<FilterControl>&& value) { SetFilterControls(std::move(value)); return *this;}
139 inline SheetDefinition& AddFilterControls(const FilterControl& value) { m_filterControlsHasBeenSet = true; m_filterControls.push_back(value); return *this; }
140 inline SheetDefinition& AddFilterControls(FilterControl&& value) { m_filterControlsHasBeenSet = true; m_filterControls.push_back(std::move(value)); return *this; }
142
144
148 inline const Aws::Vector<Visual>& GetVisuals() const{ return m_visuals; }
149 inline bool VisualsHasBeenSet() const { return m_visualsHasBeenSet; }
150 inline void SetVisuals(const Aws::Vector<Visual>& value) { m_visualsHasBeenSet = true; m_visuals = value; }
151 inline void SetVisuals(Aws::Vector<Visual>&& value) { m_visualsHasBeenSet = true; m_visuals = std::move(value); }
152 inline SheetDefinition& WithVisuals(const Aws::Vector<Visual>& value) { SetVisuals(value); return *this;}
153 inline SheetDefinition& WithVisuals(Aws::Vector<Visual>&& value) { SetVisuals(std::move(value)); return *this;}
154 inline SheetDefinition& AddVisuals(const Visual& value) { m_visualsHasBeenSet = true; m_visuals.push_back(value); return *this; }
155 inline SheetDefinition& AddVisuals(Visual&& value) { m_visualsHasBeenSet = true; m_visuals.push_back(std::move(value)); return *this; }
157
159
162 inline const Aws::Vector<SheetTextBox>& GetTextBoxes() const{ return m_textBoxes; }
163 inline bool TextBoxesHasBeenSet() const { return m_textBoxesHasBeenSet; }
164 inline void SetTextBoxes(const Aws::Vector<SheetTextBox>& value) { m_textBoxesHasBeenSet = true; m_textBoxes = value; }
165 inline void SetTextBoxes(Aws::Vector<SheetTextBox>&& value) { m_textBoxesHasBeenSet = true; m_textBoxes = std::move(value); }
166 inline SheetDefinition& WithTextBoxes(const Aws::Vector<SheetTextBox>& value) { SetTextBoxes(value); return *this;}
167 inline SheetDefinition& WithTextBoxes(Aws::Vector<SheetTextBox>&& value) { SetTextBoxes(std::move(value)); return *this;}
168 inline SheetDefinition& AddTextBoxes(const SheetTextBox& value) { m_textBoxesHasBeenSet = true; m_textBoxes.push_back(value); return *this; }
169 inline SheetDefinition& AddTextBoxes(SheetTextBox&& value) { m_textBoxesHasBeenSet = true; m_textBoxes.push_back(std::move(value)); return *this; }
171
173
179 inline const Aws::Vector<Layout>& GetLayouts() const{ return m_layouts; }
180 inline bool LayoutsHasBeenSet() const { return m_layoutsHasBeenSet; }
181 inline void SetLayouts(const Aws::Vector<Layout>& value) { m_layoutsHasBeenSet = true; m_layouts = value; }
182 inline void SetLayouts(Aws::Vector<Layout>&& value) { m_layoutsHasBeenSet = true; m_layouts = std::move(value); }
183 inline SheetDefinition& WithLayouts(const Aws::Vector<Layout>& value) { SetLayouts(value); return *this;}
184 inline SheetDefinition& WithLayouts(Aws::Vector<Layout>&& value) { SetLayouts(std::move(value)); return *this;}
185 inline SheetDefinition& AddLayouts(const Layout& value) { m_layoutsHasBeenSet = true; m_layouts.push_back(value); return *this; }
186 inline SheetDefinition& AddLayouts(Layout&& value) { m_layoutsHasBeenSet = true; m_layouts.push_back(std::move(value)); return *this; }
188
190
193 inline const Aws::Vector<SheetControlLayout>& GetSheetControlLayouts() const{ return m_sheetControlLayouts; }
194 inline bool SheetControlLayoutsHasBeenSet() const { return m_sheetControlLayoutsHasBeenSet; }
195 inline void SetSheetControlLayouts(const Aws::Vector<SheetControlLayout>& value) { m_sheetControlLayoutsHasBeenSet = true; m_sheetControlLayouts = value; }
196 inline void SetSheetControlLayouts(Aws::Vector<SheetControlLayout>&& value) { m_sheetControlLayoutsHasBeenSet = true; m_sheetControlLayouts = std::move(value); }
199 inline SheetDefinition& AddSheetControlLayouts(const SheetControlLayout& value) { m_sheetControlLayoutsHasBeenSet = true; m_sheetControlLayouts.push_back(value); return *this; }
200 inline SheetDefinition& AddSheetControlLayouts(SheetControlLayout&& value) { m_sheetControlLayoutsHasBeenSet = true; m_sheetControlLayouts.push_back(std::move(value)); return *this; }
202
204
210 inline const SheetContentType& GetContentType() const{ return m_contentType; }
211 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
212 inline void SetContentType(const SheetContentType& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
213 inline void SetContentType(SheetContentType&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
214 inline SheetDefinition& WithContentType(const SheetContentType& value) { SetContentType(value); return *this;}
215 inline SheetDefinition& WithContentType(SheetContentType&& value) { SetContentType(std::move(value)); return *this;}
217 private:
218
219 Aws::String m_sheetId;
220 bool m_sheetIdHasBeenSet = false;
221
222 Aws::String m_title;
223 bool m_titleHasBeenSet = false;
224
225 Aws::String m_description;
226 bool m_descriptionHasBeenSet = false;
227
228 Aws::String m_name;
229 bool m_nameHasBeenSet = false;
230
231 Aws::Vector<ParameterControl> m_parameterControls;
232 bool m_parameterControlsHasBeenSet = false;
233
234 Aws::Vector<FilterControl> m_filterControls;
235 bool m_filterControlsHasBeenSet = false;
236
237 Aws::Vector<Visual> m_visuals;
238 bool m_visualsHasBeenSet = false;
239
240 Aws::Vector<SheetTextBox> m_textBoxes;
241 bool m_textBoxesHasBeenSet = false;
242
243 Aws::Vector<Layout> m_layouts;
244 bool m_layoutsHasBeenSet = false;
245
246 Aws::Vector<SheetControlLayout> m_sheetControlLayouts;
247 bool m_sheetControlLayoutsHasBeenSet = false;
248
249 SheetContentType m_contentType;
250 bool m_contentTypeHasBeenSet = false;
251 };
252
253} // namespace Model
254} // namespace QuickSight
255} // namespace Aws
const Aws::Vector< Visual > & GetVisuals() const
SheetDefinition & WithParameterControls(Aws::Vector< ParameterControl > &&value)
SheetDefinition & AddLayouts(const Layout &value)
SheetDefinition & AddParameterControls(ParameterControl &&value)
SheetDefinition & AddFilterControls(FilterControl &&value)
void SetSheetId(const Aws::String &value)
SheetDefinition & WithVisuals(const Aws::Vector< Visual > &value)
const Aws::Vector< ParameterControl > & GetParameterControls() const
SheetDefinition & WithLayouts(Aws::Vector< Layout > &&value)
void SetParameterControls(Aws::Vector< ParameterControl > &&value)
SheetDefinition & WithTitle(const char *value)
const Aws::Vector< FilterControl > & GetFilterControls() const
void SetContentType(const SheetContentType &value)
AWS_QUICKSIGHT_API SheetDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
SheetDefinition & WithSheetId(const char *value)
const Aws::Vector< SheetControlLayout > & GetSheetControlLayouts() const
void SetSheetControlLayouts(Aws::Vector< SheetControlLayout > &&value)
SheetDefinition & WithSheetId(const Aws::String &value)
void SetVisuals(const Aws::Vector< Visual > &value)
const Aws::String & GetDescription() const
SheetDefinition & WithDescription(Aws::String &&value)
SheetDefinition & WithName(const char *value)
void SetTitle(const Aws::String &value)
const Aws::Vector< SheetTextBox > & GetTextBoxes() const
SheetDefinition & WithVisuals(Aws::Vector< Visual > &&value)
void SetName(const Aws::String &value)
SheetDefinition & AddTextBoxes(const SheetTextBox &value)
SheetDefinition & AddVisuals(const Visual &value)
AWS_QUICKSIGHT_API SheetDefinition(Aws::Utils::Json::JsonView jsonValue)
SheetDefinition & AddTextBoxes(SheetTextBox &&value)
void SetFilterControls(const Aws::Vector< FilterControl > &value)
SheetDefinition & WithName(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetVisuals(Aws::Vector< Visual > &&value)
SheetDefinition & WithSheetControlLayouts(const Aws::Vector< SheetControlLayout > &value)
SheetDefinition & WithDescription(const Aws::String &value)
const SheetContentType & GetContentType() const
void SetLayouts(const Aws::Vector< Layout > &value)
SheetDefinition & WithSheetId(Aws::String &&value)
SheetDefinition & WithTextBoxes(Aws::Vector< SheetTextBox > &&value)
SheetDefinition & WithTextBoxes(const Aws::Vector< SheetTextBox > &value)
void SetContentType(SheetContentType &&value)
SheetDefinition & WithParameterControls(const Aws::Vector< ParameterControl > &value)
void SetTextBoxes(const Aws::Vector< SheetTextBox > &value)
SheetDefinition & AddFilterControls(const FilterControl &value)
SheetDefinition & AddSheetControlLayouts(SheetControlLayout &&value)
void SetTextBoxes(Aws::Vector< SheetTextBox > &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
SheetDefinition & WithFilterControls(const Aws::Vector< FilterControl > &value)
SheetDefinition & WithContentType(SheetContentType &&value)
SheetDefinition & WithTitle(Aws::String &&value)
SheetDefinition & WithName(const Aws::String &value)
SheetDefinition & WithContentType(const SheetContentType &value)
const Aws::String & GetSheetId() const
SheetDefinition & AddVisuals(Visual &&value)
SheetDefinition & WithLayouts(const Aws::Vector< Layout > &value)
void SetDescription(const Aws::String &value)
void SetSheetControlLayouts(const Aws::Vector< SheetControlLayout > &value)
void SetFilterControls(Aws::Vector< FilterControl > &&value)
SheetDefinition & AddSheetControlLayouts(const SheetControlLayout &value)
SheetDefinition & WithFilterControls(Aws::Vector< FilterControl > &&value)
SheetDefinition & WithTitle(const Aws::String &value)
SheetDefinition & AddParameterControls(const ParameterControl &value)
const Aws::String & GetTitle() const
const Aws::Vector< Layout > & GetLayouts() const
SheetDefinition & WithDescription(const char *value)
SheetDefinition & WithSheetControlLayouts(Aws::Vector< SheetControlLayout > &&value)
SheetDefinition & AddLayouts(Layout &&value)
const Aws::String & GetName() const
void SetLayouts(Aws::Vector< Layout > &&value)
void SetParameterControls(const Aws::Vector< ParameterControl > &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