/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The options that determine the presentation of the data labels.See
* Also:
AWS
* API Reference
The visibility option that determines if data labels are displayed.
*/ inline const Visibility& GetVisibility() const{ return m_visibility; } /** *The visibility option that determines if data labels are displayed.
*/ inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; } /** *The visibility option that determines if data labels are displayed.
*/ inline void SetVisibility(const Visibility& value) { m_visibilityHasBeenSet = true; m_visibility = value; } /** *The visibility option that determines if data labels are displayed.
*/ inline void SetVisibility(Visibility&& value) { m_visibilityHasBeenSet = true; m_visibility = std::move(value); } /** *The visibility option that determines if data labels are displayed.
*/ inline FunnelChartDataLabelOptions& WithVisibility(const Visibility& value) { SetVisibility(value); return *this;} /** *The visibility option that determines if data labels are displayed.
*/ inline FunnelChartDataLabelOptions& WithVisibility(Visibility&& value) { SetVisibility(std::move(value)); return *this;} /** *The visibility of the category labels within the data labels.
*/ inline const Visibility& GetCategoryLabelVisibility() const{ return m_categoryLabelVisibility; } /** *The visibility of the category labels within the data labels.
*/ inline bool CategoryLabelVisibilityHasBeenSet() const { return m_categoryLabelVisibilityHasBeenSet; } /** *The visibility of the category labels within the data labels.
*/ inline void SetCategoryLabelVisibility(const Visibility& value) { m_categoryLabelVisibilityHasBeenSet = true; m_categoryLabelVisibility = value; } /** *The visibility of the category labels within the data labels.
*/ inline void SetCategoryLabelVisibility(Visibility&& value) { m_categoryLabelVisibilityHasBeenSet = true; m_categoryLabelVisibility = std::move(value); } /** *The visibility of the category labels within the data labels.
*/ inline FunnelChartDataLabelOptions& WithCategoryLabelVisibility(const Visibility& value) { SetCategoryLabelVisibility(value); return *this;} /** *The visibility of the category labels within the data labels.
*/ inline FunnelChartDataLabelOptions& WithCategoryLabelVisibility(Visibility&& value) { SetCategoryLabelVisibility(std::move(value)); return *this;} /** *The visibility of the measure labels within the data labels.
*/ inline const Visibility& GetMeasureLabelVisibility() const{ return m_measureLabelVisibility; } /** *The visibility of the measure labels within the data labels.
*/ inline bool MeasureLabelVisibilityHasBeenSet() const { return m_measureLabelVisibilityHasBeenSet; } /** *The visibility of the measure labels within the data labels.
*/ inline void SetMeasureLabelVisibility(const Visibility& value) { m_measureLabelVisibilityHasBeenSet = true; m_measureLabelVisibility = value; } /** *The visibility of the measure labels within the data labels.
*/ inline void SetMeasureLabelVisibility(Visibility&& value) { m_measureLabelVisibilityHasBeenSet = true; m_measureLabelVisibility = std::move(value); } /** *The visibility of the measure labels within the data labels.
*/ inline FunnelChartDataLabelOptions& WithMeasureLabelVisibility(const Visibility& value) { SetMeasureLabelVisibility(value); return *this;} /** *The visibility of the measure labels within the data labels.
*/ inline FunnelChartDataLabelOptions& WithMeasureLabelVisibility(Visibility&& value) { SetMeasureLabelVisibility(std::move(value)); return *this;} /** *Determines the positioning of the data label relative to a section of the * funnel.
*/ inline const DataLabelPosition& GetPosition() const{ return m_position; } /** *Determines the positioning of the data label relative to a section of the * funnel.
*/ inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; } /** *Determines the positioning of the data label relative to a section of the * funnel.
*/ inline void SetPosition(const DataLabelPosition& value) { m_positionHasBeenSet = true; m_position = value; } /** *Determines the positioning of the data label relative to a section of the * funnel.
*/ inline void SetPosition(DataLabelPosition&& value) { m_positionHasBeenSet = true; m_position = std::move(value); } /** *Determines the positioning of the data label relative to a section of the * funnel.
*/ inline FunnelChartDataLabelOptions& WithPosition(const DataLabelPosition& value) { SetPosition(value); return *this;} /** *Determines the positioning of the data label relative to a section of the * funnel.
*/ inline FunnelChartDataLabelOptions& WithPosition(DataLabelPosition&& value) { SetPosition(std::move(value)); return *this;} /** *The font configuration for the data labels.
Only the
* FontSize
attribute of the font configuration is used for data
* labels.
The font configuration for the data labels.
Only the
* FontSize
attribute of the font configuration is used for data
* labels.
The font configuration for the data labels.
Only the
* FontSize
attribute of the font configuration is used for data
* labels.
The font configuration for the data labels.
Only the
* FontSize
attribute of the font configuration is used for data
* labels.
The font configuration for the data labels.
Only the
* FontSize
attribute of the font configuration is used for data
* labels.
The font configuration for the data labels.
Only the
* FontSize
attribute of the font configuration is used for data
* labels.
The color of the data label text.
*/ inline const Aws::String& GetLabelColor() const{ return m_labelColor; } /** *The color of the data label text.
*/ inline bool LabelColorHasBeenSet() const { return m_labelColorHasBeenSet; } /** *The color of the data label text.
*/ inline void SetLabelColor(const Aws::String& value) { m_labelColorHasBeenSet = true; m_labelColor = value; } /** *The color of the data label text.
*/ inline void SetLabelColor(Aws::String&& value) { m_labelColorHasBeenSet = true; m_labelColor = std::move(value); } /** *The color of the data label text.
*/ inline void SetLabelColor(const char* value) { m_labelColorHasBeenSet = true; m_labelColor.assign(value); } /** *The color of the data label text.
*/ inline FunnelChartDataLabelOptions& WithLabelColor(const Aws::String& value) { SetLabelColor(value); return *this;} /** *The color of the data label text.
*/ inline FunnelChartDataLabelOptions& WithLabelColor(Aws::String&& value) { SetLabelColor(std::move(value)); return *this;} /** *The color of the data label text.
*/ inline FunnelChartDataLabelOptions& WithLabelColor(const char* value) { SetLabelColor(value); return *this;} /** *Determines the style of the metric labels.
*/ inline const FunnelChartMeasureDataLabelStyle& GetMeasureDataLabelStyle() const{ return m_measureDataLabelStyle; } /** *Determines the style of the metric labels.
*/ inline bool MeasureDataLabelStyleHasBeenSet() const { return m_measureDataLabelStyleHasBeenSet; } /** *Determines the style of the metric labels.
*/ inline void SetMeasureDataLabelStyle(const FunnelChartMeasureDataLabelStyle& value) { m_measureDataLabelStyleHasBeenSet = true; m_measureDataLabelStyle = value; } /** *Determines the style of the metric labels.
*/ inline void SetMeasureDataLabelStyle(FunnelChartMeasureDataLabelStyle&& value) { m_measureDataLabelStyleHasBeenSet = true; m_measureDataLabelStyle = std::move(value); } /** *Determines the style of the metric labels.
*/ inline FunnelChartDataLabelOptions& WithMeasureDataLabelStyle(const FunnelChartMeasureDataLabelStyle& value) { SetMeasureDataLabelStyle(value); return *this;} /** *Determines the style of the metric labels.
*/ inline FunnelChartDataLabelOptions& WithMeasureDataLabelStyle(FunnelChartMeasureDataLabelStyle&& value) { SetMeasureDataLabelStyle(std::move(value)); return *this;} private: Visibility m_visibility; bool m_visibilityHasBeenSet = false; Visibility m_categoryLabelVisibility; bool m_categoryLabelVisibilityHasBeenSet = false; Visibility m_measureLabelVisibility; bool m_measureLabelVisibilityHasBeenSet = false; DataLabelPosition m_position; bool m_positionHasBeenSet = false; FontConfiguration m_labelFontConfiguration; bool m_labelFontConfigurationHasBeenSet = false; Aws::String m_labelColor; bool m_labelColorHasBeenSet = false; FunnelChartMeasureDataLabelStyle m_measureDataLabelStyle; bool m_measureDataLabelStyleHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws