AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TableBorderOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/TableBorderStyle.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QUICKSIGHT_API TableBorderOptions() = default;
36 AWS_QUICKSIGHT_API TableBorderOptions(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetColor() const { return m_color; }
46 inline bool ColorHasBeenSet() const { return m_colorHasBeenSet; }
47 template<typename ColorT = Aws::String>
48 void SetColor(ColorT&& value) { m_colorHasBeenSet = true; m_color = std::forward<ColorT>(value); }
49 template<typename ColorT = Aws::String>
50 TableBorderOptions& WithColor(ColorT&& value) { SetColor(std::forward<ColorT>(value)); return *this;}
52
54
57 inline int GetThickness() const { return m_thickness; }
58 inline bool ThicknessHasBeenSet() const { return m_thicknessHasBeenSet; }
59 inline void SetThickness(int value) { m_thicknessHasBeenSet = true; m_thickness = value; }
60 inline TableBorderOptions& WithThickness(int value) { SetThickness(value); return *this;}
62
64
67 inline TableBorderStyle GetStyle() const { return m_style; }
68 inline bool StyleHasBeenSet() const { return m_styleHasBeenSet; }
69 inline void SetStyle(TableBorderStyle value) { m_styleHasBeenSet = true; m_style = value; }
70 inline TableBorderOptions& WithStyle(TableBorderStyle value) { SetStyle(value); return *this;}
72 private:
73
74 Aws::String m_color;
75 bool m_colorHasBeenSet = false;
76
77 int m_thickness{0};
78 bool m_thicknessHasBeenSet = false;
79
81 bool m_styleHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace QuickSight
86} // 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