AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
BorderStyle.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
29 public:
30 AWS_QUICKSIGHT_API BorderStyle() = default;
31 AWS_QUICKSIGHT_API BorderStyle(Aws::Utils::Json::JsonView jsonValue);
32 AWS_QUICKSIGHT_API BorderStyle& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetColor() const { return m_color; }
40 inline bool ColorHasBeenSet() const { return m_colorHasBeenSet; }
41 template <typename ColorT = Aws::String>
42 void SetColor(ColorT&& value) {
43 m_colorHasBeenSet = true;
44 m_color = std::forward<ColorT>(value);
45 }
46 template <typename ColorT = Aws::String>
47 BorderStyle& WithColor(ColorT&& value) {
48 SetColor(std::forward<ColorT>(value));
49 return *this;
50 }
52
54
57 inline bool GetShow() const { return m_show; }
58 inline bool ShowHasBeenSet() const { return m_showHasBeenSet; }
59 inline void SetShow(bool value) {
60 m_showHasBeenSet = true;
61 m_show = value;
62 }
63 inline BorderStyle& WithShow(bool value) {
64 SetShow(value);
65 return *this;
66 }
68
70
73 inline const Aws::String& GetWidth() const { return m_width; }
74 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
75 template <typename WidthT = Aws::String>
76 void SetWidth(WidthT&& value) {
77 m_widthHasBeenSet = true;
78 m_width = std::forward<WidthT>(value);
79 }
80 template <typename WidthT = Aws::String>
81 BorderStyle& WithWidth(WidthT&& value) {
82 SetWidth(std::forward<WidthT>(value));
83 return *this;
84 }
86 private:
87 Aws::String m_color;
88
89 bool m_show{false};
90
91 Aws::String m_width;
92 bool m_colorHasBeenSet = false;
93 bool m_showHasBeenSet = false;
94 bool m_widthHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace QuickSight
99} // namespace Aws
BorderStyle & WithShow(bool value)
Definition BorderStyle.h:63
BorderStyle & WithWidth(WidthT &&value)
Definition BorderStyle.h:81
const Aws::String & GetColor() const
Definition BorderStyle.h:39
AWS_QUICKSIGHT_API BorderStyle()=default
AWS_QUICKSIGHT_API BorderStyle(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetWidth() const
Definition BorderStyle.h:73
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
BorderStyle & WithColor(ColorT &&value)
Definition BorderStyle.h:47
AWS_QUICKSIGHT_API BorderStyle & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue