AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetElementId(const Aws::String& value) { m_elementIdHasBeenSet = true; m_elementId = value; }
48 inline void SetElementId(Aws::String&& value) { m_elementIdHasBeenSet = true; m_elementId = std::move(value); }
49 inline void SetElementId(const char* value) { m_elementIdHasBeenSet = true; m_elementId.assign(value); }
50 inline GridLayoutElement& WithElementId(const Aws::String& value) { SetElementId(value); return *this;}
51 inline GridLayoutElement& WithElementId(Aws::String&& value) { SetElementId(std::move(value)); return *this;}
52 inline GridLayoutElement& WithElementId(const char* value) { SetElementId(value); return *this;}
54
56
59 inline const LayoutElementType& GetElementType() const{ return m_elementType; }
60 inline bool ElementTypeHasBeenSet() const { return m_elementTypeHasBeenSet; }
61 inline void SetElementType(const LayoutElementType& value) { m_elementTypeHasBeenSet = true; m_elementType = value; }
62 inline void SetElementType(LayoutElementType&& value) { m_elementTypeHasBeenSet = true; m_elementType = std::move(value); }
63 inline GridLayoutElement& WithElementType(const LayoutElementType& value) { SetElementType(value); return *this;}
64 inline GridLayoutElement& WithElementType(LayoutElementType&& value) { SetElementType(std::move(value)); return *this;}
66
68
71 inline int GetColumnIndex() const{ return m_columnIndex; }
72 inline bool ColumnIndexHasBeenSet() const { return m_columnIndexHasBeenSet; }
73 inline void SetColumnIndex(int value) { m_columnIndexHasBeenSet = true; m_columnIndex = value; }
74 inline GridLayoutElement& WithColumnIndex(int value) { SetColumnIndex(value); return *this;}
76
78
81 inline int GetColumnSpan() const{ return m_columnSpan; }
82 inline bool ColumnSpanHasBeenSet() const { return m_columnSpanHasBeenSet; }
83 inline void SetColumnSpan(int value) { m_columnSpanHasBeenSet = true; m_columnSpan = value; }
84 inline GridLayoutElement& WithColumnSpan(int value) { SetColumnSpan(value); return *this;}
86
88
91 inline int GetRowIndex() const{ return m_rowIndex; }
92 inline bool RowIndexHasBeenSet() const { return m_rowIndexHasBeenSet; }
93 inline void SetRowIndex(int value) { m_rowIndexHasBeenSet = true; m_rowIndex = value; }
94 inline GridLayoutElement& WithRowIndex(int value) { SetRowIndex(value); return *this;}
96
98
101 inline int GetRowSpan() const{ return m_rowSpan; }
102 inline bool RowSpanHasBeenSet() const { return m_rowSpanHasBeenSet; }
103 inline void SetRowSpan(int value) { m_rowSpanHasBeenSet = true; m_rowSpan = value; }
104 inline GridLayoutElement& WithRowSpan(int value) { SetRowSpan(value); return *this;}
106 private:
107
108 Aws::String m_elementId;
109 bool m_elementIdHasBeenSet = false;
110
111 LayoutElementType m_elementType;
112 bool m_elementTypeHasBeenSet = false;
113
114 int m_columnIndex;
115 bool m_columnIndexHasBeenSet = false;
116
117 int m_columnSpan;
118 bool m_columnSpanHasBeenSet = false;
119
120 int m_rowIndex;
121 bool m_rowIndexHasBeenSet = false;
122
123 int m_rowSpan;
124 bool m_rowSpanHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace QuickSight
129} // namespace Aws
GridLayoutElement & WithElementType(const LayoutElementType &value)
void SetElementType(const LayoutElementType &value)
GridLayoutElement & WithRowSpan(int value)
void SetElementType(LayoutElementType &&value)
const LayoutElementType & GetElementType() const
AWS_QUICKSIGHT_API GridLayoutElement & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetElementId(const Aws::String &value)
GridLayoutElement & WithColumnIndex(int value)
GridLayoutElement & WithElementId(Aws::String &&value)
GridLayoutElement & WithElementId(const char *value)
GridLayoutElement & WithColumnSpan(int value)
GridLayoutElement & WithElementId(const Aws::String &value)
AWS_QUICKSIGHT_API GridLayoutElement(Aws::Utils::Json::JsonView jsonValue)
GridLayoutElement & WithElementType(LayoutElementType &&value)
GridLayoutElement & WithRowIndex(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue