AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetColor(const Aws::String& value) { m_colorHasBeenSet = true; m_color = value; }
48 inline void SetColor(Aws::String&& value) { m_colorHasBeenSet = true; m_color = std::move(value); }
49 inline void SetColor(const char* value) { m_colorHasBeenSet = true; m_color.assign(value); }
50 inline TableBorderOptions& WithColor(const Aws::String& value) { SetColor(value); return *this;}
51 inline TableBorderOptions& WithColor(Aws::String&& value) { SetColor(std::move(value)); return *this;}
52 inline TableBorderOptions& WithColor(const char* value) { SetColor(value); return *this;}
54
56
59 inline int GetThickness() const{ return m_thickness; }
60 inline bool ThicknessHasBeenSet() const { return m_thicknessHasBeenSet; }
61 inline void SetThickness(int value) { m_thicknessHasBeenSet = true; m_thickness = value; }
62 inline TableBorderOptions& WithThickness(int value) { SetThickness(value); return *this;}
64
66
69 inline const TableBorderStyle& GetStyle() const{ return m_style; }
70 inline bool StyleHasBeenSet() const { return m_styleHasBeenSet; }
71 inline void SetStyle(const TableBorderStyle& value) { m_styleHasBeenSet = true; m_style = value; }
72 inline void SetStyle(TableBorderStyle&& value) { m_styleHasBeenSet = true; m_style = std::move(value); }
73 inline TableBorderOptions& WithStyle(const TableBorderStyle& value) { SetStyle(value); return *this;}
74 inline TableBorderOptions& WithStyle(TableBorderStyle&& value) { SetStyle(std::move(value)); return *this;}
76 private:
77
78 Aws::String m_color;
79 bool m_colorHasBeenSet = false;
80
81 int m_thickness;
82 bool m_thicknessHasBeenSet = false;
83
84 TableBorderStyle m_style;
85 bool m_styleHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace QuickSight
90} // namespace Aws
TableBorderOptions & WithThickness(int value)
TableBorderOptions & WithStyle(const TableBorderStyle &value)
AWS_QUICKSIGHT_API TableBorderOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
TableBorderOptions & WithStyle(TableBorderStyle &&value)
void SetStyle(TableBorderStyle &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TableBorderOptions & WithColor(const Aws::String &value)
AWS_QUICKSIGHT_API TableBorderOptions(Aws::Utils::Json::JsonView jsonValue)
void SetColor(const Aws::String &value)
TableBorderOptions & WithColor(const char *value)
const TableBorderStyle & GetStyle() const
TableBorderOptions & WithColor(Aws::String &&value)
void SetStyle(const TableBorderStyle &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue