AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
BorderSettings.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/Visibility.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
30 public:
31 AWS_QUICKSIGHT_API BorderSettings() = default;
32 AWS_QUICKSIGHT_API BorderSettings(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API BorderSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline Visibility GetBorderVisibility() const { return m_borderVisibility; }
41 inline bool BorderVisibilityHasBeenSet() const { return m_borderVisibilityHasBeenSet; }
42 inline void SetBorderVisibility(Visibility value) {
43 m_borderVisibilityHasBeenSet = true;
44 m_borderVisibility = value;
45 }
48 return *this;
49 }
51
53
56 inline const Aws::String& GetBorderWidth() const { return m_borderWidth; }
57 inline bool BorderWidthHasBeenSet() const { return m_borderWidthHasBeenSet; }
58 template <typename BorderWidthT = Aws::String>
59 void SetBorderWidth(BorderWidthT&& value) {
60 m_borderWidthHasBeenSet = true;
61 m_borderWidth = std::forward<BorderWidthT>(value);
62 }
63 template <typename BorderWidthT = Aws::String>
64 BorderSettings& WithBorderWidth(BorderWidthT&& value) {
65 SetBorderWidth(std::forward<BorderWidthT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetBorderColor() const { return m_borderColor; }
75 inline bool BorderColorHasBeenSet() const { return m_borderColorHasBeenSet; }
76 template <typename BorderColorT = Aws::String>
77 void SetBorderColor(BorderColorT&& value) {
78 m_borderColorHasBeenSet = true;
79 m_borderColor = std::forward<BorderColorT>(value);
80 }
81 template <typename BorderColorT = Aws::String>
82 BorderSettings& WithBorderColor(BorderColorT&& value) {
83 SetBorderColor(std::forward<BorderColorT>(value));
84 return *this;
85 }
87 private:
88 Visibility m_borderVisibility{Visibility::NOT_SET};
89
90 Aws::String m_borderWidth;
91
92 Aws::String m_borderColor;
93 bool m_borderVisibilityHasBeenSet = false;
94 bool m_borderWidthHasBeenSet = false;
95 bool m_borderColorHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace QuickSight
100} // namespace Aws
const Aws::String & GetBorderColor() const
BorderSettings & WithBorderColor(BorderColorT &&value)
AWS_QUICKSIGHT_API BorderSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBorderWidth(BorderWidthT &&value)
BorderSettings & WithBorderWidth(BorderWidthT &&value)
const Aws::String & GetBorderWidth() const
void SetBorderVisibility(Visibility value)
AWS_QUICKSIGHT_API BorderSettings()=default
void SetBorderColor(BorderColorT &&value)
BorderSettings & WithBorderVisibility(Visibility value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API BorderSettings(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue