AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
TableBorderOptions.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/TableBorderStyle.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
29 public:
30 AWS_QUICKSIGHT_API TableBorderOptions() = default;
31 AWS_QUICKSIGHT_API TableBorderOptions(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 TableBorderOptions& WithColor(ColorT&& value) {
48 SetColor(std::forward<ColorT>(value));
49 return *this;
50 }
52
54
57 inline int GetThickness() const { return m_thickness; }
58 inline bool ThicknessHasBeenSet() const { return m_thicknessHasBeenSet; }
59 inline void SetThickness(int value) {
60 m_thicknessHasBeenSet = true;
61 m_thickness = value;
62 }
63 inline TableBorderOptions& WithThickness(int value) {
64 SetThickness(value);
65 return *this;
66 }
68
70
73 inline TableBorderStyle GetStyle() const { return m_style; }
74 inline bool StyleHasBeenSet() const { return m_styleHasBeenSet; }
75 inline void SetStyle(TableBorderStyle value) {
76 m_styleHasBeenSet = true;
77 m_style = value;
78 }
80 SetStyle(value);
81 return *this;
82 }
84 private:
85 Aws::String m_color;
86
87 int m_thickness{0};
88
90 bool m_colorHasBeenSet = false;
91 bool m_thicknessHasBeenSet = false;
92 bool m_styleHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace QuickSight
97} // namespace Aws
TableBorderOptions & WithThickness(int value)
AWS_QUICKSIGHT_API TableBorderOptions()=default
AWS_QUICKSIGHT_API TableBorderOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
TableBorderOptions & WithStyle(TableBorderStyle value)
TableBorderOptions & WithColor(ColorT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API TableBorderOptions(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue