AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BodySectionConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/BodySectionContent.h>
10#include <aws/quicksight/model/SectionStyle.h>
11#include <aws/quicksight/model/SectionPageBreakConfiguration.h>
12#include <aws/quicksight/model/BodySectionRepeatConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace QuickSight
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_QUICKSIGHT_API BodySectionConfiguration() = default;
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetSectionId() const { return m_sectionId; }
49 inline bool SectionIdHasBeenSet() const { return m_sectionIdHasBeenSet; }
50 template<typename SectionIdT = Aws::String>
51 void SetSectionId(SectionIdT&& value) { m_sectionIdHasBeenSet = true; m_sectionId = std::forward<SectionIdT>(value); }
52 template<typename SectionIdT = Aws::String>
53 BodySectionConfiguration& WithSectionId(SectionIdT&& value) { SetSectionId(std::forward<SectionIdT>(value)); return *this;}
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) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
64 template<typename ContentT = BodySectionContent>
65 BodySectionConfiguration& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
67
69
72 inline const SectionStyle& GetStyle() const { return m_style; }
73 inline bool StyleHasBeenSet() const { return m_styleHasBeenSet; }
74 template<typename StyleT = SectionStyle>
75 void SetStyle(StyleT&& value) { m_styleHasBeenSet = true; m_style = std::forward<StyleT>(value); }
76 template<typename StyleT = SectionStyle>
77 BodySectionConfiguration& WithStyle(StyleT&& value) { SetStyle(std::forward<StyleT>(value)); return *this;}
79
81
84 inline const SectionPageBreakConfiguration& GetPageBreakConfiguration() const { return m_pageBreakConfiguration; }
85 inline bool PageBreakConfigurationHasBeenSet() const { return m_pageBreakConfigurationHasBeenSet; }
86 template<typename PageBreakConfigurationT = SectionPageBreakConfiguration>
87 void SetPageBreakConfiguration(PageBreakConfigurationT&& value) { m_pageBreakConfigurationHasBeenSet = true; m_pageBreakConfiguration = std::forward<PageBreakConfigurationT>(value); }
88 template<typename PageBreakConfigurationT = SectionPageBreakConfiguration>
89 BodySectionConfiguration& WithPageBreakConfiguration(PageBreakConfigurationT&& value) { SetPageBreakConfiguration(std::forward<PageBreakConfigurationT>(value)); return *this;}
91
93
97 inline const BodySectionRepeatConfiguration& GetRepeatConfiguration() const { return m_repeatConfiguration; }
98 inline bool RepeatConfigurationHasBeenSet() const { return m_repeatConfigurationHasBeenSet; }
99 template<typename RepeatConfigurationT = BodySectionRepeatConfiguration>
100 void SetRepeatConfiguration(RepeatConfigurationT&& value) { m_repeatConfigurationHasBeenSet = true; m_repeatConfiguration = std::forward<RepeatConfigurationT>(value); }
101 template<typename RepeatConfigurationT = BodySectionRepeatConfiguration>
102 BodySectionConfiguration& WithRepeatConfiguration(RepeatConfigurationT&& value) { SetRepeatConfiguration(std::forward<RepeatConfigurationT>(value)); return *this;}
104 private:
105
106 Aws::String m_sectionId;
107 bool m_sectionIdHasBeenSet = false;
108
109 BodySectionContent m_content;
110 bool m_contentHasBeenSet = false;
111
112 SectionStyle m_style;
113 bool m_styleHasBeenSet = false;
114
115 SectionPageBreakConfiguration m_pageBreakConfiguration;
116 bool m_pageBreakConfigurationHasBeenSet = false;
117
118 BodySectionRepeatConfiguration m_repeatConfiguration;
119 bool m_repeatConfigurationHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace QuickSight
124} // 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