AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SectionBasedLayoutConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/model/SectionBasedLayoutCanvasSizeOptions.h>
10#include <aws/quicksight/model/HeaderFooterSectionConfiguration.h>
11#include <aws/quicksight/model/BodySectionConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_QUICKSIGHT_API SectionBasedLayoutConfiguration() = default;
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<HeaderFooterSectionConfiguration>& GetHeaderSections() const { return m_headerSections; }
48 inline bool HeaderSectionsHasBeenSet() const { return m_headerSectionsHasBeenSet; }
49 template<typename HeaderSectionsT = Aws::Vector<HeaderFooterSectionConfiguration>>
50 void SetHeaderSections(HeaderSectionsT&& value) { m_headerSectionsHasBeenSet = true; m_headerSections = std::forward<HeaderSectionsT>(value); }
51 template<typename HeaderSectionsT = Aws::Vector<HeaderFooterSectionConfiguration>>
52 SectionBasedLayoutConfiguration& WithHeaderSections(HeaderSectionsT&& value) { SetHeaderSections(std::forward<HeaderSectionsT>(value)); return *this;}
53 template<typename HeaderSectionsT = HeaderFooterSectionConfiguration>
54 SectionBasedLayoutConfiguration& AddHeaderSections(HeaderSectionsT&& value) { m_headerSectionsHasBeenSet = true; m_headerSections.emplace_back(std::forward<HeaderSectionsT>(value)); return *this; }
56
58
61 inline const Aws::Vector<BodySectionConfiguration>& GetBodySections() const { return m_bodySections; }
62 inline bool BodySectionsHasBeenSet() const { return m_bodySectionsHasBeenSet; }
63 template<typename BodySectionsT = Aws::Vector<BodySectionConfiguration>>
64 void SetBodySections(BodySectionsT&& value) { m_bodySectionsHasBeenSet = true; m_bodySections = std::forward<BodySectionsT>(value); }
65 template<typename BodySectionsT = Aws::Vector<BodySectionConfiguration>>
66 SectionBasedLayoutConfiguration& WithBodySections(BodySectionsT&& value) { SetBodySections(std::forward<BodySectionsT>(value)); return *this;}
67 template<typename BodySectionsT = BodySectionConfiguration>
68 SectionBasedLayoutConfiguration& AddBodySections(BodySectionsT&& value) { m_bodySectionsHasBeenSet = true; m_bodySections.emplace_back(std::forward<BodySectionsT>(value)); return *this; }
70
72
75 inline const Aws::Vector<HeaderFooterSectionConfiguration>& GetFooterSections() const { return m_footerSections; }
76 inline bool FooterSectionsHasBeenSet() const { return m_footerSectionsHasBeenSet; }
77 template<typename FooterSectionsT = Aws::Vector<HeaderFooterSectionConfiguration>>
78 void SetFooterSections(FooterSectionsT&& value) { m_footerSectionsHasBeenSet = true; m_footerSections = std::forward<FooterSectionsT>(value); }
79 template<typename FooterSectionsT = Aws::Vector<HeaderFooterSectionConfiguration>>
80 SectionBasedLayoutConfiguration& WithFooterSections(FooterSectionsT&& value) { SetFooterSections(std::forward<FooterSectionsT>(value)); return *this;}
81 template<typename FooterSectionsT = HeaderFooterSectionConfiguration>
82 SectionBasedLayoutConfiguration& AddFooterSections(FooterSectionsT&& value) { m_footerSectionsHasBeenSet = true; m_footerSections.emplace_back(std::forward<FooterSectionsT>(value)); return *this; }
84
86
89 inline const SectionBasedLayoutCanvasSizeOptions& GetCanvasSizeOptions() const { return m_canvasSizeOptions; }
90 inline bool CanvasSizeOptionsHasBeenSet() const { return m_canvasSizeOptionsHasBeenSet; }
91 template<typename CanvasSizeOptionsT = SectionBasedLayoutCanvasSizeOptions>
92 void SetCanvasSizeOptions(CanvasSizeOptionsT&& value) { m_canvasSizeOptionsHasBeenSet = true; m_canvasSizeOptions = std::forward<CanvasSizeOptionsT>(value); }
93 template<typename CanvasSizeOptionsT = SectionBasedLayoutCanvasSizeOptions>
94 SectionBasedLayoutConfiguration& WithCanvasSizeOptions(CanvasSizeOptionsT&& value) { SetCanvasSizeOptions(std::forward<CanvasSizeOptionsT>(value)); return *this;}
96 private:
97
99 bool m_headerSectionsHasBeenSet = false;
100
102 bool m_bodySectionsHasBeenSet = false;
103
105 bool m_footerSectionsHasBeenSet = false;
106
107 SectionBasedLayoutCanvasSizeOptions m_canvasSizeOptions;
108 bool m_canvasSizeOptionsHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace QuickSight
113} // 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