AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FreeFormLayoutElement.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/LayoutElementType.h>
10#include <aws/quicksight/model/Visibility.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/quicksight/model/FreeFormLayoutElementBorderStyle.h>
13#include <aws/quicksight/model/FreeFormLayoutElementBackgroundStyle.h>
14#include <aws/quicksight/model/LoadingAnimation.h>
15#include <aws/quicksight/model/SheetElementRenderingRule.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace QuickSight
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_QUICKSIGHT_API FreeFormLayoutElement();
44 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetElementId() const{ return m_elementId; }
52 inline bool ElementIdHasBeenSet() const { return m_elementIdHasBeenSet; }
53 inline void SetElementId(const Aws::String& value) { m_elementIdHasBeenSet = true; m_elementId = value; }
54 inline void SetElementId(Aws::String&& value) { m_elementIdHasBeenSet = true; m_elementId = std::move(value); }
55 inline void SetElementId(const char* value) { m_elementIdHasBeenSet = true; m_elementId.assign(value); }
56 inline FreeFormLayoutElement& WithElementId(const Aws::String& value) { SetElementId(value); return *this;}
57 inline FreeFormLayoutElement& WithElementId(Aws::String&& value) { SetElementId(std::move(value)); return *this;}
58 inline FreeFormLayoutElement& WithElementId(const char* value) { SetElementId(value); return *this;}
60
62
65 inline const LayoutElementType& GetElementType() const{ return m_elementType; }
66 inline bool ElementTypeHasBeenSet() const { return m_elementTypeHasBeenSet; }
67 inline void SetElementType(const LayoutElementType& value) { m_elementTypeHasBeenSet = true; m_elementType = value; }
68 inline void SetElementType(LayoutElementType&& value) { m_elementTypeHasBeenSet = true; m_elementType = std::move(value); }
69 inline FreeFormLayoutElement& WithElementType(const LayoutElementType& value) { SetElementType(value); return *this;}
70 inline FreeFormLayoutElement& WithElementType(LayoutElementType&& value) { SetElementType(std::move(value)); return *this;}
72
74
77 inline const Aws::String& GetXAxisLocation() const{ return m_xAxisLocation; }
78 inline bool XAxisLocationHasBeenSet() const { return m_xAxisLocationHasBeenSet; }
79 inline void SetXAxisLocation(const Aws::String& value) { m_xAxisLocationHasBeenSet = true; m_xAxisLocation = value; }
80 inline void SetXAxisLocation(Aws::String&& value) { m_xAxisLocationHasBeenSet = true; m_xAxisLocation = std::move(value); }
81 inline void SetXAxisLocation(const char* value) { m_xAxisLocationHasBeenSet = true; m_xAxisLocation.assign(value); }
82 inline FreeFormLayoutElement& WithXAxisLocation(const Aws::String& value) { SetXAxisLocation(value); return *this;}
83 inline FreeFormLayoutElement& WithXAxisLocation(Aws::String&& value) { SetXAxisLocation(std::move(value)); return *this;}
84 inline FreeFormLayoutElement& WithXAxisLocation(const char* value) { SetXAxisLocation(value); return *this;}
86
88
91 inline const Aws::String& GetYAxisLocation() const{ return m_yAxisLocation; }
92 inline bool YAxisLocationHasBeenSet() const { return m_yAxisLocationHasBeenSet; }
93 inline void SetYAxisLocation(const Aws::String& value) { m_yAxisLocationHasBeenSet = true; m_yAxisLocation = value; }
94 inline void SetYAxisLocation(Aws::String&& value) { m_yAxisLocationHasBeenSet = true; m_yAxisLocation = std::move(value); }
95 inline void SetYAxisLocation(const char* value) { m_yAxisLocationHasBeenSet = true; m_yAxisLocation.assign(value); }
96 inline FreeFormLayoutElement& WithYAxisLocation(const Aws::String& value) { SetYAxisLocation(value); return *this;}
97 inline FreeFormLayoutElement& WithYAxisLocation(Aws::String&& value) { SetYAxisLocation(std::move(value)); return *this;}
98 inline FreeFormLayoutElement& WithYAxisLocation(const char* value) { SetYAxisLocation(value); return *this;}
100
102
105 inline const Aws::String& GetWidth() const{ return m_width; }
106 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
107 inline void SetWidth(const Aws::String& value) { m_widthHasBeenSet = true; m_width = value; }
108 inline void SetWidth(Aws::String&& value) { m_widthHasBeenSet = true; m_width = std::move(value); }
109 inline void SetWidth(const char* value) { m_widthHasBeenSet = true; m_width.assign(value); }
110 inline FreeFormLayoutElement& WithWidth(const Aws::String& value) { SetWidth(value); return *this;}
111 inline FreeFormLayoutElement& WithWidth(Aws::String&& value) { SetWidth(std::move(value)); return *this;}
112 inline FreeFormLayoutElement& WithWidth(const char* value) { SetWidth(value); return *this;}
114
116
119 inline const Aws::String& GetHeight() const{ return m_height; }
120 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
121 inline void SetHeight(const Aws::String& value) { m_heightHasBeenSet = true; m_height = value; }
122 inline void SetHeight(Aws::String&& value) { m_heightHasBeenSet = true; m_height = std::move(value); }
123 inline void SetHeight(const char* value) { m_heightHasBeenSet = true; m_height.assign(value); }
124 inline FreeFormLayoutElement& WithHeight(const Aws::String& value) { SetHeight(value); return *this;}
125 inline FreeFormLayoutElement& WithHeight(Aws::String&& value) { SetHeight(std::move(value)); return *this;}
126 inline FreeFormLayoutElement& WithHeight(const char* value) { SetHeight(value); return *this;}
128
130
133 inline const Visibility& GetVisibility() const{ return m_visibility; }
134 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
135 inline void SetVisibility(const Visibility& value) { m_visibilityHasBeenSet = true; m_visibility = value; }
136 inline void SetVisibility(Visibility&& value) { m_visibilityHasBeenSet = true; m_visibility = std::move(value); }
137 inline FreeFormLayoutElement& WithVisibility(const Visibility& value) { SetVisibility(value); return *this;}
138 inline FreeFormLayoutElement& WithVisibility(Visibility&& value) { SetVisibility(std::move(value)); return *this;}
140
142
146 inline const Aws::Vector<SheetElementRenderingRule>& GetRenderingRules() const{ return m_renderingRules; }
147 inline bool RenderingRulesHasBeenSet() const { return m_renderingRulesHasBeenSet; }
148 inline void SetRenderingRules(const Aws::Vector<SheetElementRenderingRule>& value) { m_renderingRulesHasBeenSet = true; m_renderingRules = value; }
149 inline void SetRenderingRules(Aws::Vector<SheetElementRenderingRule>&& value) { m_renderingRulesHasBeenSet = true; m_renderingRules = std::move(value); }
152 inline FreeFormLayoutElement& AddRenderingRules(const SheetElementRenderingRule& value) { m_renderingRulesHasBeenSet = true; m_renderingRules.push_back(value); return *this; }
153 inline FreeFormLayoutElement& AddRenderingRules(SheetElementRenderingRule&& value) { m_renderingRulesHasBeenSet = true; m_renderingRules.push_back(std::move(value)); return *this; }
155
157
160 inline const FreeFormLayoutElementBorderStyle& GetBorderStyle() const{ return m_borderStyle; }
161 inline bool BorderStyleHasBeenSet() const { return m_borderStyleHasBeenSet; }
162 inline void SetBorderStyle(const FreeFormLayoutElementBorderStyle& value) { m_borderStyleHasBeenSet = true; m_borderStyle = value; }
163 inline void SetBorderStyle(FreeFormLayoutElementBorderStyle&& value) { m_borderStyleHasBeenSet = true; m_borderStyle = std::move(value); }
167
169
173 inline const FreeFormLayoutElementBorderStyle& GetSelectedBorderStyle() const{ return m_selectedBorderStyle; }
174 inline bool SelectedBorderStyleHasBeenSet() const { return m_selectedBorderStyleHasBeenSet; }
175 inline void SetSelectedBorderStyle(const FreeFormLayoutElementBorderStyle& value) { m_selectedBorderStyleHasBeenSet = true; m_selectedBorderStyle = value; }
176 inline void SetSelectedBorderStyle(FreeFormLayoutElementBorderStyle&& value) { m_selectedBorderStyleHasBeenSet = true; m_selectedBorderStyle = std::move(value); }
180
182
185 inline const FreeFormLayoutElementBackgroundStyle& GetBackgroundStyle() const{ return m_backgroundStyle; }
186 inline bool BackgroundStyleHasBeenSet() const { return m_backgroundStyleHasBeenSet; }
187 inline void SetBackgroundStyle(const FreeFormLayoutElementBackgroundStyle& value) { m_backgroundStyleHasBeenSet = true; m_backgroundStyle = value; }
188 inline void SetBackgroundStyle(FreeFormLayoutElementBackgroundStyle&& value) { m_backgroundStyleHasBeenSet = true; m_backgroundStyle = std::move(value); }
192
194
197 inline const LoadingAnimation& GetLoadingAnimation() const{ return m_loadingAnimation; }
198 inline bool LoadingAnimationHasBeenSet() const { return m_loadingAnimationHasBeenSet; }
199 inline void SetLoadingAnimation(const LoadingAnimation& value) { m_loadingAnimationHasBeenSet = true; m_loadingAnimation = value; }
200 inline void SetLoadingAnimation(LoadingAnimation&& value) { m_loadingAnimationHasBeenSet = true; m_loadingAnimation = std::move(value); }
202 inline FreeFormLayoutElement& WithLoadingAnimation(LoadingAnimation&& value) { SetLoadingAnimation(std::move(value)); return *this;}
204 private:
205
206 Aws::String m_elementId;
207 bool m_elementIdHasBeenSet = false;
208
209 LayoutElementType m_elementType;
210 bool m_elementTypeHasBeenSet = false;
211
212 Aws::String m_xAxisLocation;
213 bool m_xAxisLocationHasBeenSet = false;
214
215 Aws::String m_yAxisLocation;
216 bool m_yAxisLocationHasBeenSet = false;
217
218 Aws::String m_width;
219 bool m_widthHasBeenSet = false;
220
221 Aws::String m_height;
222 bool m_heightHasBeenSet = false;
223
224 Visibility m_visibility;
225 bool m_visibilityHasBeenSet = false;
226
228 bool m_renderingRulesHasBeenSet = false;
229
231 bool m_borderStyleHasBeenSet = false;
232
233 FreeFormLayoutElementBorderStyle m_selectedBorderStyle;
234 bool m_selectedBorderStyleHasBeenSet = false;
235
236 FreeFormLayoutElementBackgroundStyle m_backgroundStyle;
237 bool m_backgroundStyleHasBeenSet = false;
238
239 LoadingAnimation m_loadingAnimation;
240 bool m_loadingAnimationHasBeenSet = false;
241 };
242
243} // namespace Model
244} // namespace QuickSight
245} // namespace Aws
FreeFormLayoutElement & WithHeight(const char *value)
const LayoutElementType & GetElementType() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
FreeFormLayoutElement & WithRenderingRules(Aws::Vector< SheetElementRenderingRule > &&value)
void SetBackgroundStyle(FreeFormLayoutElementBackgroundStyle &&value)
void SetBackgroundStyle(const FreeFormLayoutElementBackgroundStyle &value)
FreeFormLayoutElement & WithBorderStyle(const FreeFormLayoutElementBorderStyle &value)
void SetSelectedBorderStyle(FreeFormLayoutElementBorderStyle &&value)
FreeFormLayoutElement & WithXAxisLocation(Aws::String &&value)
const FreeFormLayoutElementBorderStyle & GetSelectedBorderStyle() const
FreeFormLayoutElement & WithVisibility(Visibility &&value)
const FreeFormLayoutElementBorderStyle & GetBorderStyle() const
FreeFormLayoutElement & AddRenderingRules(const SheetElementRenderingRule &value)
FreeFormLayoutElement & WithHeight(Aws::String &&value)
FreeFormLayoutElement & AddRenderingRules(SheetElementRenderingRule &&value)
void SetElementType(const LayoutElementType &value)
void SetRenderingRules(Aws::Vector< SheetElementRenderingRule > &&value)
FreeFormLayoutElement & WithWidth(const Aws::String &value)
const FreeFormLayoutElementBackgroundStyle & GetBackgroundStyle() const
FreeFormLayoutElement & WithRenderingRules(const Aws::Vector< SheetElementRenderingRule > &value)
AWS_QUICKSIGHT_API FreeFormLayoutElement(Aws::Utils::Json::JsonView jsonValue)
FreeFormLayoutElement & WithSelectedBorderStyle(FreeFormLayoutElementBorderStyle &&value)
FreeFormLayoutElement & WithYAxisLocation(const char *value)
const LoadingAnimation & GetLoadingAnimation() const
FreeFormLayoutElement & WithBackgroundStyle(const FreeFormLayoutElementBackgroundStyle &value)
FreeFormLayoutElement & WithElementType(const LayoutElementType &value)
FreeFormLayoutElement & WithXAxisLocation(const char *value)
void SetBorderStyle(FreeFormLayoutElementBorderStyle &&value)
const Aws::Vector< SheetElementRenderingRule > & GetRenderingRules() const
FreeFormLayoutElement & WithYAxisLocation(const Aws::String &value)
FreeFormLayoutElement & WithBackgroundStyle(FreeFormLayoutElementBackgroundStyle &&value)
FreeFormLayoutElement & WithElementType(LayoutElementType &&value)
FreeFormLayoutElement & WithYAxisLocation(Aws::String &&value)
FreeFormLayoutElement & WithLoadingAnimation(LoadingAnimation &&value)
FreeFormLayoutElement & WithElementId(const char *value)
FreeFormLayoutElement & WithWidth(Aws::String &&value)
FreeFormLayoutElement & WithSelectedBorderStyle(const FreeFormLayoutElementBorderStyle &value)
void SetLoadingAnimation(const LoadingAnimation &value)
void SetRenderingRules(const Aws::Vector< SheetElementRenderingRule > &value)
FreeFormLayoutElement & WithHeight(const Aws::String &value)
void SetBorderStyle(const FreeFormLayoutElementBorderStyle &value)
FreeFormLayoutElement & WithVisibility(const Visibility &value)
FreeFormLayoutElement & WithElementId(Aws::String &&value)
void SetSelectedBorderStyle(const FreeFormLayoutElementBorderStyle &value)
FreeFormLayoutElement & WithBorderStyle(FreeFormLayoutElementBorderStyle &&value)
FreeFormLayoutElement & WithLoadingAnimation(const LoadingAnimation &value)
FreeFormLayoutElement & WithElementId(const Aws::String &value)
AWS_QUICKSIGHT_API FreeFormLayoutElement & operator=(Aws::Utils::Json::JsonView jsonValue)
FreeFormLayoutElement & WithWidth(const char *value)
FreeFormLayoutElement & WithXAxisLocation(const Aws::String &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