AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
SectionStyle.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/Spacing.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
29 public:
30 AWS_QUICKSIGHT_API SectionStyle() = default;
31 AWS_QUICKSIGHT_API SectionStyle(Aws::Utils::Json::JsonView jsonValue);
32 AWS_QUICKSIGHT_API SectionStyle& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetHeight() const { return m_height; }
41 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
42 template <typename HeightT = Aws::String>
43 void SetHeight(HeightT&& value) {
44 m_heightHasBeenSet = true;
45 m_height = std::forward<HeightT>(value);
46 }
47 template <typename HeightT = Aws::String>
48 SectionStyle& WithHeight(HeightT&& value) {
49 SetHeight(std::forward<HeightT>(value));
50 return *this;
51 }
53
55
59 inline const Spacing& GetPadding() const { return m_padding; }
60 inline bool PaddingHasBeenSet() const { return m_paddingHasBeenSet; }
61 template <typename PaddingT = Spacing>
62 void SetPadding(PaddingT&& value) {
63 m_paddingHasBeenSet = true;
64 m_padding = std::forward<PaddingT>(value);
65 }
66 template <typename PaddingT = Spacing>
67 SectionStyle& WithPadding(PaddingT&& value) {
68 SetPadding(std::forward<PaddingT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_height;
74
75 Spacing m_padding;
76 bool m_heightHasBeenSet = false;
77 bool m_paddingHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace QuickSight
82} // namespace Aws
AWS_QUICKSIGHT_API SectionStyle & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API SectionStyle()=default
SectionStyle & WithPadding(PaddingT &&value)
const Aws::String & GetHeight() const
SectionStyle & WithHeight(HeightT &&value)
AWS_QUICKSIGHT_API SectionStyle(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPadding(PaddingT &&value)
const Spacing & GetPadding() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue