AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetHeaderSections(const Aws::Vector<HeaderFooterSectionConfiguration>& value) { m_headerSectionsHasBeenSet = true; m_headerSections = value; }
50 inline void SetHeaderSections(Aws::Vector<HeaderFooterSectionConfiguration>&& value) { m_headerSectionsHasBeenSet = true; m_headerSections = std::move(value); }
53 inline SectionBasedLayoutConfiguration& AddHeaderSections(const HeaderFooterSectionConfiguration& value) { m_headerSectionsHasBeenSet = true; m_headerSections.push_back(value); return *this; }
54 inline SectionBasedLayoutConfiguration& AddHeaderSections(HeaderFooterSectionConfiguration&& value) { m_headerSectionsHasBeenSet = true; m_headerSections.push_back(std::move(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 inline void SetBodySections(const Aws::Vector<BodySectionConfiguration>& value) { m_bodySectionsHasBeenSet = true; m_bodySections = value; }
64 inline void SetBodySections(Aws::Vector<BodySectionConfiguration>&& value) { m_bodySectionsHasBeenSet = true; m_bodySections = std::move(value); }
67 inline SectionBasedLayoutConfiguration& AddBodySections(const BodySectionConfiguration& value) { m_bodySectionsHasBeenSet = true; m_bodySections.push_back(value); return *this; }
68 inline SectionBasedLayoutConfiguration& AddBodySections(BodySectionConfiguration&& value) { m_bodySectionsHasBeenSet = true; m_bodySections.push_back(std::move(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 inline void SetFooterSections(const Aws::Vector<HeaderFooterSectionConfiguration>& value) { m_footerSectionsHasBeenSet = true; m_footerSections = value; }
78 inline void SetFooterSections(Aws::Vector<HeaderFooterSectionConfiguration>&& value) { m_footerSectionsHasBeenSet = true; m_footerSections = std::move(value); }
81 inline SectionBasedLayoutConfiguration& AddFooterSections(const HeaderFooterSectionConfiguration& value) { m_footerSectionsHasBeenSet = true; m_footerSections.push_back(value); return *this; }
82 inline SectionBasedLayoutConfiguration& AddFooterSections(HeaderFooterSectionConfiguration&& value) { m_footerSectionsHasBeenSet = true; m_footerSections.push_back(std::move(value)); return *this; }
84
86
89 inline const SectionBasedLayoutCanvasSizeOptions& GetCanvasSizeOptions() const{ return m_canvasSizeOptions; }
90 inline bool CanvasSizeOptionsHasBeenSet() const { return m_canvasSizeOptionsHasBeenSet; }
91 inline void SetCanvasSizeOptions(const SectionBasedLayoutCanvasSizeOptions& value) { m_canvasSizeOptionsHasBeenSet = true; m_canvasSizeOptions = value; }
92 inline void SetCanvasSizeOptions(SectionBasedLayoutCanvasSizeOptions&& value) { m_canvasSizeOptionsHasBeenSet = true; m_canvasSizeOptions = std::move(value); }
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
SectionBasedLayoutConfiguration & WithCanvasSizeOptions(const SectionBasedLayoutCanvasSizeOptions &value)
const Aws::Vector< HeaderFooterSectionConfiguration > & GetFooterSections() const
const SectionBasedLayoutCanvasSizeOptions & GetCanvasSizeOptions() const
void SetCanvasSizeOptions(SectionBasedLayoutCanvasSizeOptions &&value)
const Aws::Vector< HeaderFooterSectionConfiguration > & GetHeaderSections() const
SectionBasedLayoutConfiguration & WithHeaderSections(Aws::Vector< HeaderFooterSectionConfiguration > &&value)
void SetCanvasSizeOptions(const SectionBasedLayoutCanvasSizeOptions &value)
void SetFooterSections(Aws::Vector< HeaderFooterSectionConfiguration > &&value)
void SetHeaderSections(const Aws::Vector< HeaderFooterSectionConfiguration > &value)
SectionBasedLayoutConfiguration & WithFooterSections(Aws::Vector< HeaderFooterSectionConfiguration > &&value)
void SetBodySections(const Aws::Vector< BodySectionConfiguration > &value)
SectionBasedLayoutConfiguration & WithCanvasSizeOptions(SectionBasedLayoutCanvasSizeOptions &&value)
SectionBasedLayoutConfiguration & AddHeaderSections(const HeaderFooterSectionConfiguration &value)
void SetHeaderSections(Aws::Vector< HeaderFooterSectionConfiguration > &&value)
const Aws::Vector< BodySectionConfiguration > & GetBodySections() const
SectionBasedLayoutConfiguration & WithBodySections(const Aws::Vector< BodySectionConfiguration > &value)
SectionBasedLayoutConfiguration & AddFooterSections(const HeaderFooterSectionConfiguration &value)
void SetBodySections(Aws::Vector< BodySectionConfiguration > &&value)
SectionBasedLayoutConfiguration & WithHeaderSections(const Aws::Vector< HeaderFooterSectionConfiguration > &value)
SectionBasedLayoutConfiguration & AddHeaderSections(HeaderFooterSectionConfiguration &&value)
SectionBasedLayoutConfiguration & WithFooterSections(const Aws::Vector< HeaderFooterSectionConfiguration > &value)
SectionBasedLayoutConfiguration & AddBodySections(const BodySectionConfiguration &value)
AWS_QUICKSIGHT_API SectionBasedLayoutConfiguration(Aws::Utils::Json::JsonView jsonValue)
SectionBasedLayoutConfiguration & AddFooterSections(HeaderFooterSectionConfiguration &&value)
AWS_QUICKSIGHT_API SectionBasedLayoutConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SectionBasedLayoutConfiguration & WithBodySections(Aws::Vector< BodySectionConfiguration > &&value)
void SetFooterSections(const Aws::Vector< HeaderFooterSectionConfiguration > &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
SectionBasedLayoutConfiguration & AddBodySections(BodySectionConfiguration &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue