AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TableCellStyle.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/Visibility.h>
9#include <aws/quicksight/model/FontConfiguration.h>
10#include <aws/quicksight/model/TextWrap.h>
11#include <aws/quicksight/model/HorizontalTextAlignment.h>
12#include <aws/quicksight/model/VerticalTextAlignment.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/quicksight/model/GlobalTableBorderOptions.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace QuickSight
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_QUICKSIGHT_API TableCellStyle() = default;
42 AWS_QUICKSIGHT_API TableCellStyle(Aws::Utils::Json::JsonView jsonValue);
43 AWS_QUICKSIGHT_API TableCellStyle& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline Visibility GetVisibility() const { return m_visibility; }
52 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
53 inline void SetVisibility(Visibility value) { m_visibilityHasBeenSet = true; m_visibility = value; }
54 inline TableCellStyle& WithVisibility(Visibility value) { SetVisibility(value); return *this;}
56
58
61 inline const FontConfiguration& GetFontConfiguration() const { return m_fontConfiguration; }
62 inline bool FontConfigurationHasBeenSet() const { return m_fontConfigurationHasBeenSet; }
63 template<typename FontConfigurationT = FontConfiguration>
64 void SetFontConfiguration(FontConfigurationT&& value) { m_fontConfigurationHasBeenSet = true; m_fontConfiguration = std::forward<FontConfigurationT>(value); }
65 template<typename FontConfigurationT = FontConfiguration>
66 TableCellStyle& WithFontConfiguration(FontConfigurationT&& value) { SetFontConfiguration(std::forward<FontConfigurationT>(value)); return *this;}
68
70
73 inline TextWrap GetTextWrap() const { return m_textWrap; }
74 inline bool TextWrapHasBeenSet() const { return m_textWrapHasBeenSet; }
75 inline void SetTextWrap(TextWrap value) { m_textWrapHasBeenSet = true; m_textWrap = value; }
76 inline TableCellStyle& WithTextWrap(TextWrap value) { SetTextWrap(value); return *this;}
78
80
84 inline HorizontalTextAlignment GetHorizontalTextAlignment() const { return m_horizontalTextAlignment; }
85 inline bool HorizontalTextAlignmentHasBeenSet() const { return m_horizontalTextAlignmentHasBeenSet; }
86 inline void SetHorizontalTextAlignment(HorizontalTextAlignment value) { m_horizontalTextAlignmentHasBeenSet = true; m_horizontalTextAlignment = value; }
89
91
94 inline VerticalTextAlignment GetVerticalTextAlignment() const { return m_verticalTextAlignment; }
95 inline bool VerticalTextAlignmentHasBeenSet() const { return m_verticalTextAlignmentHasBeenSet; }
96 inline void SetVerticalTextAlignment(VerticalTextAlignment value) { m_verticalTextAlignmentHasBeenSet = true; m_verticalTextAlignment = value; }
99
101
104 inline const Aws::String& GetBackgroundColor() const { return m_backgroundColor; }
105 inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; }
106 template<typename BackgroundColorT = Aws::String>
107 void SetBackgroundColor(BackgroundColorT&& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = std::forward<BackgroundColorT>(value); }
108 template<typename BackgroundColorT = Aws::String>
109 TableCellStyle& WithBackgroundColor(BackgroundColorT&& value) { SetBackgroundColor(std::forward<BackgroundColorT>(value)); return *this;}
111
113
116 inline int GetHeight() const { return m_height; }
117 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
118 inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; }
119 inline TableCellStyle& WithHeight(int value) { SetHeight(value); return *this;}
121
123
126 inline const GlobalTableBorderOptions& GetBorder() const { return m_border; }
127 inline bool BorderHasBeenSet() const { return m_borderHasBeenSet; }
128 template<typename BorderT = GlobalTableBorderOptions>
129 void SetBorder(BorderT&& value) { m_borderHasBeenSet = true; m_border = std::forward<BorderT>(value); }
130 template<typename BorderT = GlobalTableBorderOptions>
131 TableCellStyle& WithBorder(BorderT&& value) { SetBorder(std::forward<BorderT>(value)); return *this;}
133 private:
134
135 Visibility m_visibility{Visibility::NOT_SET};
136 bool m_visibilityHasBeenSet = false;
137
138 FontConfiguration m_fontConfiguration;
139 bool m_fontConfigurationHasBeenSet = false;
140
141 TextWrap m_textWrap{TextWrap::NOT_SET};
142 bool m_textWrapHasBeenSet = false;
143
145 bool m_horizontalTextAlignmentHasBeenSet = false;
146
148 bool m_verticalTextAlignmentHasBeenSet = false;
149
150 Aws::String m_backgroundColor;
151 bool m_backgroundColorHasBeenSet = false;
152
153 int m_height{0};
154 bool m_heightHasBeenSet = false;
155
156 GlobalTableBorderOptions m_border;
157 bool m_borderHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace QuickSight
162} // namespace Aws
const FontConfiguration & GetFontConfiguration() const
const Aws::String & GetBackgroundColor() const
void SetBackgroundColor(BackgroundColorT &&value)
VerticalTextAlignment GetVerticalTextAlignment() const
TableCellStyle & WithBackgroundColor(BackgroundColorT &&value)
TableCellStyle & WithVerticalTextAlignment(VerticalTextAlignment value)
void SetFontConfiguration(FontConfigurationT &&value)
TableCellStyle & WithHorizontalTextAlignment(HorizontalTextAlignment value)
const GlobalTableBorderOptions & GetBorder() const
AWS_QUICKSIGHT_API TableCellStyle & operator=(Aws::Utils::Json::JsonView jsonValue)
HorizontalTextAlignment GetHorizontalTextAlignment() const
void SetHorizontalTextAlignment(HorizontalTextAlignment value)
void SetVerticalTextAlignment(VerticalTextAlignment value)
AWS_QUICKSIGHT_API TableCellStyle(Aws::Utils::Json::JsonView jsonValue)
TableCellStyle & WithBorder(BorderT &&value)
AWS_QUICKSIGHT_API TableCellStyle()=default
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TableCellStyle & WithTextWrap(TextWrap value)
TableCellStyle & WithVisibility(Visibility value)
TableCellStyle & WithFontConfiguration(FontConfigurationT &&value)
TableCellStyle & WithHeight(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue