AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
SectionBasedLayoutConfiguration.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/BodySectionConfiguration.h>
10#include <aws/quicksight/model/HeaderFooterSectionConfiguration.h>
11#include <aws/quicksight/model/SectionBasedLayoutCanvasSizeOptions.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 SectionBasedLayoutConfiguration() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<HeaderFooterSectionConfiguration>& GetHeaderSections() const { return m_headerSections; }
42 inline bool HeaderSectionsHasBeenSet() const { return m_headerSectionsHasBeenSet; }
43 template <typename HeaderSectionsT = Aws::Vector<HeaderFooterSectionConfiguration>>
44 void SetHeaderSections(HeaderSectionsT&& value) {
45 m_headerSectionsHasBeenSet = true;
46 m_headerSections = std::forward<HeaderSectionsT>(value);
47 }
48 template <typename HeaderSectionsT = Aws::Vector<HeaderFooterSectionConfiguration>>
50 SetHeaderSections(std::forward<HeaderSectionsT>(value));
51 return *this;
52 }
53 template <typename HeaderSectionsT = HeaderFooterSectionConfiguration>
55 m_headerSectionsHasBeenSet = true;
56 m_headerSections.emplace_back(std::forward<HeaderSectionsT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::Vector<BodySectionConfiguration>& GetBodySections() const { return m_bodySections; }
66 inline bool BodySectionsHasBeenSet() const { return m_bodySectionsHasBeenSet; }
67 template <typename BodySectionsT = Aws::Vector<BodySectionConfiguration>>
68 void SetBodySections(BodySectionsT&& value) {
69 m_bodySectionsHasBeenSet = true;
70 m_bodySections = std::forward<BodySectionsT>(value);
71 }
72 template <typename BodySectionsT = Aws::Vector<BodySectionConfiguration>>
74 SetBodySections(std::forward<BodySectionsT>(value));
75 return *this;
76 }
77 template <typename BodySectionsT = BodySectionConfiguration>
79 m_bodySectionsHasBeenSet = true;
80 m_bodySections.emplace_back(std::forward<BodySectionsT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::Vector<HeaderFooterSectionConfiguration>& GetFooterSections() const { return m_footerSections; }
90 inline bool FooterSectionsHasBeenSet() const { return m_footerSectionsHasBeenSet; }
91 template <typename FooterSectionsT = Aws::Vector<HeaderFooterSectionConfiguration>>
92 void SetFooterSections(FooterSectionsT&& value) {
93 m_footerSectionsHasBeenSet = true;
94 m_footerSections = std::forward<FooterSectionsT>(value);
95 }
96 template <typename FooterSectionsT = Aws::Vector<HeaderFooterSectionConfiguration>>
98 SetFooterSections(std::forward<FooterSectionsT>(value));
99 return *this;
100 }
101 template <typename FooterSectionsT = HeaderFooterSectionConfiguration>
103 m_footerSectionsHasBeenSet = true;
104 m_footerSections.emplace_back(std::forward<FooterSectionsT>(value));
105 return *this;
106 }
108
110
113 inline const SectionBasedLayoutCanvasSizeOptions& GetCanvasSizeOptions() const { return m_canvasSizeOptions; }
114 inline bool CanvasSizeOptionsHasBeenSet() const { return m_canvasSizeOptionsHasBeenSet; }
115 template <typename CanvasSizeOptionsT = SectionBasedLayoutCanvasSizeOptions>
116 void SetCanvasSizeOptions(CanvasSizeOptionsT&& value) {
117 m_canvasSizeOptionsHasBeenSet = true;
118 m_canvasSizeOptions = std::forward<CanvasSizeOptionsT>(value);
119 }
120 template <typename CanvasSizeOptionsT = SectionBasedLayoutCanvasSizeOptions>
122 SetCanvasSizeOptions(std::forward<CanvasSizeOptionsT>(value));
123 return *this;
124 }
126 private:
128
130
132
133 SectionBasedLayoutCanvasSizeOptions m_canvasSizeOptions;
134 bool m_headerSectionsHasBeenSet = false;
135 bool m_bodySectionsHasBeenSet = false;
136 bool m_footerSectionsHasBeenSet = false;
137 bool m_canvasSizeOptionsHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace QuickSight
142} // namespace Aws
const Aws::Vector< HeaderFooterSectionConfiguration > & GetFooterSections() const
const SectionBasedLayoutCanvasSizeOptions & GetCanvasSizeOptions() const
SectionBasedLayoutConfiguration & AddBodySections(BodySectionsT &&value)
const Aws::Vector< HeaderFooterSectionConfiguration > & GetHeaderSections() const
SectionBasedLayoutConfiguration & AddFooterSections(FooterSectionsT &&value)
AWS_QUICKSIGHT_API SectionBasedLayoutConfiguration()=default
SectionBasedLayoutConfiguration & WithBodySections(BodySectionsT &&value)
SectionBasedLayoutConfiguration & WithFooterSections(FooterSectionsT &&value)
SectionBasedLayoutConfiguration & AddHeaderSections(HeaderSectionsT &&value)
const Aws::Vector< BodySectionConfiguration > & GetBodySections() const
SectionBasedLayoutConfiguration & WithHeaderSections(HeaderSectionsT &&value)
AWS_QUICKSIGHT_API SectionBasedLayoutConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API SectionBasedLayoutConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SectionBasedLayoutConfiguration & WithCanvasSizeOptions(CanvasSizeOptionsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue