AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
FreeFormLayoutConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/FreeFormLayoutCanvasSizeOptions.h>
10#include <aws/quicksight/model/FreeFormLayoutElement.h>
11#include <aws/quicksight/model/SheetLayoutGroup.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
24
31 public:
32 AWS_QUICKSIGHT_API FreeFormLayoutConfiguration() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<FreeFormLayoutElement>& GetElements() const { return m_elements; }
42 inline bool ElementsHasBeenSet() const { return m_elementsHasBeenSet; }
43 template <typename ElementsT = Aws::Vector<FreeFormLayoutElement>>
44 void SetElements(ElementsT&& value) {
45 m_elementsHasBeenSet = true;
46 m_elements = std::forward<ElementsT>(value);
47 }
48 template <typename ElementsT = Aws::Vector<FreeFormLayoutElement>>
50 SetElements(std::forward<ElementsT>(value));
51 return *this;
52 }
53 template <typename ElementsT = FreeFormLayoutElement>
55 m_elementsHasBeenSet = true;
56 m_elements.emplace_back(std::forward<ElementsT>(value));
57 return *this;
58 }
60
62
63 inline const FreeFormLayoutCanvasSizeOptions& GetCanvasSizeOptions() const { return m_canvasSizeOptions; }
64 inline bool CanvasSizeOptionsHasBeenSet() const { return m_canvasSizeOptionsHasBeenSet; }
65 template <typename CanvasSizeOptionsT = FreeFormLayoutCanvasSizeOptions>
66 void SetCanvasSizeOptions(CanvasSizeOptionsT&& value) {
67 m_canvasSizeOptionsHasBeenSet = true;
68 m_canvasSizeOptions = std::forward<CanvasSizeOptionsT>(value);
69 }
70 template <typename CanvasSizeOptionsT = FreeFormLayoutCanvasSizeOptions>
72 SetCanvasSizeOptions(std::forward<CanvasSizeOptionsT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::Vector<SheetLayoutGroup>& GetGroups() const { return m_groups; }
82 inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; }
83 template <typename GroupsT = Aws::Vector<SheetLayoutGroup>>
84 void SetGroups(GroupsT&& value) {
85 m_groupsHasBeenSet = true;
86 m_groups = std::forward<GroupsT>(value);
87 }
88 template <typename GroupsT = Aws::Vector<SheetLayoutGroup>>
90 SetGroups(std::forward<GroupsT>(value));
91 return *this;
92 }
93 template <typename GroupsT = SheetLayoutGroup>
95 m_groupsHasBeenSet = true;
96 m_groups.emplace_back(std::forward<GroupsT>(value));
97 return *this;
98 }
100 private:
102
103 FreeFormLayoutCanvasSizeOptions m_canvasSizeOptions;
104
106 bool m_elementsHasBeenSet = false;
107 bool m_canvasSizeOptionsHasBeenSet = false;
108 bool m_groupsHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace QuickSight
113} // namespace Aws
AWS_QUICKSIGHT_API FreeFormLayoutConfiguration()=default
FreeFormLayoutConfiguration & WithCanvasSizeOptions(CanvasSizeOptionsT &&value)
const Aws::Vector< SheetLayoutGroup > & GetGroups() const
FreeFormLayoutConfiguration & WithGroups(GroupsT &&value)
const FreeFormLayoutCanvasSizeOptions & GetCanvasSizeOptions() const
FreeFormLayoutConfiguration & WithElements(ElementsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
FreeFormLayoutConfiguration & AddElements(ElementsT &&value)
AWS_QUICKSIGHT_API FreeFormLayoutConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< FreeFormLayoutElement > & GetElements() const
AWS_QUICKSIGHT_API FreeFormLayoutConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
FreeFormLayoutConfiguration & AddGroups(GroupsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue