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

The visual display options for the visual palette.

See Also:

* AWS * API Reference

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

The chart color options for the visual palette.

*/ inline const Aws::String& GetChartColor() const{ return m_chartColor; } /** *

The chart color options for the visual palette.

*/ inline bool ChartColorHasBeenSet() const { return m_chartColorHasBeenSet; } /** *

The chart color options for the visual palette.

*/ inline void SetChartColor(const Aws::String& value) { m_chartColorHasBeenSet = true; m_chartColor = value; } /** *

The chart color options for the visual palette.

*/ inline void SetChartColor(Aws::String&& value) { m_chartColorHasBeenSet = true; m_chartColor = std::move(value); } /** *

The chart color options for the visual palette.

*/ inline void SetChartColor(const char* value) { m_chartColorHasBeenSet = true; m_chartColor.assign(value); } /** *

The chart color options for the visual palette.

*/ inline VisualPalette& WithChartColor(const Aws::String& value) { SetChartColor(value); return *this;} /** *

The chart color options for the visual palette.

*/ inline VisualPalette& WithChartColor(Aws::String&& value) { SetChartColor(std::move(value)); return *this;} /** *

The chart color options for the visual palette.

*/ inline VisualPalette& WithChartColor(const char* value) { SetChartColor(value); return *this;} /** *

The color map options for the visual palette.

*/ inline const Aws::Vector& GetColorMap() const{ return m_colorMap; } /** *

The color map options for the visual palette.

*/ inline bool ColorMapHasBeenSet() const { return m_colorMapHasBeenSet; } /** *

The color map options for the visual palette.

*/ inline void SetColorMap(const Aws::Vector& value) { m_colorMapHasBeenSet = true; m_colorMap = value; } /** *

The color map options for the visual palette.

*/ inline void SetColorMap(Aws::Vector&& value) { m_colorMapHasBeenSet = true; m_colorMap = std::move(value); } /** *

The color map options for the visual palette.

*/ inline VisualPalette& WithColorMap(const Aws::Vector& value) { SetColorMap(value); return *this;} /** *

The color map options for the visual palette.

*/ inline VisualPalette& WithColorMap(Aws::Vector&& value) { SetColorMap(std::move(value)); return *this;} /** *

The color map options for the visual palette.

*/ inline VisualPalette& AddColorMap(const DataPathColor& value) { m_colorMapHasBeenSet = true; m_colorMap.push_back(value); return *this; } /** *

The color map options for the visual palette.

*/ inline VisualPalette& AddColorMap(DataPathColor&& value) { m_colorMapHasBeenSet = true; m_colorMap.push_back(std::move(value)); return *this; } private: Aws::String m_chartColor; bool m_chartColorHasBeenSet = false; Aws::Vector m_colorMap; bool m_colorMapHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws