/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

Marker styles options for a line series in * LineChartVisual.

See Also:

AWS * API Reference

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

Configuration option that determines whether to show the markers in the * series.

*/ inline const Visibility& GetMarkerVisibility() const{ return m_markerVisibility; } /** *

Configuration option that determines whether to show the markers in the * series.

*/ inline bool MarkerVisibilityHasBeenSet() const { return m_markerVisibilityHasBeenSet; } /** *

Configuration option that determines whether to show the markers in the * series.

*/ inline void SetMarkerVisibility(const Visibility& value) { m_markerVisibilityHasBeenSet = true; m_markerVisibility = value; } /** *

Configuration option that determines whether to show the markers in the * series.

*/ inline void SetMarkerVisibility(Visibility&& value) { m_markerVisibilityHasBeenSet = true; m_markerVisibility = std::move(value); } /** *

Configuration option that determines whether to show the markers in the * series.

*/ inline LineChartMarkerStyleSettings& WithMarkerVisibility(const Visibility& value) { SetMarkerVisibility(value); return *this;} /** *

Configuration option that determines whether to show the markers in the * series.

*/ inline LineChartMarkerStyleSettings& WithMarkerVisibility(Visibility&& value) { SetMarkerVisibility(std::move(value)); return *this;} /** *

Shape option for markers in the series.

  • * CIRCLE: Show marker as a circle.

  • * TRIANGLE: Show marker as a triangle.

  • * SQUARE: Show marker as a square.

  • * DIAMOND: Show marker as a diamond.

  • * ROUNDED_SQUARE: Show marker as a rounded square.

*/ inline const LineChartMarkerShape& GetMarkerShape() const{ return m_markerShape; } /** *

Shape option for markers in the series.

  • * CIRCLE: Show marker as a circle.

  • * TRIANGLE: Show marker as a triangle.

  • * SQUARE: Show marker as a square.

  • * DIAMOND: Show marker as a diamond.

  • * ROUNDED_SQUARE: Show marker as a rounded square.

*/ inline bool MarkerShapeHasBeenSet() const { return m_markerShapeHasBeenSet; } /** *

Shape option for markers in the series.

  • * CIRCLE: Show marker as a circle.

  • * TRIANGLE: Show marker as a triangle.

  • * SQUARE: Show marker as a square.

  • * DIAMOND: Show marker as a diamond.

  • * ROUNDED_SQUARE: Show marker as a rounded square.

*/ inline void SetMarkerShape(const LineChartMarkerShape& value) { m_markerShapeHasBeenSet = true; m_markerShape = value; } /** *

Shape option for markers in the series.

  • * CIRCLE: Show marker as a circle.

  • * TRIANGLE: Show marker as a triangle.

  • * SQUARE: Show marker as a square.

  • * DIAMOND: Show marker as a diamond.

  • * ROUNDED_SQUARE: Show marker as a rounded square.

*/ inline void SetMarkerShape(LineChartMarkerShape&& value) { m_markerShapeHasBeenSet = true; m_markerShape = std::move(value); } /** *

Shape option for markers in the series.

  • * CIRCLE: Show marker as a circle.

  • * TRIANGLE: Show marker as a triangle.

  • * SQUARE: Show marker as a square.

  • * DIAMOND: Show marker as a diamond.

  • * ROUNDED_SQUARE: Show marker as a rounded square.

*/ inline LineChartMarkerStyleSettings& WithMarkerShape(const LineChartMarkerShape& value) { SetMarkerShape(value); return *this;} /** *

Shape option for markers in the series.

  • * CIRCLE: Show marker as a circle.

  • * TRIANGLE: Show marker as a triangle.

  • * SQUARE: Show marker as a square.

  • * DIAMOND: Show marker as a diamond.

  • * ROUNDED_SQUARE: Show marker as a rounded square.

*/ inline LineChartMarkerStyleSettings& WithMarkerShape(LineChartMarkerShape&& value) { SetMarkerShape(std::move(value)); return *this;} /** *

Size of marker in the series.

*/ inline const Aws::String& GetMarkerSize() const{ return m_markerSize; } /** *

Size of marker in the series.

*/ inline bool MarkerSizeHasBeenSet() const { return m_markerSizeHasBeenSet; } /** *

Size of marker in the series.

*/ inline void SetMarkerSize(const Aws::String& value) { m_markerSizeHasBeenSet = true; m_markerSize = value; } /** *

Size of marker in the series.

*/ inline void SetMarkerSize(Aws::String&& value) { m_markerSizeHasBeenSet = true; m_markerSize = std::move(value); } /** *

Size of marker in the series.

*/ inline void SetMarkerSize(const char* value) { m_markerSizeHasBeenSet = true; m_markerSize.assign(value); } /** *

Size of marker in the series.

*/ inline LineChartMarkerStyleSettings& WithMarkerSize(const Aws::String& value) { SetMarkerSize(value); return *this;} /** *

Size of marker in the series.

*/ inline LineChartMarkerStyleSettings& WithMarkerSize(Aws::String&& value) { SetMarkerSize(std::move(value)); return *this;} /** *

Size of marker in the series.

*/ inline LineChartMarkerStyleSettings& WithMarkerSize(const char* value) { SetMarkerSize(value); return *this;} /** *

Color of marker in the series.

*/ inline const Aws::String& GetMarkerColor() const{ return m_markerColor; } /** *

Color of marker in the series.

*/ inline bool MarkerColorHasBeenSet() const { return m_markerColorHasBeenSet; } /** *

Color of marker in the series.

*/ inline void SetMarkerColor(const Aws::String& value) { m_markerColorHasBeenSet = true; m_markerColor = value; } /** *

Color of marker in the series.

*/ inline void SetMarkerColor(Aws::String&& value) { m_markerColorHasBeenSet = true; m_markerColor = std::move(value); } /** *

Color of marker in the series.

*/ inline void SetMarkerColor(const char* value) { m_markerColorHasBeenSet = true; m_markerColor.assign(value); } /** *

Color of marker in the series.

*/ inline LineChartMarkerStyleSettings& WithMarkerColor(const Aws::String& value) { SetMarkerColor(value); return *this;} /** *

Color of marker in the series.

*/ inline LineChartMarkerStyleSettings& WithMarkerColor(Aws::String&& value) { SetMarkerColor(std::move(value)); return *this;} /** *

Color of marker in the series.

*/ inline LineChartMarkerStyleSettings& WithMarkerColor(const char* value) { SetMarkerColor(value); return *this;} private: Visibility m_markerVisibility; bool m_markerVisibilityHasBeenSet = false; LineChartMarkerShape m_markerShape; bool m_markerShapeHasBeenSet = false; Aws::String m_markerSize; bool m_markerSizeHasBeenSet = false; Aws::String m_markerColor; bool m_markerColorHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws