AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
BodySectionConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/BodySectionContent.h>
10#include <aws/quicksight/model/BodySectionRepeatConfiguration.h>
11#include <aws/quicksight/model/SectionPageBreakConfiguration.h>
12#include <aws/quicksight/model/SectionStyle.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight {
24namespace Model {
25
32 public:
33 AWS_QUICKSIGHT_API BodySectionConfiguration() = default;
36 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetSectionId() const { return m_sectionId; }
43 inline bool SectionIdHasBeenSet() const { return m_sectionIdHasBeenSet; }
44 template <typename SectionIdT = Aws::String>
45 void SetSectionId(SectionIdT&& value) {
46 m_sectionIdHasBeenSet = true;
47 m_sectionId = std::forward<SectionIdT>(value);
48 }
49 template <typename SectionIdT = Aws::String>
51 SetSectionId(std::forward<SectionIdT>(value));
52 return *this;
53 }
55
57
60 inline const BodySectionContent& GetContent() const { return m_content; }
61 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
62 template <typename ContentT = BodySectionContent>
63 void SetContent(ContentT&& value) {
64 m_contentHasBeenSet = true;
65 m_content = std::forward<ContentT>(value);
66 }
67 template <typename ContentT = BodySectionContent>
69 SetContent(std::forward<ContentT>(value));
70 return *this;
71 }
73
75
78 inline const SectionStyle& GetStyle() const { return m_style; }
79 inline bool StyleHasBeenSet() const { return m_styleHasBeenSet; }
80 template <typename StyleT = SectionStyle>
81 void SetStyle(StyleT&& value) {
82 m_styleHasBeenSet = true;
83 m_style = std::forward<StyleT>(value);
84 }
85 template <typename StyleT = SectionStyle>
87 SetStyle(std::forward<StyleT>(value));
88 return *this;
89 }
91
93
96 inline const SectionPageBreakConfiguration& GetPageBreakConfiguration() const { return m_pageBreakConfiguration; }
97 inline bool PageBreakConfigurationHasBeenSet() const { return m_pageBreakConfigurationHasBeenSet; }
98 template <typename PageBreakConfigurationT = SectionPageBreakConfiguration>
99 void SetPageBreakConfiguration(PageBreakConfigurationT&& value) {
100 m_pageBreakConfigurationHasBeenSet = true;
101 m_pageBreakConfiguration = std::forward<PageBreakConfigurationT>(value);
102 }
103 template <typename PageBreakConfigurationT = SectionPageBreakConfiguration>
104 BodySectionConfiguration& WithPageBreakConfiguration(PageBreakConfigurationT&& value) {
105 SetPageBreakConfiguration(std::forward<PageBreakConfigurationT>(value));
106 return *this;
107 }
109
111
115 inline const BodySectionRepeatConfiguration& GetRepeatConfiguration() const { return m_repeatConfiguration; }
116 inline bool RepeatConfigurationHasBeenSet() const { return m_repeatConfigurationHasBeenSet; }
117 template <typename RepeatConfigurationT = BodySectionRepeatConfiguration>
118 void SetRepeatConfiguration(RepeatConfigurationT&& value) {
119 m_repeatConfigurationHasBeenSet = true;
120 m_repeatConfiguration = std::forward<RepeatConfigurationT>(value);
121 }
122 template <typename RepeatConfigurationT = BodySectionRepeatConfiguration>
123 BodySectionConfiguration& WithRepeatConfiguration(RepeatConfigurationT&& value) {
124 SetRepeatConfiguration(std::forward<RepeatConfigurationT>(value));
125 return *this;
126 }
128 private:
129 Aws::String m_sectionId;
130
131 BodySectionContent m_content;
132
133 SectionStyle m_style;
134
135 SectionPageBreakConfiguration m_pageBreakConfiguration;
136
137 BodySectionRepeatConfiguration m_repeatConfiguration;
138 bool m_sectionIdHasBeenSet = false;
139 bool m_contentHasBeenSet = false;
140 bool m_styleHasBeenSet = false;
141 bool m_pageBreakConfigurationHasBeenSet = false;
142 bool m_repeatConfigurationHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace QuickSight
147} // namespace Aws
AWS_QUICKSIGHT_API BodySectionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API BodySectionConfiguration()=default
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
BodySectionConfiguration & WithPageBreakConfiguration(PageBreakConfigurationT &&value)
void SetRepeatConfiguration(RepeatConfigurationT &&value)
BodySectionConfiguration & WithContent(ContentT &&value)
void SetPageBreakConfiguration(PageBreakConfigurationT &&value)
const SectionPageBreakConfiguration & GetPageBreakConfiguration() const
BodySectionConfiguration & WithSectionId(SectionIdT &&value)
BodySectionConfiguration & WithRepeatConfiguration(RepeatConfigurationT &&value)
const BodySectionRepeatConfiguration & GetRepeatConfiguration() const
AWS_QUICKSIGHT_API BodySectionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
BodySectionConfiguration & WithStyle(StyleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue