AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
LayoutConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/FreeFormLayoutConfiguration.h>
9#include <aws/quicksight/model/GridLayoutConfiguration.h>
10#include <aws/quicksight/model/SectionBasedLayoutConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
32 public:
33 AWS_QUICKSIGHT_API LayoutConfiguration() = default;
34 AWS_QUICKSIGHT_API LayoutConfiguration(Aws::Utils::Json::JsonView jsonValue);
36 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
46 inline const GridLayoutConfiguration& GetGridLayout() const { return m_gridLayout; }
47 inline bool GridLayoutHasBeenSet() const { return m_gridLayoutHasBeenSet; }
48 template <typename GridLayoutT = GridLayoutConfiguration>
49 void SetGridLayout(GridLayoutT&& value) {
50 m_gridLayoutHasBeenSet = true;
51 m_gridLayout = std::forward<GridLayoutT>(value);
52 }
53 template <typename GridLayoutT = GridLayoutConfiguration>
54 LayoutConfiguration& WithGridLayout(GridLayoutT&& value) {
55 SetGridLayout(std::forward<GridLayoutT>(value));
56 return *this;
57 }
59
61
65 inline const FreeFormLayoutConfiguration& GetFreeFormLayout() const { return m_freeFormLayout; }
66 inline bool FreeFormLayoutHasBeenSet() const { return m_freeFormLayoutHasBeenSet; }
67 template <typename FreeFormLayoutT = FreeFormLayoutConfiguration>
68 void SetFreeFormLayout(FreeFormLayoutT&& value) {
69 m_freeFormLayoutHasBeenSet = true;
70 m_freeFormLayout = std::forward<FreeFormLayoutT>(value);
71 }
72 template <typename FreeFormLayoutT = FreeFormLayoutConfiguration>
73 LayoutConfiguration& WithFreeFormLayout(FreeFormLayoutT&& value) {
74 SetFreeFormLayout(std::forward<FreeFormLayoutT>(value));
75 return *this;
76 }
78
80
84 inline const SectionBasedLayoutConfiguration& GetSectionBasedLayout() const { return m_sectionBasedLayout; }
85 inline bool SectionBasedLayoutHasBeenSet() const { return m_sectionBasedLayoutHasBeenSet; }
86 template <typename SectionBasedLayoutT = SectionBasedLayoutConfiguration>
87 void SetSectionBasedLayout(SectionBasedLayoutT&& value) {
88 m_sectionBasedLayoutHasBeenSet = true;
89 m_sectionBasedLayout = std::forward<SectionBasedLayoutT>(value);
90 }
91 template <typename SectionBasedLayoutT = SectionBasedLayoutConfiguration>
92 LayoutConfiguration& WithSectionBasedLayout(SectionBasedLayoutT&& value) {
93 SetSectionBasedLayout(std::forward<SectionBasedLayoutT>(value));
94 return *this;
95 }
97 private:
98 GridLayoutConfiguration m_gridLayout;
99
100 FreeFormLayoutConfiguration m_freeFormLayout;
101
102 SectionBasedLayoutConfiguration m_sectionBasedLayout;
103 bool m_gridLayoutHasBeenSet = false;
104 bool m_freeFormLayoutHasBeenSet = false;
105 bool m_sectionBasedLayoutHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace QuickSight
110} // namespace Aws
const FreeFormLayoutConfiguration & GetFreeFormLayout() const
LayoutConfiguration & WithFreeFormLayout(FreeFormLayoutT &&value)
LayoutConfiguration & WithGridLayout(GridLayoutT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API LayoutConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API LayoutConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const GridLayoutConfiguration & GetGridLayout() const
void SetFreeFormLayout(FreeFormLayoutT &&value)
LayoutConfiguration & WithSectionBasedLayout(SectionBasedLayoutT &&value)
void SetSectionBasedLayout(SectionBasedLayoutT &&value)
AWS_QUICKSIGHT_API LayoutConfiguration()=default
const SectionBasedLayoutConfiguration & GetSectionBasedLayout() const
Aws::Utils::Json::JsonValue JsonValue