AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
LayoutConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/GridLayoutConfiguration.h>
9#include <aws/quicksight/model/FreeFormLayoutConfiguration.h>
10#include <aws/quicksight/model/SectionBasedLayoutConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_QUICKSIGHT_API LayoutConfiguration() = default;
39 AWS_QUICKSIGHT_API LayoutConfiguration(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
52 inline const GridLayoutConfiguration& GetGridLayout() const { return m_gridLayout; }
53 inline bool GridLayoutHasBeenSet() const { return m_gridLayoutHasBeenSet; }
54 template<typename GridLayoutT = GridLayoutConfiguration>
55 void SetGridLayout(GridLayoutT&& value) { m_gridLayoutHasBeenSet = true; m_gridLayout = std::forward<GridLayoutT>(value); }
56 template<typename GridLayoutT = GridLayoutConfiguration>
57 LayoutConfiguration& WithGridLayout(GridLayoutT&& value) { SetGridLayout(std::forward<GridLayoutT>(value)); return *this;}
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) { m_freeFormLayoutHasBeenSet = true; m_freeFormLayout = std::forward<FreeFormLayoutT>(value); }
69 template<typename FreeFormLayoutT = FreeFormLayoutConfiguration>
70 LayoutConfiguration& WithFreeFormLayout(FreeFormLayoutT&& value) { SetFreeFormLayout(std::forward<FreeFormLayoutT>(value)); return *this;}
72
74
78 inline const SectionBasedLayoutConfiguration& GetSectionBasedLayout() const { return m_sectionBasedLayout; }
79 inline bool SectionBasedLayoutHasBeenSet() const { return m_sectionBasedLayoutHasBeenSet; }
80 template<typename SectionBasedLayoutT = SectionBasedLayoutConfiguration>
81 void SetSectionBasedLayout(SectionBasedLayoutT&& value) { m_sectionBasedLayoutHasBeenSet = true; m_sectionBasedLayout = std::forward<SectionBasedLayoutT>(value); }
82 template<typename SectionBasedLayoutT = SectionBasedLayoutConfiguration>
83 LayoutConfiguration& WithSectionBasedLayout(SectionBasedLayoutT&& value) { SetSectionBasedLayout(std::forward<SectionBasedLayoutT>(value)); return *this;}
85 private:
86
87 GridLayoutConfiguration m_gridLayout;
88 bool m_gridLayoutHasBeenSet = false;
89
90 FreeFormLayoutConfiguration m_freeFormLayout;
91 bool m_freeFormLayoutHasBeenSet = false;
92
93 SectionBasedLayoutConfiguration m_sectionBasedLayout;
94 bool m_sectionBasedLayoutHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace QuickSight
99} // 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