/** * 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 reference line visual display options.

See Also:

AWS * API Reference

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

The status of the reference line. Choose one of the following options:

*
  • ENABLE

  • DISABLE

    *
*/ inline const WidgetStatus& GetStatus() const{ return m_status; } /** *

The status of the reference line. Choose one of the following options:

*
  • ENABLE

  • DISABLE

    *
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the reference line. Choose one of the following options:

*
  • ENABLE

  • DISABLE

    *
*/ inline void SetStatus(const WidgetStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the reference line. Choose one of the following options:

*
  • ENABLE

  • DISABLE

    *
*/ inline void SetStatus(WidgetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the reference line. Choose one of the following options:

*
  • ENABLE

  • DISABLE

    *
*/ inline ReferenceLine& WithStatus(const WidgetStatus& value) { SetStatus(value); return *this;} /** *

The status of the reference line. Choose one of the following options:

*
  • ENABLE

  • DISABLE

    *
*/ inline ReferenceLine& WithStatus(WidgetStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The data configuration of the reference line.

*/ inline const ReferenceLineDataConfiguration& GetDataConfiguration() const{ return m_dataConfiguration; } /** *

The data configuration of the reference line.

*/ inline bool DataConfigurationHasBeenSet() const { return m_dataConfigurationHasBeenSet; } /** *

The data configuration of the reference line.

*/ inline void SetDataConfiguration(const ReferenceLineDataConfiguration& value) { m_dataConfigurationHasBeenSet = true; m_dataConfiguration = value; } /** *

The data configuration of the reference line.

*/ inline void SetDataConfiguration(ReferenceLineDataConfiguration&& value) { m_dataConfigurationHasBeenSet = true; m_dataConfiguration = std::move(value); } /** *

The data configuration of the reference line.

*/ inline ReferenceLine& WithDataConfiguration(const ReferenceLineDataConfiguration& value) { SetDataConfiguration(value); return *this;} /** *

The data configuration of the reference line.

*/ inline ReferenceLine& WithDataConfiguration(ReferenceLineDataConfiguration&& value) { SetDataConfiguration(std::move(value)); return *this;} /** *

The style configuration of the reference line.

*/ inline const ReferenceLineStyleConfiguration& GetStyleConfiguration() const{ return m_styleConfiguration; } /** *

The style configuration of the reference line.

*/ inline bool StyleConfigurationHasBeenSet() const { return m_styleConfigurationHasBeenSet; } /** *

The style configuration of the reference line.

*/ inline void SetStyleConfiguration(const ReferenceLineStyleConfiguration& value) { m_styleConfigurationHasBeenSet = true; m_styleConfiguration = value; } /** *

The style configuration of the reference line.

*/ inline void SetStyleConfiguration(ReferenceLineStyleConfiguration&& value) { m_styleConfigurationHasBeenSet = true; m_styleConfiguration = std::move(value); } /** *

The style configuration of the reference line.

*/ inline ReferenceLine& WithStyleConfiguration(const ReferenceLineStyleConfiguration& value) { SetStyleConfiguration(value); return *this;} /** *

The style configuration of the reference line.

*/ inline ReferenceLine& WithStyleConfiguration(ReferenceLineStyleConfiguration&& value) { SetStyleConfiguration(std::move(value)); return *this;} /** *

The label configuration of the reference line.

*/ inline const ReferenceLineLabelConfiguration& GetLabelConfiguration() const{ return m_labelConfiguration; } /** *

The label configuration of the reference line.

*/ inline bool LabelConfigurationHasBeenSet() const { return m_labelConfigurationHasBeenSet; } /** *

The label configuration of the reference line.

*/ inline void SetLabelConfiguration(const ReferenceLineLabelConfiguration& value) { m_labelConfigurationHasBeenSet = true; m_labelConfiguration = value; } /** *

The label configuration of the reference line.

*/ inline void SetLabelConfiguration(ReferenceLineLabelConfiguration&& value) { m_labelConfigurationHasBeenSet = true; m_labelConfiguration = std::move(value); } /** *

The label configuration of the reference line.

*/ inline ReferenceLine& WithLabelConfiguration(const ReferenceLineLabelConfiguration& value) { SetLabelConfiguration(value); return *this;} /** *

The label configuration of the reference line.

*/ inline ReferenceLine& WithLabelConfiguration(ReferenceLineLabelConfiguration&& value) { SetLabelConfiguration(std::move(value)); return *this;} private: WidgetStatus m_status; bool m_statusHasBeenSet = false; ReferenceLineDataConfiguration m_dataConfiguration; bool m_dataConfigurationHasBeenSet = false; ReferenceLineStyleConfiguration m_styleConfiguration; bool m_styleConfigurationHasBeenSet = false; ReferenceLineLabelConfiguration m_labelConfiguration; bool m_labelConfigurationHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws