AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSectionId(const Aws::String& value) { m_sectionIdHasBeenSet = true; m_sectionId = value; }
51 inline void SetSectionId(Aws::String&& value) { m_sectionIdHasBeenSet = true; m_sectionId = std::move(value); }
52 inline void SetSectionId(const char* value) { m_sectionIdHasBeenSet = true; m_sectionId.assign(value); }
53 inline BodySectionConfiguration& WithSectionId(const Aws::String& value) { SetSectionId(value); return *this;}
54 inline BodySectionConfiguration& WithSectionId(Aws::String&& value) { SetSectionId(std::move(value)); return *this;}
55 inline BodySectionConfiguration& WithSectionId(const char* value) { SetSectionId(value); return *this;}
57
59
62 inline const BodySectionContent& GetContent() const{ return m_content; }
63 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
64 inline void SetContent(const BodySectionContent& value) { m_contentHasBeenSet = true; m_content = value; }
65 inline void SetContent(BodySectionContent&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
66 inline BodySectionConfiguration& WithContent(const BodySectionContent& value) { SetContent(value); return *this;}
67 inline BodySectionConfiguration& WithContent(BodySectionContent&& value) { SetContent(std::move(value)); return *this;}
69
71
74 inline const SectionStyle& GetStyle() const{ return m_style; }
75 inline bool StyleHasBeenSet() const { return m_styleHasBeenSet; }
76 inline void SetStyle(const SectionStyle& value) { m_styleHasBeenSet = true; m_style = value; }
77 inline void SetStyle(SectionStyle&& value) { m_styleHasBeenSet = true; m_style = std::move(value); }
78 inline BodySectionConfiguration& WithStyle(const SectionStyle& value) { SetStyle(value); return *this;}
79 inline BodySectionConfiguration& WithStyle(SectionStyle&& value) { SetStyle(std::move(value)); return *this;}
81
83
86 inline const SectionPageBreakConfiguration& GetPageBreakConfiguration() const{ return m_pageBreakConfiguration; }
87 inline bool PageBreakConfigurationHasBeenSet() const { return m_pageBreakConfigurationHasBeenSet; }
88 inline void SetPageBreakConfiguration(const SectionPageBreakConfiguration& value) { m_pageBreakConfigurationHasBeenSet = true; m_pageBreakConfiguration = value; }
89 inline void SetPageBreakConfiguration(SectionPageBreakConfiguration&& value) { m_pageBreakConfigurationHasBeenSet = true; m_pageBreakConfiguration = std::move(value); }
93
95
99 inline const BodySectionRepeatConfiguration& GetRepeatConfiguration() const{ return m_repeatConfiguration; }
100 inline bool RepeatConfigurationHasBeenSet() const { return m_repeatConfigurationHasBeenSet; }
101 inline void SetRepeatConfiguration(const BodySectionRepeatConfiguration& value) { m_repeatConfigurationHasBeenSet = true; m_repeatConfiguration = value; }
102 inline void SetRepeatConfiguration(BodySectionRepeatConfiguration&& value) { m_repeatConfigurationHasBeenSet = true; m_repeatConfiguration = std::move(value); }
106 private:
107
108 Aws::String m_sectionId;
109 bool m_sectionIdHasBeenSet = false;
110
111 BodySectionContent m_content;
112 bool m_contentHasBeenSet = false;
113
114 SectionStyle m_style;
115 bool m_styleHasBeenSet = false;
116
117 SectionPageBreakConfiguration m_pageBreakConfiguration;
118 bool m_pageBreakConfigurationHasBeenSet = false;
119
120 BodySectionRepeatConfiguration m_repeatConfiguration;
121 bool m_repeatConfigurationHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace QuickSight
126} // namespace Aws
AWS_QUICKSIGHT_API BodySectionConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetRepeatConfiguration(BodySectionRepeatConfiguration &&value)
BodySectionConfiguration & WithRepeatConfiguration(const BodySectionRepeatConfiguration &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
BodySectionConfiguration & WithRepeatConfiguration(BodySectionRepeatConfiguration &&value)
BodySectionConfiguration & WithSectionId(Aws::String &&value)
BodySectionConfiguration & WithStyle(SectionStyle &&value)
BodySectionConfiguration & WithContent(BodySectionContent &&value)
void SetPageBreakConfiguration(const SectionPageBreakConfiguration &value)
void SetRepeatConfiguration(const BodySectionRepeatConfiguration &value)
const SectionPageBreakConfiguration & GetPageBreakConfiguration() const
BodySectionConfiguration & WithStyle(const SectionStyle &value)
BodySectionConfiguration & WithSectionId(const Aws::String &value)
BodySectionConfiguration & WithPageBreakConfiguration(const SectionPageBreakConfiguration &value)
BodySectionConfiguration & WithPageBreakConfiguration(SectionPageBreakConfiguration &&value)
const BodySectionRepeatConfiguration & GetRepeatConfiguration() const
AWS_QUICKSIGHT_API BodySectionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPageBreakConfiguration(SectionPageBreakConfiguration &&value)
BodySectionConfiguration & WithSectionId(const char *value)
BodySectionConfiguration & WithContent(const BodySectionContent &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue