AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetHeight(const Aws::String& value) { m_heightHasBeenSet = true; m_height = value; }
49 inline void SetHeight(Aws::String&& value) { m_heightHasBeenSet = true; m_height = std::move(value); }
50 inline void SetHeight(const char* value) { m_heightHasBeenSet = true; m_height.assign(value); }
51 inline SectionStyle& WithHeight(const Aws::String& value) { SetHeight(value); return *this;}
52 inline SectionStyle& WithHeight(Aws::String&& value) { SetHeight(std::move(value)); return *this;}
53 inline SectionStyle& WithHeight(const char* value) { SetHeight(value); return *this;}
55
57
61 inline const Spacing& GetPadding() const{ return m_padding; }
62 inline bool PaddingHasBeenSet() const { return m_paddingHasBeenSet; }
63 inline void SetPadding(const Spacing& value) { m_paddingHasBeenSet = true; m_padding = value; }
64 inline void SetPadding(Spacing&& value) { m_paddingHasBeenSet = true; m_padding = std::move(value); }
65 inline SectionStyle& WithPadding(const Spacing& value) { SetPadding(value); return *this;}
66 inline SectionStyle& WithPadding(Spacing&& value) { SetPadding(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_height;
71 bool m_heightHasBeenSet = false;
72
73 Spacing m_padding;
74 bool m_paddingHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace QuickSight
79} // namespace Aws
AWS_QUICKSIGHT_API SectionStyle & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetHeight(Aws::String &&value)
SectionStyle & WithPadding(Spacing &&value)
SectionStyle & WithPadding(const Spacing &value)
const Aws::String & GetHeight() const
void SetHeight(const char *value)
AWS_QUICKSIGHT_API SectionStyle(Aws::Utils::Json::JsonView jsonValue)
void SetHeight(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
SectionStyle & WithHeight(const Aws::String &value)
void SetPadding(const Spacing &value)
SectionStyle & WithHeight(Aws::String &&value)
SectionStyle & WithHeight(const char *value)
const Spacing & GetPadding() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue