AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TextConditionalFormat.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ConditionalFormattingColor.h>
9#include <aws/quicksight/model/ConditionalFormattingIcon.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 TextConditionalFormat();
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const ConditionalFormattingColor& GetBackgroundColor() const{ return m_backgroundColor; }
46 inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; }
47 inline void SetBackgroundColor(const ConditionalFormattingColor& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = value; }
48 inline void SetBackgroundColor(ConditionalFormattingColor&& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = std::move(value); }
52
54
57 inline const ConditionalFormattingColor& GetTextColor() const{ return m_textColor; }
58 inline bool TextColorHasBeenSet() const { return m_textColorHasBeenSet; }
59 inline void SetTextColor(const ConditionalFormattingColor& value) { m_textColorHasBeenSet = true; m_textColor = value; }
60 inline void SetTextColor(ConditionalFormattingColor&& value) { m_textColorHasBeenSet = true; m_textColor = std::move(value); }
61 inline TextConditionalFormat& WithTextColor(const ConditionalFormattingColor& value) { SetTextColor(value); return *this;}
62 inline TextConditionalFormat& WithTextColor(ConditionalFormattingColor&& value) { SetTextColor(std::move(value)); return *this;}
64
66
69 inline const ConditionalFormattingIcon& GetIcon() const{ return m_icon; }
70 inline bool IconHasBeenSet() const { return m_iconHasBeenSet; }
71 inline void SetIcon(const ConditionalFormattingIcon& value) { m_iconHasBeenSet = true; m_icon = value; }
72 inline void SetIcon(ConditionalFormattingIcon&& value) { m_iconHasBeenSet = true; m_icon = std::move(value); }
73 inline TextConditionalFormat& WithIcon(const ConditionalFormattingIcon& value) { SetIcon(value); return *this;}
74 inline TextConditionalFormat& WithIcon(ConditionalFormattingIcon&& value) { SetIcon(std::move(value)); return *this;}
76 private:
77
78 ConditionalFormattingColor m_backgroundColor;
79 bool m_backgroundColorHasBeenSet = false;
80
82 bool m_textColorHasBeenSet = false;
83
85 bool m_iconHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace QuickSight
90} // namespace Aws
AWS_QUICKSIGHT_API TextConditionalFormat(Aws::Utils::Json::JsonView jsonValue)
TextConditionalFormat & WithTextColor(ConditionalFormattingColor &&value)
void SetBackgroundColor(ConditionalFormattingColor &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBackgroundColor(const ConditionalFormattingColor &value)
TextConditionalFormat & WithIcon(const ConditionalFormattingIcon &value)
void SetTextColor(const ConditionalFormattingColor &value)
TextConditionalFormat & WithBackgroundColor(const ConditionalFormattingColor &value)
TextConditionalFormat & WithTextColor(const ConditionalFormattingColor &value)
const ConditionalFormattingColor & GetTextColor() const
AWS_QUICKSIGHT_API TextConditionalFormat & operator=(Aws::Utils::Json::JsonView jsonValue)
const ConditionalFormattingIcon & GetIcon() const
void SetIcon(ConditionalFormattingIcon &&value)
TextConditionalFormat & WithIcon(ConditionalFormattingIcon &&value)
const ConditionalFormattingColor & GetBackgroundColor() const
TextConditionalFormat & WithBackgroundColor(ConditionalFormattingColor &&value)
void SetTextColor(ConditionalFormattingColor &&value)
void SetIcon(const ConditionalFormattingIcon &value)
Aws::Utils::Json::JsonValue JsonValue