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

The options for configuring a donut chart or pie chart.

See * Also:

AWS * API Reference

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

The option for define the arc of the chart shape. Valid values are as * follows:

  • WHOLE - A pie chart

  • * SMALL- A small-sized donut chart

  • * MEDIUM- A medium-sized donut chart

  • * LARGE- A large-sized donut chart

*/ inline const ArcOptions& GetArcOptions() const{ return m_arcOptions; } /** *

The option for define the arc of the chart shape. Valid values are as * follows:

  • WHOLE - A pie chart

  • * SMALL- A small-sized donut chart

  • * MEDIUM- A medium-sized donut chart

  • * LARGE- A large-sized donut chart

*/ inline bool ArcOptionsHasBeenSet() const { return m_arcOptionsHasBeenSet; } /** *

The option for define the arc of the chart shape. Valid values are as * follows:

  • WHOLE - A pie chart

  • * SMALL- A small-sized donut chart

  • * MEDIUM- A medium-sized donut chart

  • * LARGE- A large-sized donut chart

*/ inline void SetArcOptions(const ArcOptions& value) { m_arcOptionsHasBeenSet = true; m_arcOptions = value; } /** *

The option for define the arc of the chart shape. Valid values are as * follows:

  • WHOLE - A pie chart

  • * SMALL- A small-sized donut chart

  • * MEDIUM- A medium-sized donut chart

  • * LARGE- A large-sized donut chart

*/ inline void SetArcOptions(ArcOptions&& value) { m_arcOptionsHasBeenSet = true; m_arcOptions = std::move(value); } /** *

The option for define the arc of the chart shape. Valid values are as * follows:

  • WHOLE - A pie chart

  • * SMALL- A small-sized donut chart

  • * MEDIUM- A medium-sized donut chart

  • * LARGE- A large-sized donut chart

*/ inline DonutOptions& WithArcOptions(const ArcOptions& value) { SetArcOptions(value); return *this;} /** *

The option for define the arc of the chart shape. Valid values are as * follows:

  • WHOLE - A pie chart

  • * SMALL- A small-sized donut chart

  • * MEDIUM- A medium-sized donut chart

  • * LARGE- A large-sized donut chart

*/ inline DonutOptions& WithArcOptions(ArcOptions&& value) { SetArcOptions(std::move(value)); return *this;} /** *

The label options of the label that is displayed in the center of a donut * chart. This option isn't available for pie charts.

*/ inline const DonutCenterOptions& GetDonutCenterOptions() const{ return m_donutCenterOptions; } /** *

The label options of the label that is displayed in the center of a donut * chart. This option isn't available for pie charts.

*/ inline bool DonutCenterOptionsHasBeenSet() const { return m_donutCenterOptionsHasBeenSet; } /** *

The label options of the label that is displayed in the center of a donut * chart. This option isn't available for pie charts.

*/ inline void SetDonutCenterOptions(const DonutCenterOptions& value) { m_donutCenterOptionsHasBeenSet = true; m_donutCenterOptions = value; } /** *

The label options of the label that is displayed in the center of a donut * chart. This option isn't available for pie charts.

*/ inline void SetDonutCenterOptions(DonutCenterOptions&& value) { m_donutCenterOptionsHasBeenSet = true; m_donutCenterOptions = std::move(value); } /** *

The label options of the label that is displayed in the center of a donut * chart. This option isn't available for pie charts.

*/ inline DonutOptions& WithDonutCenterOptions(const DonutCenterOptions& value) { SetDonutCenterOptions(value); return *this;} /** *

The label options of the label that is displayed in the center of a donut * chart. This option isn't available for pie charts.

*/ inline DonutOptions& WithDonutCenterOptions(DonutCenterOptions&& value) { SetDonutCenterOptions(std::move(value)); return *this;} private: ArcOptions m_arcOptions; bool m_arcOptionsHasBeenSet = false; DonutCenterOptions m_donutCenterOptions; bool m_donutCenterOptionsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws