/** * 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 label options of the label that is displayed in the center of a donut * chart. This option isn't available for pie charts.

See Also:

AWS * API Reference

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

Determines the visibility of the label in a donut chart. In the Amazon * QuickSight console, this option is called 'Show total'.

*/ inline const Visibility& GetLabelVisibility() const{ return m_labelVisibility; } /** *

Determines the visibility of the label in a donut chart. In the Amazon * QuickSight console, this option is called 'Show total'.

*/ inline bool LabelVisibilityHasBeenSet() const { return m_labelVisibilityHasBeenSet; } /** *

Determines the visibility of the label in a donut chart. In the Amazon * QuickSight console, this option is called 'Show total'.

*/ inline void SetLabelVisibility(const Visibility& value) { m_labelVisibilityHasBeenSet = true; m_labelVisibility = value; } /** *

Determines the visibility of the label in a donut chart. In the Amazon * QuickSight console, this option is called 'Show total'.

*/ inline void SetLabelVisibility(Visibility&& value) { m_labelVisibilityHasBeenSet = true; m_labelVisibility = std::move(value); } /** *

Determines the visibility of the label in a donut chart. In the Amazon * QuickSight console, this option is called 'Show total'.

*/ inline DonutCenterOptions& WithLabelVisibility(const Visibility& value) { SetLabelVisibility(value); return *this;} /** *

Determines the visibility of the label in a donut chart. In the Amazon * QuickSight console, this option is called 'Show total'.

*/ inline DonutCenterOptions& WithLabelVisibility(Visibility&& value) { SetLabelVisibility(std::move(value)); return *this;} private: Visibility m_labelVisibility; bool m_labelVisibilityHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws