AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
BodySectionContent.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/SectionLayoutConfiguration.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
28 public:
29 AWS_QUICKSIGHT_API BodySectionContent() = default;
30 AWS_QUICKSIGHT_API BodySectionContent(Aws::Utils::Json::JsonView jsonValue);
32 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const SectionLayoutConfiguration& GetLayout() const { return m_layout; }
39 inline bool LayoutHasBeenSet() const { return m_layoutHasBeenSet; }
40 template <typename LayoutT = SectionLayoutConfiguration>
41 void SetLayout(LayoutT&& value) {
42 m_layoutHasBeenSet = true;
43 m_layout = std::forward<LayoutT>(value);
44 }
45 template <typename LayoutT = SectionLayoutConfiguration>
46 BodySectionContent& WithLayout(LayoutT&& value) {
47 SetLayout(std::forward<LayoutT>(value));
48 return *this;
49 }
51 private:
53 bool m_layoutHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace QuickSight
58} // namespace Aws
AWS_QUICKSIGHT_API BodySectionContent()=default
AWS_QUICKSIGHT_API BodySectionContent(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API BodySectionContent & operator=(Aws::Utils::Json::JsonView jsonValue)
BodySectionContent & WithLayout(LayoutT &&value)
const SectionLayoutConfiguration & GetLayout() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue