AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SectionStyle.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/Spacing.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QUICKSIGHT_API SectionStyle() = default;
36 AWS_QUICKSIGHT_API SectionStyle(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API SectionStyle& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetHeight() const { return m_height; }
47 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
48 template<typename HeightT = Aws::String>
49 void SetHeight(HeightT&& value) { m_heightHasBeenSet = true; m_height = std::forward<HeightT>(value); }
50 template<typename HeightT = Aws::String>
51 SectionStyle& WithHeight(HeightT&& value) { SetHeight(std::forward<HeightT>(value)); return *this;}
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) { m_paddingHasBeenSet = true; m_padding = std::forward<PaddingT>(value); }
63 template<typename PaddingT = Spacing>
64 SectionStyle& WithPadding(PaddingT&& value) { SetPadding(std::forward<PaddingT>(value)); return *this;}
66 private:
67
68 Aws::String m_height;
69 bool m_heightHasBeenSet = false;
70
71 Spacing m_padding;
72 bool m_paddingHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace QuickSight
77} // 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