/** * 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 theme configuration. This configuration contains all of the display * properties for a theme.

See Also:

AWS * API Reference

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

Color properties that apply to chart data colors.

*/ inline const DataColorPalette& GetDataColorPalette() const{ return m_dataColorPalette; } /** *

Color properties that apply to chart data colors.

*/ inline bool DataColorPaletteHasBeenSet() const { return m_dataColorPaletteHasBeenSet; } /** *

Color properties that apply to chart data colors.

*/ inline void SetDataColorPalette(const DataColorPalette& value) { m_dataColorPaletteHasBeenSet = true; m_dataColorPalette = value; } /** *

Color properties that apply to chart data colors.

*/ inline void SetDataColorPalette(DataColorPalette&& value) { m_dataColorPaletteHasBeenSet = true; m_dataColorPalette = std::move(value); } /** *

Color properties that apply to chart data colors.

*/ inline ThemeConfiguration& WithDataColorPalette(const DataColorPalette& value) { SetDataColorPalette(value); return *this;} /** *

Color properties that apply to chart data colors.

*/ inline ThemeConfiguration& WithDataColorPalette(DataColorPalette&& value) { SetDataColorPalette(std::move(value)); return *this;} /** *

Color properties that apply to the UI and to charts, excluding the colors * that apply to data.

*/ inline const UIColorPalette& GetUIColorPalette() const{ return m_uIColorPalette; } /** *

Color properties that apply to the UI and to charts, excluding the colors * that apply to data.

*/ inline bool UIColorPaletteHasBeenSet() const { return m_uIColorPaletteHasBeenSet; } /** *

Color properties that apply to the UI and to charts, excluding the colors * that apply to data.

*/ inline void SetUIColorPalette(const UIColorPalette& value) { m_uIColorPaletteHasBeenSet = true; m_uIColorPalette = value; } /** *

Color properties that apply to the UI and to charts, excluding the colors * that apply to data.

*/ inline void SetUIColorPalette(UIColorPalette&& value) { m_uIColorPaletteHasBeenSet = true; m_uIColorPalette = std::move(value); } /** *

Color properties that apply to the UI and to charts, excluding the colors * that apply to data.

*/ inline ThemeConfiguration& WithUIColorPalette(const UIColorPalette& value) { SetUIColorPalette(value); return *this;} /** *

Color properties that apply to the UI and to charts, excluding the colors * that apply to data.

*/ inline ThemeConfiguration& WithUIColorPalette(UIColorPalette&& value) { SetUIColorPalette(std::move(value)); return *this;} /** *

Display options related to sheets.

*/ inline const SheetStyle& GetSheet() const{ return m_sheet; } /** *

Display options related to sheets.

*/ inline bool SheetHasBeenSet() const { return m_sheetHasBeenSet; } /** *

Display options related to sheets.

*/ inline void SetSheet(const SheetStyle& value) { m_sheetHasBeenSet = true; m_sheet = value; } /** *

Display options related to sheets.

*/ inline void SetSheet(SheetStyle&& value) { m_sheetHasBeenSet = true; m_sheet = std::move(value); } /** *

Display options related to sheets.

*/ inline ThemeConfiguration& WithSheet(const SheetStyle& value) { SetSheet(value); return *this;} /** *

Display options related to sheets.

*/ inline ThemeConfiguration& WithSheet(SheetStyle&& value) { SetSheet(std::move(value)); return *this;} private: DataColorPalette m_dataColorPalette; bool m_dataColorPaletteHasBeenSet; UIColorPalette m_uIColorPalette; bool m_uIColorPaletteHasBeenSet; SheetStyle m_sheet; bool m_sheetHasBeenSet; }; } // namespace Model } // namespace QuickSight } // namespace Aws