/** * 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 { /** *

Line styles options for a line series in * LineChartVisual.

See Also:

AWS * API Reference

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

Configuration option that determines whether to show the line for the * series.

*/ inline const Visibility& GetLineVisibility() const{ return m_lineVisibility; } /** *

Configuration option that determines whether to show the line for the * series.

*/ inline bool LineVisibilityHasBeenSet() const { return m_lineVisibilityHasBeenSet; } /** *

Configuration option that determines whether to show the line for the * series.

*/ inline void SetLineVisibility(const Visibility& value) { m_lineVisibilityHasBeenSet = true; m_lineVisibility = value; } /** *

Configuration option that determines whether to show the line for the * series.

*/ inline void SetLineVisibility(Visibility&& value) { m_lineVisibilityHasBeenSet = true; m_lineVisibility = std::move(value); } /** *

Configuration option that determines whether to show the line for the * series.

*/ inline LineChartLineStyleSettings& WithLineVisibility(const Visibility& value) { SetLineVisibility(value); return *this;} /** *

Configuration option that determines whether to show the line for the * series.

*/ inline LineChartLineStyleSettings& WithLineVisibility(Visibility&& value) { SetLineVisibility(std::move(value)); return *this;} /** *

Interpolation style for line series.

  • LINEAR: * Show as default, linear style.

  • SMOOTH: Show as a * smooth curve.

  • STEPPED: Show steps in line.

    *
*/ inline const LineInterpolation& GetLineInterpolation() const{ return m_lineInterpolation; } /** *

Interpolation style for line series.

  • LINEAR: * Show as default, linear style.

  • SMOOTH: Show as a * smooth curve.

  • STEPPED: Show steps in line.

    *
*/ inline bool LineInterpolationHasBeenSet() const { return m_lineInterpolationHasBeenSet; } /** *

Interpolation style for line series.

  • LINEAR: * Show as default, linear style.

  • SMOOTH: Show as a * smooth curve.

  • STEPPED: Show steps in line.

    *
*/ inline void SetLineInterpolation(const LineInterpolation& value) { m_lineInterpolationHasBeenSet = true; m_lineInterpolation = value; } /** *

Interpolation style for line series.

  • LINEAR: * Show as default, linear style.

  • SMOOTH: Show as a * smooth curve.

  • STEPPED: Show steps in line.

    *
*/ inline void SetLineInterpolation(LineInterpolation&& value) { m_lineInterpolationHasBeenSet = true; m_lineInterpolation = std::move(value); } /** *

Interpolation style for line series.

  • LINEAR: * Show as default, linear style.

  • SMOOTH: Show as a * smooth curve.

  • STEPPED: Show steps in line.

    *
*/ inline LineChartLineStyleSettings& WithLineInterpolation(const LineInterpolation& value) { SetLineInterpolation(value); return *this;} /** *

Interpolation style for line series.

  • LINEAR: * Show as default, linear style.

  • SMOOTH: Show as a * smooth curve.

  • STEPPED: Show steps in line.

    *
*/ inline LineChartLineStyleSettings& WithLineInterpolation(LineInterpolation&& value) { SetLineInterpolation(std::move(value)); return *this;} /** *

Line style for line series.

  • SOLID: Show as a * solid line.

  • DOTTED: Show as a dotted line.

    *
  • DASHED: Show as a dashed line.

*/ inline const LineChartLineStyle& GetLineStyle() const{ return m_lineStyle; } /** *

Line style for line series.

  • SOLID: Show as a * solid line.

  • DOTTED: Show as a dotted line.

    *
  • DASHED: Show as a dashed line.

*/ inline bool LineStyleHasBeenSet() const { return m_lineStyleHasBeenSet; } /** *

Line style for line series.

  • SOLID: Show as a * solid line.

  • DOTTED: Show as a dotted line.

    *
  • DASHED: Show as a dashed line.

*/ inline void SetLineStyle(const LineChartLineStyle& value) { m_lineStyleHasBeenSet = true; m_lineStyle = value; } /** *

Line style for line series.

  • SOLID: Show as a * solid line.

  • DOTTED: Show as a dotted line.

    *
  • DASHED: Show as a dashed line.

*/ inline void SetLineStyle(LineChartLineStyle&& value) { m_lineStyleHasBeenSet = true; m_lineStyle = std::move(value); } /** *

Line style for line series.

  • SOLID: Show as a * solid line.

  • DOTTED: Show as a dotted line.

    *
  • DASHED: Show as a dashed line.

*/ inline LineChartLineStyleSettings& WithLineStyle(const LineChartLineStyle& value) { SetLineStyle(value); return *this;} /** *

Line style for line series.

  • SOLID: Show as a * solid line.

  • DOTTED: Show as a dotted line.

    *
  • DASHED: Show as a dashed line.

*/ inline LineChartLineStyleSettings& WithLineStyle(LineChartLineStyle&& value) { SetLineStyle(std::move(value)); return *this;} /** *

Width that determines the line thickness.

*/ inline const Aws::String& GetLineWidth() const{ return m_lineWidth; } /** *

Width that determines the line thickness.

*/ inline bool LineWidthHasBeenSet() const { return m_lineWidthHasBeenSet; } /** *

Width that determines the line thickness.

*/ inline void SetLineWidth(const Aws::String& value) { m_lineWidthHasBeenSet = true; m_lineWidth = value; } /** *

Width that determines the line thickness.

*/ inline void SetLineWidth(Aws::String&& value) { m_lineWidthHasBeenSet = true; m_lineWidth = std::move(value); } /** *

Width that determines the line thickness.

*/ inline void SetLineWidth(const char* value) { m_lineWidthHasBeenSet = true; m_lineWidth.assign(value); } /** *

Width that determines the line thickness.

*/ inline LineChartLineStyleSettings& WithLineWidth(const Aws::String& value) { SetLineWidth(value); return *this;} /** *

Width that determines the line thickness.

*/ inline LineChartLineStyleSettings& WithLineWidth(Aws::String&& value) { SetLineWidth(std::move(value)); return *this;} /** *

Width that determines the line thickness.

*/ inline LineChartLineStyleSettings& WithLineWidth(const char* value) { SetLineWidth(value); return *this;} private: Visibility m_lineVisibility; bool m_lineVisibilityHasBeenSet = false; LineInterpolation m_lineInterpolation; bool m_lineInterpolationHasBeenSet = false; LineChartLineStyle m_lineStyle; bool m_lineStyleHasBeenSet = false; Aws::String m_lineWidth; bool m_lineWidthHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws