/** * 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 options that determine the presentation of a waterfall * visual.

See Also:

AWS * API Reference

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

This option determines the total bar label of a waterfall visual.

*/ inline const Aws::String& GetTotalBarLabel() const{ return m_totalBarLabel; } /** *

This option determines the total bar label of a waterfall visual.

*/ inline bool TotalBarLabelHasBeenSet() const { return m_totalBarLabelHasBeenSet; } /** *

This option determines the total bar label of a waterfall visual.

*/ inline void SetTotalBarLabel(const Aws::String& value) { m_totalBarLabelHasBeenSet = true; m_totalBarLabel = value; } /** *

This option determines the total bar label of a waterfall visual.

*/ inline void SetTotalBarLabel(Aws::String&& value) { m_totalBarLabelHasBeenSet = true; m_totalBarLabel = std::move(value); } /** *

This option determines the total bar label of a waterfall visual.

*/ inline void SetTotalBarLabel(const char* value) { m_totalBarLabelHasBeenSet = true; m_totalBarLabel.assign(value); } /** *

This option determines the total bar label of a waterfall visual.

*/ inline WaterfallChartOptions& WithTotalBarLabel(const Aws::String& value) { SetTotalBarLabel(value); return *this;} /** *

This option determines the total bar label of a waterfall visual.

*/ inline WaterfallChartOptions& WithTotalBarLabel(Aws::String&& value) { SetTotalBarLabel(std::move(value)); return *this;} /** *

This option determines the total bar label of a waterfall visual.

*/ inline WaterfallChartOptions& WithTotalBarLabel(const char* value) { SetTotalBarLabel(value); return *this;} private: Aws::String m_totalBarLabel; bool m_totalBarLabelHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws