AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
TableRowConditionalFormatting.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ConditionalFormattingColor.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
28 public:
29 AWS_QUICKSIGHT_API TableRowConditionalFormatting() = default;
32 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline const ConditionalFormattingColor& GetBackgroundColor() const { return m_backgroundColor; }
40 inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; }
41 template <typename BackgroundColorT = ConditionalFormattingColor>
42 void SetBackgroundColor(BackgroundColorT&& value) {
43 m_backgroundColorHasBeenSet = true;
44 m_backgroundColor = std::forward<BackgroundColorT>(value);
45 }
46 template <typename BackgroundColorT = ConditionalFormattingColor>
48 SetBackgroundColor(std::forward<BackgroundColorT>(value));
49 return *this;
50 }
52
54
58 inline const ConditionalFormattingColor& GetTextColor() const { return m_textColor; }
59 inline bool TextColorHasBeenSet() const { return m_textColorHasBeenSet; }
60 template <typename TextColorT = ConditionalFormattingColor>
61 void SetTextColor(TextColorT&& value) {
62 m_textColorHasBeenSet = true;
63 m_textColor = std::forward<TextColorT>(value);
64 }
65 template <typename TextColorT = ConditionalFormattingColor>
67 SetTextColor(std::forward<TextColorT>(value));
68 return *this;
69 }
71 private:
72 ConditionalFormattingColor m_backgroundColor;
73
75 bool m_backgroundColorHasBeenSet = false;
76 bool m_textColorHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace QuickSight
81} // namespace Aws
AWS_QUICKSIGHT_API TableRowConditionalFormatting(Aws::Utils::Json::JsonView jsonValue)
const ConditionalFormattingColor & GetBackgroundColor() const
AWS_QUICKSIGHT_API TableRowConditionalFormatting & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API TableRowConditionalFormatting()=default
TableRowConditionalFormatting & WithTextColor(TextColorT &&value)
TableRowConditionalFormatting & WithBackgroundColor(BackgroundColorT &&value)
Aws::Utils::Json::JsonValue JsonValue