7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/GridLayoutElementBackgroundStyle.h>
10#include <aws/quicksight/model/GridLayoutElementBorderStyle.h>
11#include <aws/quicksight/model/LayoutElementType.h>
12#include <aws/quicksight/model/LoadingAnimation.h>
44 template <
typename ElementIdT = Aws::String>
46 m_elementIdHasBeenSet =
true;
47 m_elementId = std::forward<ElementIdT>(value);
49 template <
typename ElementIdT = Aws::String>
63 m_elementTypeHasBeenSet =
true;
64 m_elementType = value;
79 m_columnIndexHasBeenSet =
true;
80 m_columnIndex = value;
95 m_columnSpanHasBeenSet =
true;
111 m_rowIndexHasBeenSet =
true;
127 m_rowSpanHasBeenSet =
true;
142 template <
typename BorderStyleT = Gr
idLayoutElementBorderStyle>
144 m_borderStyleHasBeenSet =
true;
145 m_borderStyle = std::forward<BorderStyleT>(value);
147 template <
typename BorderStyleT = Gr
idLayoutElementBorderStyle>
161 template <
typename SelectedBorderStyleT = Gr
idLayoutElementBorderStyle>
163 m_selectedBorderStyleHasBeenSet =
true;
164 m_selectedBorderStyle = std::forward<SelectedBorderStyleT>(value);
166 template <
typename SelectedBorderStyleT = Gr
idLayoutElementBorderStyle>
179 template <
typename BackgroundStyleT = Gr
idLayoutElementBackgroundStyle>
181 m_backgroundStyleHasBeenSet =
true;
182 m_backgroundStyle = std::forward<BackgroundStyleT>(value);
184 template <
typename BackgroundStyleT = Gr
idLayoutElementBackgroundStyle>
195 template <
typename LoadingAnimationT = LoadingAnimation>
197 m_loadingAnimationHasBeenSet =
true;
198 m_loadingAnimation = std::forward<LoadingAnimationT>(value);
200 template <
typename LoadingAnimationT = LoadingAnimation>
213 template <
typename BorderRadiusT = Aws::String>
215 m_borderRadiusHasBeenSet =
true;
216 m_borderRadius = std::forward<BorderRadiusT>(value);
218 template <
typename BorderRadiusT = Aws::String>
231 template <
typename PaddingT = Aws::String>
233 m_paddingHasBeenSet =
true;
234 m_padding = std::forward<PaddingT>(value);
236 template <
typename PaddingT = Aws::String>
247 int m_columnIndex{0};
255 GridLayoutElementBorderStyle m_borderStyle;
257 GridLayoutElementBorderStyle m_selectedBorderStyle;
259 GridLayoutElementBackgroundStyle m_backgroundStyle;
261 LoadingAnimation m_loadingAnimation;
266 bool m_elementIdHasBeenSet =
false;
267 bool m_elementTypeHasBeenSet =
false;
268 bool m_columnIndexHasBeenSet =
false;
269 bool m_columnSpanHasBeenSet =
false;
270 bool m_rowIndexHasBeenSet =
false;
271 bool m_rowSpanHasBeenSet =
false;
272 bool m_borderStyleHasBeenSet =
false;
273 bool m_selectedBorderStyleHasBeenSet =
false;
274 bool m_backgroundStyleHasBeenSet =
false;
275 bool m_loadingAnimationHasBeenSet =
false;
276 bool m_borderRadiusHasBeenSet =
false;
277 bool m_paddingHasBeenSet =
false;
bool ElementIdHasBeenSet() const
GridLayoutElement & WithRowSpan(int value)
const LoadingAnimation & GetLoadingAnimation() const
bool RowSpanHasBeenSet() const
void SetBackgroundStyle(BackgroundStyleT &&value)
void SetElementId(ElementIdT &&value)
void SetBorderStyle(BorderStyleT &&value)
const GridLayoutElementBackgroundStyle & GetBackgroundStyle() const
const Aws::String & GetBorderRadius() const
void SetBorderRadius(BorderRadiusT &&value)
GridLayoutElement & WithElementId(ElementIdT &&value)
void SetRowIndex(int value)
void SetPadding(PaddingT &&value)
bool ColumnIndexHasBeenSet() const
const Aws::String & GetElementId() const
GridLayoutElement & WithBorderRadius(BorderRadiusT &&value)
bool BorderRadiusHasBeenSet() const
GridLayoutElement & WithPadding(PaddingT &&value)
bool ColumnSpanHasBeenSet() const
void SetColumnIndex(int value)
bool SelectedBorderStyleHasBeenSet() const
void SetColumnSpan(int value)
GridLayoutElement & WithBorderStyle(BorderStyleT &&value)
bool ElementTypeHasBeenSet() const
void SetRowSpan(int value)
AWS_QUICKSIGHT_API GridLayoutElement & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API GridLayoutElement()=default
GridLayoutElement & WithLoadingAnimation(LoadingAnimationT &&value)
GridLayoutElement & WithBackgroundStyle(BackgroundStyleT &&value)
int GetColumnSpan() const
bool LoadingAnimationHasBeenSet() const
int GetColumnIndex() const
GridLayoutElement & WithColumnIndex(int value)
GridLayoutElement & WithElementType(LayoutElementType value)
LayoutElementType GetElementType() const
void SetSelectedBorderStyle(SelectedBorderStyleT &&value)
bool RowIndexHasBeenSet() const
GridLayoutElement & WithSelectedBorderStyle(SelectedBorderStyleT &&value)
void SetElementType(LayoutElementType value)
bool BackgroundStyleHasBeenSet() const
GridLayoutElement & WithColumnSpan(int value)
const Aws::String & GetPadding() const
void SetLoadingAnimation(LoadingAnimationT &&value)
const GridLayoutElementBorderStyle & GetBorderStyle() const
bool PaddingHasBeenSet() const
AWS_QUICKSIGHT_API GridLayoutElement(Aws::Utils::Json::JsonView jsonValue)
GridLayoutElement & WithRowIndex(int value)
const GridLayoutElementBorderStyle & GetSelectedBorderStyle() const
bool BorderStyleHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue