/** * 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 value label configuration of the label in a reference line.

See * Also:

AWS * API Reference

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

The relative position of the value label. Choose one of the following * options:

  • BEFORE_CUSTOM_LABEL

  • * AFTER_CUSTOM_LABEL

*/ inline const ReferenceLineValueLabelRelativePosition& GetRelativePosition() const{ return m_relativePosition; } /** *

The relative position of the value label. Choose one of the following * options:

  • BEFORE_CUSTOM_LABEL

  • * AFTER_CUSTOM_LABEL

*/ inline bool RelativePositionHasBeenSet() const { return m_relativePositionHasBeenSet; } /** *

The relative position of the value label. Choose one of the following * options:

  • BEFORE_CUSTOM_LABEL

  • * AFTER_CUSTOM_LABEL

*/ inline void SetRelativePosition(const ReferenceLineValueLabelRelativePosition& value) { m_relativePositionHasBeenSet = true; m_relativePosition = value; } /** *

The relative position of the value label. Choose one of the following * options:

  • BEFORE_CUSTOM_LABEL

  • * AFTER_CUSTOM_LABEL

*/ inline void SetRelativePosition(ReferenceLineValueLabelRelativePosition&& value) { m_relativePositionHasBeenSet = true; m_relativePosition = std::move(value); } /** *

The relative position of the value label. Choose one of the following * options:

  • BEFORE_CUSTOM_LABEL

  • * AFTER_CUSTOM_LABEL

*/ inline ReferenceLineValueLabelConfiguration& WithRelativePosition(const ReferenceLineValueLabelRelativePosition& value) { SetRelativePosition(value); return *this;} /** *

The relative position of the value label. Choose one of the following * options:

  • BEFORE_CUSTOM_LABEL

  • * AFTER_CUSTOM_LABEL

*/ inline ReferenceLineValueLabelConfiguration& WithRelativePosition(ReferenceLineValueLabelRelativePosition&& value) { SetRelativePosition(std::move(value)); return *this;} /** *

The format configuration of the value label.

*/ inline const NumericFormatConfiguration& GetFormatConfiguration() const{ return m_formatConfiguration; } /** *

The format configuration of the value label.

*/ inline bool FormatConfigurationHasBeenSet() const { return m_formatConfigurationHasBeenSet; } /** *

The format configuration of the value label.

*/ inline void SetFormatConfiguration(const NumericFormatConfiguration& value) { m_formatConfigurationHasBeenSet = true; m_formatConfiguration = value; } /** *

The format configuration of the value label.

*/ inline void SetFormatConfiguration(NumericFormatConfiguration&& value) { m_formatConfigurationHasBeenSet = true; m_formatConfiguration = std::move(value); } /** *

The format configuration of the value label.

*/ inline ReferenceLineValueLabelConfiguration& WithFormatConfiguration(const NumericFormatConfiguration& value) { SetFormatConfiguration(value); return *this;} /** *

The format configuration of the value label.

*/ inline ReferenceLineValueLabelConfiguration& WithFormatConfiguration(NumericFormatConfiguration&& value) { SetFormatConfiguration(std::move(value)); return *this;} private: ReferenceLineValueLabelRelativePosition m_relativePosition; bool m_relativePositionHasBeenSet = false; NumericFormatConfiguration m_formatConfiguration; bool m_formatConfigurationHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws