AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Spacing.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight
22{
23namespace Model
24{
25
32 class Spacing
33 {
34 public:
35 AWS_QUICKSIGHT_API Spacing() = default;
36 AWS_QUICKSIGHT_API Spacing(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API Spacing& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetTop() const { return m_top; }
46 inline bool TopHasBeenSet() const { return m_topHasBeenSet; }
47 template<typename TopT = Aws::String>
48 void SetTop(TopT&& value) { m_topHasBeenSet = true; m_top = std::forward<TopT>(value); }
49 template<typename TopT = Aws::String>
50 Spacing& WithTop(TopT&& value) { SetTop(std::forward<TopT>(value)); return *this;}
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) { m_bottomHasBeenSet = true; m_bottom = std::forward<BottomT>(value); }
61 template<typename BottomT = Aws::String>
62 Spacing& WithBottom(BottomT&& value) { SetBottom(std::forward<BottomT>(value)); return *this;}
64
66
69 inline const Aws::String& GetLeft() const { return m_left; }
70 inline bool LeftHasBeenSet() const { return m_leftHasBeenSet; }
71 template<typename LeftT = Aws::String>
72 void SetLeft(LeftT&& value) { m_leftHasBeenSet = true; m_left = std::forward<LeftT>(value); }
73 template<typename LeftT = Aws::String>
74 Spacing& WithLeft(LeftT&& value) { SetLeft(std::forward<LeftT>(value)); return *this;}
76
78
81 inline const Aws::String& GetRight() const { return m_right; }
82 inline bool RightHasBeenSet() const { return m_rightHasBeenSet; }
83 template<typename RightT = Aws::String>
84 void SetRight(RightT&& value) { m_rightHasBeenSet = true; m_right = std::forward<RightT>(value); }
85 template<typename RightT = Aws::String>
86 Spacing& WithRight(RightT&& value) { SetRight(std::forward<RightT>(value)); return *this;}
88 private:
89
90 Aws::String m_top;
91 bool m_topHasBeenSet = false;
92
93 Aws::String m_bottom;
94 bool m_bottomHasBeenSet = false;
95
96 Aws::String m_left;
97 bool m_leftHasBeenSet = false;
98
99 Aws::String m_right;
100 bool m_rightHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace QuickSight
105} // namespace Aws
void SetTop(TopT &&value)
Definition Spacing.h:48
AWS_QUICKSIGHT_API Spacing & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLeft() const
Definition Spacing.h:69
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:86
Spacing & WithLeft(LeftT &&value)
Definition Spacing.h:74
const Aws::String & GetRight() const
Definition Spacing.h:81
Spacing & WithBottom(BottomT &&value)
Definition Spacing.h:62
void SetLeft(LeftT &&value)
Definition Spacing.h:72
Spacing & WithTop(TopT &&value)
Definition Spacing.h:50
AWS_QUICKSIGHT_API Spacing()=default
void SetRight(RightT &&value)
Definition Spacing.h:84
void SetBottom(BottomT &&value)
Definition Spacing.h:60
const Aws::String & GetTop() const
Definition Spacing.h:45
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