AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ShapeConditionalFormat.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
29 public:
30 AWS_QUICKSIGHT_API ShapeConditionalFormat() = default;
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const ConditionalFormattingColor& GetBackgroundColor() const { return m_backgroundColor; }
41 inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; }
42 template <typename BackgroundColorT = ConditionalFormattingColor>
43 void SetBackgroundColor(BackgroundColorT&& value) {
44 m_backgroundColorHasBeenSet = true;
45 m_backgroundColor = std::forward<BackgroundColorT>(value);
46 }
47 template <typename BackgroundColorT = ConditionalFormattingColor>
48 ShapeConditionalFormat& WithBackgroundColor(BackgroundColorT&& value) {
49 SetBackgroundColor(std::forward<BackgroundColorT>(value));
50 return *this;
51 }
53 private:
54 ConditionalFormattingColor m_backgroundColor;
55 bool m_backgroundColorHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace QuickSight
60} // namespace Aws
AWS_QUICKSIGHT_API ShapeConditionalFormat(Aws::Utils::Json::JsonView jsonValue)
const ConditionalFormattingColor & GetBackgroundColor() const
AWS_QUICKSIGHT_API ShapeConditionalFormat()=default
AWS_QUICKSIGHT_API ShapeConditionalFormat & operator=(Aws::Utils::Json::JsonView jsonValue)
ShapeConditionalFormat & WithBackgroundColor(BackgroundColorT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue