AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const Visibility& GetVisibility() const{ return m_visibility; }
52 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
53 inline void SetVisibility(const Visibility& value) { m_visibilityHasBeenSet = true; m_visibility = value; }
54 inline void SetVisibility(Visibility&& value) { m_visibilityHasBeenSet = true; m_visibility = std::move(value); }
55 inline TableCellStyle& WithVisibility(const Visibility& value) { SetVisibility(value); return *this;}
56 inline TableCellStyle& WithVisibility(Visibility&& value) { SetVisibility(std::move(value)); return *this;}
58
60
63 inline const FontConfiguration& GetFontConfiguration() const{ return m_fontConfiguration; }
64 inline bool FontConfigurationHasBeenSet() const { return m_fontConfigurationHasBeenSet; }
65 inline void SetFontConfiguration(const FontConfiguration& value) { m_fontConfigurationHasBeenSet = true; m_fontConfiguration = value; }
66 inline void SetFontConfiguration(FontConfiguration&& value) { m_fontConfigurationHasBeenSet = true; m_fontConfiguration = std::move(value); }
67 inline TableCellStyle& WithFontConfiguration(const FontConfiguration& value) { SetFontConfiguration(value); return *this;}
68 inline TableCellStyle& WithFontConfiguration(FontConfiguration&& value) { SetFontConfiguration(std::move(value)); return *this;}
70
72
75 inline const TextWrap& GetTextWrap() const{ return m_textWrap; }
76 inline bool TextWrapHasBeenSet() const { return m_textWrapHasBeenSet; }
77 inline void SetTextWrap(const TextWrap& value) { m_textWrapHasBeenSet = true; m_textWrap = value; }
78 inline void SetTextWrap(TextWrap&& value) { m_textWrapHasBeenSet = true; m_textWrap = std::move(value); }
79 inline TableCellStyle& WithTextWrap(const TextWrap& value) { SetTextWrap(value); return *this;}
80 inline TableCellStyle& WithTextWrap(TextWrap&& value) { SetTextWrap(std::move(value)); return *this;}
82
84
88 inline const HorizontalTextAlignment& GetHorizontalTextAlignment() const{ return m_horizontalTextAlignment; }
89 inline bool HorizontalTextAlignmentHasBeenSet() const { return m_horizontalTextAlignmentHasBeenSet; }
90 inline void SetHorizontalTextAlignment(const HorizontalTextAlignment& value) { m_horizontalTextAlignmentHasBeenSet = true; m_horizontalTextAlignment = value; }
91 inline void SetHorizontalTextAlignment(HorizontalTextAlignment&& value) { m_horizontalTextAlignmentHasBeenSet = true; m_horizontalTextAlignment = std::move(value); }
95
97
100 inline const VerticalTextAlignment& GetVerticalTextAlignment() const{ return m_verticalTextAlignment; }
101 inline bool VerticalTextAlignmentHasBeenSet() const { return m_verticalTextAlignmentHasBeenSet; }
102 inline void SetVerticalTextAlignment(const VerticalTextAlignment& value) { m_verticalTextAlignmentHasBeenSet = true; m_verticalTextAlignment = value; }
103 inline void SetVerticalTextAlignment(VerticalTextAlignment&& value) { m_verticalTextAlignmentHasBeenSet = true; m_verticalTextAlignment = std::move(value); }
107
109
112 inline const Aws::String& GetBackgroundColor() const{ return m_backgroundColor; }
113 inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; }
114 inline void SetBackgroundColor(const Aws::String& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = value; }
115 inline void SetBackgroundColor(Aws::String&& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = std::move(value); }
116 inline void SetBackgroundColor(const char* value) { m_backgroundColorHasBeenSet = true; m_backgroundColor.assign(value); }
117 inline TableCellStyle& WithBackgroundColor(const Aws::String& value) { SetBackgroundColor(value); return *this;}
118 inline TableCellStyle& WithBackgroundColor(Aws::String&& value) { SetBackgroundColor(std::move(value)); return *this;}
119 inline TableCellStyle& WithBackgroundColor(const char* value) { SetBackgroundColor(value); return *this;}
121
123
126 inline int GetHeight() const{ return m_height; }
127 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
128 inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; }
129 inline TableCellStyle& WithHeight(int value) { SetHeight(value); return *this;}
131
133
136 inline const GlobalTableBorderOptions& GetBorder() const{ return m_border; }
137 inline bool BorderHasBeenSet() const { return m_borderHasBeenSet; }
138 inline void SetBorder(const GlobalTableBorderOptions& value) { m_borderHasBeenSet = true; m_border = value; }
139 inline void SetBorder(GlobalTableBorderOptions&& value) { m_borderHasBeenSet = true; m_border = std::move(value); }
140 inline TableCellStyle& WithBorder(const GlobalTableBorderOptions& value) { SetBorder(value); return *this;}
141 inline TableCellStyle& WithBorder(GlobalTableBorderOptions&& value) { SetBorder(std::move(value)); return *this;}
143 private:
144
145 Visibility m_visibility;
146 bool m_visibilityHasBeenSet = false;
147
148 FontConfiguration m_fontConfiguration;
149 bool m_fontConfigurationHasBeenSet = false;
150
151 TextWrap m_textWrap;
152 bool m_textWrapHasBeenSet = false;
153
154 HorizontalTextAlignment m_horizontalTextAlignment;
155 bool m_horizontalTextAlignmentHasBeenSet = false;
156
157 VerticalTextAlignment m_verticalTextAlignment;
158 bool m_verticalTextAlignmentHasBeenSet = false;
159
160 Aws::String m_backgroundColor;
161 bool m_backgroundColorHasBeenSet = false;
162
163 int m_height;
164 bool m_heightHasBeenSet = false;
165
167 bool m_borderHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace QuickSight
172} // namespace Aws
const FontConfiguration & GetFontConfiguration() const
const Aws::String & GetBackgroundColor() const
void SetBackgroundColor(Aws::String &&value)
TableCellStyle & WithVerticalTextAlignment(VerticalTextAlignment &&value)
TableCellStyle & WithBorder(const GlobalTableBorderOptions &value)
void SetVisibility(const Visibility &value)
TableCellStyle & WithFontConfiguration(const FontConfiguration &value)
TableCellStyle & WithVisibility(Visibility &&value)
void SetVisibility(Visibility &&value)
void SetTextWrap(const TextWrap &value)
TableCellStyle & WithBackgroundColor(const Aws::String &value)
TableCellStyle & WithTextWrap(TextWrap &&value)
const GlobalTableBorderOptions & GetBorder() const
AWS_QUICKSIGHT_API TableCellStyle & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetHorizontalTextAlignment(const HorizontalTextAlignment &value)
void SetBorder(const GlobalTableBorderOptions &value)
const HorizontalTextAlignment & GetHorizontalTextAlignment() const
void SetVerticalTextAlignment(const VerticalTextAlignment &value)
void SetBorder(GlobalTableBorderOptions &&value)
AWS_QUICKSIGHT_API TableCellStyle(Aws::Utils::Json::JsonView jsonValue)
void SetBackgroundColor(const Aws::String &value)
void SetHorizontalTextAlignment(HorizontalTextAlignment &&value)
const VerticalTextAlignment & GetVerticalTextAlignment() const
TableCellStyle & WithHorizontalTextAlignment(HorizontalTextAlignment &&value)
void SetFontConfiguration(FontConfiguration &&value)
TableCellStyle & WithFontConfiguration(FontConfiguration &&value)
TableCellStyle & WithBorder(GlobalTableBorderOptions &&value)
TableCellStyle & WithVisibility(const Visibility &value)
void SetFontConfiguration(const FontConfiguration &value)
const Visibility & GetVisibility() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TableCellStyle & WithBackgroundColor(Aws::String &&value)
TableCellStyle & WithTextWrap(const TextWrap &value)
TableCellStyle & WithHorizontalTextAlignment(const HorizontalTextAlignment &value)
TableCellStyle & WithVerticalTextAlignment(const VerticalTextAlignment &value)
const TextWrap & GetTextWrap() const
void SetVerticalTextAlignment(VerticalTextAlignment &&value)
void SetBackgroundColor(const char *value)
TableCellStyle & WithHeight(int value)
TableCellStyle & WithBackgroundColor(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue