/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 ThemeConfiguration { public: AWS_QUICKSIGHT_API ThemeConfiguration(); AWS_QUICKSIGHT_API ThemeConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API ThemeConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API 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;} inline const Typography& GetTypography() const{ return m_typography; } inline bool TypographyHasBeenSet() const { return m_typographyHasBeenSet; } inline void SetTypography(const Typography& value) { m_typographyHasBeenSet = true; m_typography = value; } inline void SetTypography(Typography&& value) { m_typographyHasBeenSet = true; m_typography = std::move(value); } inline ThemeConfiguration& WithTypography(const Typography& value) { SetTypography(value); return *this;} inline ThemeConfiguration& WithTypography(Typography&& value) { SetTypography(std::move(value)); return *this;} private: DataColorPalette m_dataColorPalette; bool m_dataColorPaletteHasBeenSet = false; UIColorPalette m_uIColorPalette; bool m_uIColorPaletteHasBeenSet = false; SheetStyle m_sheet; bool m_sheetHasBeenSet = false; Typography m_typography; bool m_typographyHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws