AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_QUICKSIGHT_API ShapeConditionalFormat() = default;
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const ConditionalFormattingColor& GetBackgroundColor() const { return m_backgroundColor; }
47 inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; }
48 template<typename BackgroundColorT = ConditionalFormattingColor>
49 void SetBackgroundColor(BackgroundColorT&& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = std::forward<BackgroundColorT>(value); }
50 template<typename BackgroundColorT = ConditionalFormattingColor>
51 ShapeConditionalFormat& WithBackgroundColor(BackgroundColorT&& value) { SetBackgroundColor(std::forward<BackgroundColorT>(value)); return *this;}
53 private:
54
55 ConditionalFormattingColor m_backgroundColor;
56 bool m_backgroundColorHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace QuickSight
61} // 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