AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
Spacing.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.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
28class Spacing {
29 public:
30 AWS_QUICKSIGHT_API Spacing() = default;
31 AWS_QUICKSIGHT_API Spacing(Aws::Utils::Json::JsonView jsonValue);
32 AWS_QUICKSIGHT_API Spacing& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetTop() const { return m_top; }
40 inline bool TopHasBeenSet() const { return m_topHasBeenSet; }
41 template <typename TopT = Aws::String>
42 void SetTop(TopT&& value) {
43 m_topHasBeenSet = true;
44 m_top = std::forward<TopT>(value);
45 }
46 template <typename TopT = Aws::String>
47 Spacing& WithTop(TopT&& value) {
48 SetTop(std::forward<TopT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetBottom() const { return m_bottom; }
58 inline bool BottomHasBeenSet() const { return m_bottomHasBeenSet; }
59 template <typename BottomT = Aws::String>
60 void SetBottom(BottomT&& value) {
61 m_bottomHasBeenSet = true;
62 m_bottom = std::forward<BottomT>(value);
63 }
64 template <typename BottomT = Aws::String>
65 Spacing& WithBottom(BottomT&& value) {
66 SetBottom(std::forward<BottomT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetLeft() const { return m_left; }
76 inline bool LeftHasBeenSet() const { return m_leftHasBeenSet; }
77 template <typename LeftT = Aws::String>
78 void SetLeft(LeftT&& value) {
79 m_leftHasBeenSet = true;
80 m_left = std::forward<LeftT>(value);
81 }
82 template <typename LeftT = Aws::String>
83 Spacing& WithLeft(LeftT&& value) {
84 SetLeft(std::forward<LeftT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetRight() const { return m_right; }
94 inline bool RightHasBeenSet() const { return m_rightHasBeenSet; }
95 template <typename RightT = Aws::String>
96 void SetRight(RightT&& value) {
97 m_rightHasBeenSet = true;
98 m_right = std::forward<RightT>(value);
99 }
100 template <typename RightT = Aws::String>
101 Spacing& WithRight(RightT&& value) {
102 SetRight(std::forward<RightT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_top;
108
109 Aws::String m_bottom;
110
111 Aws::String m_left;
112
113 Aws::String m_right;
114 bool m_topHasBeenSet = false;
115 bool m_bottomHasBeenSet = false;
116 bool m_leftHasBeenSet = false;
117 bool m_rightHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace QuickSight
122} // namespace Aws
void SetTop(TopT &&value)
Definition Spacing.h:42
AWS_QUICKSIGHT_API Spacing & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLeft() const
Definition Spacing.h:75
AWS_QUICKSIGHT_API Spacing(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
Spacing & WithRight(RightT &&value)
Definition Spacing.h:101
Spacing & WithLeft(LeftT &&value)
Definition Spacing.h:83
const Aws::String & GetRight() const
Definition Spacing.h:93
Spacing & WithBottom(BottomT &&value)
Definition Spacing.h:65
void SetLeft(LeftT &&value)
Definition Spacing.h:78
Spacing & WithTop(TopT &&value)
Definition Spacing.h:47
AWS_QUICKSIGHT_API Spacing()=default
void SetRight(RightT &&value)
Definition Spacing.h:96
void SetBottom(BottomT &&value)
Definition Spacing.h:60
const Aws::String & GetTop() const
Definition Spacing.h:39
const Aws::String & GetBottom() const
Definition Spacing.h:57
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue