/** * 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 style configuration of the reference line.

See Also:

AWS * API Reference

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

The pattern type of the line style. Choose one of the following options:

*
  • SOLID

  • DASHED

    *
  • DOTTED

*/ inline const ReferenceLinePatternType& GetPattern() const{ return m_pattern; } /** *

The pattern type of the line style. Choose one of the following options:

*
  • SOLID

  • DASHED

    *
  • DOTTED

*/ inline bool PatternHasBeenSet() const { return m_patternHasBeenSet; } /** *

The pattern type of the line style. Choose one of the following options:

*
  • SOLID

  • DASHED

    *
  • DOTTED

*/ inline void SetPattern(const ReferenceLinePatternType& value) { m_patternHasBeenSet = true; m_pattern = value; } /** *

The pattern type of the line style. Choose one of the following options:

*
  • SOLID

  • DASHED

    *
  • DOTTED

*/ inline void SetPattern(ReferenceLinePatternType&& value) { m_patternHasBeenSet = true; m_pattern = std::move(value); } /** *

The pattern type of the line style. Choose one of the following options:

*
  • SOLID

  • DASHED

    *
  • DOTTED

*/ inline ReferenceLineStyleConfiguration& WithPattern(const ReferenceLinePatternType& value) { SetPattern(value); return *this;} /** *

The pattern type of the line style. Choose one of the following options:

*
  • SOLID

  • DASHED

    *
  • DOTTED

*/ inline ReferenceLineStyleConfiguration& WithPattern(ReferenceLinePatternType&& value) { SetPattern(std::move(value)); return *this;} /** *

The hex color of the reference line.

*/ inline const Aws::String& GetColor() const{ return m_color; } /** *

The hex color of the reference line.

*/ inline bool ColorHasBeenSet() const { return m_colorHasBeenSet; } /** *

The hex color of the reference line.

*/ inline void SetColor(const Aws::String& value) { m_colorHasBeenSet = true; m_color = value; } /** *

The hex color of the reference line.

*/ inline void SetColor(Aws::String&& value) { m_colorHasBeenSet = true; m_color = std::move(value); } /** *

The hex color of the reference line.

*/ inline void SetColor(const char* value) { m_colorHasBeenSet = true; m_color.assign(value); } /** *

The hex color of the reference line.

*/ inline ReferenceLineStyleConfiguration& WithColor(const Aws::String& value) { SetColor(value); return *this;} /** *

The hex color of the reference line.

*/ inline ReferenceLineStyleConfiguration& WithColor(Aws::String&& value) { SetColor(std::move(value)); return *this;} /** *

The hex color of the reference line.

*/ inline ReferenceLineStyleConfiguration& WithColor(const char* value) { SetColor(value); return *this;} private: ReferenceLinePatternType m_pattern; bool m_patternHasBeenSet = false; Aws::String m_color; bool m_colorHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws