AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
TooltipSheetDefinition.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/Layout.h>
11#include <aws/quicksight/model/SheetImage.h>
12#include <aws/quicksight/model/SheetTextBox.h>
13#include <aws/quicksight/model/Visual.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight {
25namespace Model {
26
35 public:
36 AWS_QUICKSIGHT_API TooltipSheetDefinition() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetSheetId() const { return m_sheetId; }
46 inline bool SheetIdHasBeenSet() const { return m_sheetIdHasBeenSet; }
47 template <typename SheetIdT = Aws::String>
48 void SetSheetId(SheetIdT&& value) {
49 m_sheetIdHasBeenSet = true;
50 m_sheetId = std::forward<SheetIdT>(value);
51 }
52 template <typename SheetIdT = Aws::String>
54 SetSheetId(std::forward<SheetIdT>(value));
55 return *this;
56 }
58
60
64 inline const Aws::String& GetName() const { return m_name; }
65 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
66 template <typename NameT = Aws::String>
67 void SetName(NameT&& value) {
68 m_nameHasBeenSet = true;
69 m_name = std::forward<NameT>(value);
70 }
71 template <typename NameT = Aws::String>
73 SetName(std::forward<NameT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::Vector<Visual>& GetVisuals() const { return m_visuals; }
83 inline bool VisualsHasBeenSet() const { return m_visualsHasBeenSet; }
84 template <typename VisualsT = Aws::Vector<Visual>>
85 void SetVisuals(VisualsT&& value) {
86 m_visualsHasBeenSet = true;
87 m_visuals = std::forward<VisualsT>(value);
88 }
89 template <typename VisualsT = Aws::Vector<Visual>>
91 SetVisuals(std::forward<VisualsT>(value));
92 return *this;
93 }
94 template <typename VisualsT = Visual>
96 m_visualsHasBeenSet = true;
97 m_visuals.emplace_back(std::forward<VisualsT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::Vector<SheetTextBox>& GetTextBoxes() const { return m_textBoxes; }
107 inline bool TextBoxesHasBeenSet() const { return m_textBoxesHasBeenSet; }
108 template <typename TextBoxesT = Aws::Vector<SheetTextBox>>
109 void SetTextBoxes(TextBoxesT&& value) {
110 m_textBoxesHasBeenSet = true;
111 m_textBoxes = std::forward<TextBoxesT>(value);
112 }
113 template <typename TextBoxesT = Aws::Vector<SheetTextBox>>
115 SetTextBoxes(std::forward<TextBoxesT>(value));
116 return *this;
117 }
118 template <typename TextBoxesT = SheetTextBox>
120 m_textBoxesHasBeenSet = true;
121 m_textBoxes.emplace_back(std::forward<TextBoxesT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::Vector<SheetImage>& GetImages() const { return m_images; }
131 inline bool ImagesHasBeenSet() const { return m_imagesHasBeenSet; }
132 template <typename ImagesT = Aws::Vector<SheetImage>>
133 void SetImages(ImagesT&& value) {
134 m_imagesHasBeenSet = true;
135 m_images = std::forward<ImagesT>(value);
136 }
137 template <typename ImagesT = Aws::Vector<SheetImage>>
139 SetImages(std::forward<ImagesT>(value));
140 return *this;
141 }
142 template <typename ImagesT = SheetImage>
144 m_imagesHasBeenSet = true;
145 m_images.emplace_back(std::forward<ImagesT>(value));
146 return *this;
147 }
149
151
157 inline const Aws::Vector<Layout>& GetLayouts() const { return m_layouts; }
158 inline bool LayoutsHasBeenSet() const { return m_layoutsHasBeenSet; }
159 template <typename LayoutsT = Aws::Vector<Layout>>
160 void SetLayouts(LayoutsT&& value) {
161 m_layoutsHasBeenSet = true;
162 m_layouts = std::forward<LayoutsT>(value);
163 }
164 template <typename LayoutsT = Aws::Vector<Layout>>
166 SetLayouts(std::forward<LayoutsT>(value));
167 return *this;
168 }
169 template <typename LayoutsT = Layout>
171 m_layoutsHasBeenSet = true;
172 m_layouts.emplace_back(std::forward<LayoutsT>(value));
173 return *this;
174 }
176 private:
177 Aws::String m_sheetId;
178
179 Aws::String m_name;
180
181 Aws::Vector<Visual> m_visuals;
182
183 Aws::Vector<SheetTextBox> m_textBoxes;
184
186
187 Aws::Vector<Layout> m_layouts;
188 bool m_sheetIdHasBeenSet = false;
189 bool m_nameHasBeenSet = false;
190 bool m_visualsHasBeenSet = false;
191 bool m_textBoxesHasBeenSet = false;
192 bool m_imagesHasBeenSet = false;
193 bool m_layoutsHasBeenSet = false;
194};
195
196} // namespace Model
197} // namespace QuickSight
198} // namespace Aws
TooltipSheetDefinition & WithName(NameT &&value)
AWS_QUICKSIGHT_API TooltipSheetDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
TooltipSheetDefinition & AddLayouts(LayoutsT &&value)
TooltipSheetDefinition & WithLayouts(LayoutsT &&value)
TooltipSheetDefinition & AddImages(ImagesT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API TooltipSheetDefinition(Aws::Utils::Json::JsonView jsonValue)
TooltipSheetDefinition & WithVisuals(VisualsT &&value)
const Aws::Vector< SheetImage > & GetImages() const
TooltipSheetDefinition & WithImages(ImagesT &&value)
TooltipSheetDefinition & AddTextBoxes(TextBoxesT &&value)
AWS_QUICKSIGHT_API TooltipSheetDefinition()=default
const Aws::Vector< Layout > & GetLayouts() const
const Aws::Vector< Visual > & GetVisuals() const
const Aws::Vector< SheetTextBox > & GetTextBoxes() const
TooltipSheetDefinition & AddVisuals(VisualsT &&value)
TooltipSheetDefinition & WithTextBoxes(TextBoxesT &&value)
TooltipSheetDefinition & WithSheetId(SheetIdT &&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