/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

The shape conditional formatting of a filled map visual.

See * Also:

AWS * API Reference

*/ class ShapeConditionalFormat { public: AWS_QUICKSIGHT_API ShapeConditionalFormat(); AWS_QUICKSIGHT_API ShapeConditionalFormat(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API ShapeConditionalFormat& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The conditional formatting for the shape background color of a filled map * visual.

*/ inline const ConditionalFormattingColor& GetBackgroundColor() const{ return m_backgroundColor; } /** *

The conditional formatting for the shape background color of a filled map * visual.

*/ inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; } /** *

The conditional formatting for the shape background color of a filled map * visual.

*/ inline void SetBackgroundColor(const ConditionalFormattingColor& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = value; } /** *

The conditional formatting for the shape background color of a filled map * visual.

*/ inline void SetBackgroundColor(ConditionalFormattingColor&& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = std::move(value); } /** *

The conditional formatting for the shape background color of a filled map * visual.

*/ inline ShapeConditionalFormat& WithBackgroundColor(const ConditionalFormattingColor& value) { SetBackgroundColor(value); return *this;} /** *

The conditional formatting for the shape background color of a filled map * visual.

*/ inline ShapeConditionalFormat& WithBackgroundColor(ConditionalFormattingColor&& value) { SetBackgroundColor(std::move(value)); return *this;} private: ConditionalFormattingColor m_backgroundColor; bool m_backgroundColorHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws