AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GridLayoutElement.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QUICKSIGHT_API GridLayoutElement() = default;
36 AWS_QUICKSIGHT_API GridLayoutElement(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetElementId() const { return m_elementId; }
46 inline bool ElementIdHasBeenSet() const { return m_elementIdHasBeenSet; }
47 template<typename ElementIdT = Aws::String>
48 void SetElementId(ElementIdT&& value) { m_elementIdHasBeenSet = true; m_elementId = std::forward<ElementIdT>(value); }
49 template<typename ElementIdT = Aws::String>
50 GridLayoutElement& WithElementId(ElementIdT&& value) { SetElementId(std::forward<ElementIdT>(value)); return *this;}
52
54
57 inline LayoutElementType GetElementType() const { return m_elementType; }
58 inline bool ElementTypeHasBeenSet() const { return m_elementTypeHasBeenSet; }
59 inline void SetElementType(LayoutElementType value) { m_elementTypeHasBeenSet = true; m_elementType = value; }
60 inline GridLayoutElement& WithElementType(LayoutElementType value) { SetElementType(value); return *this;}
62
64
67 inline int GetColumnIndex() const { return m_columnIndex; }
68 inline bool ColumnIndexHasBeenSet() const { return m_columnIndexHasBeenSet; }
69 inline void SetColumnIndex(int value) { m_columnIndexHasBeenSet = true; m_columnIndex = value; }
70 inline GridLayoutElement& WithColumnIndex(int value) { SetColumnIndex(value); return *this;}
72
74
77 inline int GetColumnSpan() const { return m_columnSpan; }
78 inline bool ColumnSpanHasBeenSet() const { return m_columnSpanHasBeenSet; }
79 inline void SetColumnSpan(int value) { m_columnSpanHasBeenSet = true; m_columnSpan = value; }
80 inline GridLayoutElement& WithColumnSpan(int value) { SetColumnSpan(value); return *this;}
82
84
87 inline int GetRowIndex() const { return m_rowIndex; }
88 inline bool RowIndexHasBeenSet() const { return m_rowIndexHasBeenSet; }
89 inline void SetRowIndex(int value) { m_rowIndexHasBeenSet = true; m_rowIndex = value; }
90 inline GridLayoutElement& WithRowIndex(int value) { SetRowIndex(value); return *this;}
92
94
97 inline int GetRowSpan() const { return m_rowSpan; }
98 inline bool RowSpanHasBeenSet() const { return m_rowSpanHasBeenSet; }
99 inline void SetRowSpan(int value) { m_rowSpanHasBeenSet = true; m_rowSpan = value; }
100 inline GridLayoutElement& WithRowSpan(int value) { SetRowSpan(value); return *this;}
102 private:
103
104 Aws::String m_elementId;
105 bool m_elementIdHasBeenSet = false;
106
108 bool m_elementTypeHasBeenSet = false;
109
110 int m_columnIndex{0};
111 bool m_columnIndexHasBeenSet = false;
112
113 int m_columnSpan{0};
114 bool m_columnSpanHasBeenSet = false;
115
116 int m_rowIndex{0};
117 bool m_rowIndexHasBeenSet = false;
118
119 int m_rowSpan{0};
120 bool m_rowSpanHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace QuickSight
125} // namespace Aws
GridLayoutElement & WithRowSpan(int value)
GridLayoutElement & WithElementId(ElementIdT &&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 & WithColumnIndex(int value)
GridLayoutElement & WithElementType(LayoutElementType value)
void SetElementType(LayoutElementType value)
GridLayoutElement & WithColumnSpan(int value)
AWS_QUICKSIGHT_API GridLayoutElement(Aws::Utils::Json::JsonView jsonValue)
GridLayoutElement & WithRowIndex(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue