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

The options that determine the presentation of trend arrows in a KPI * visual.

See Also:

AWS * API Reference

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

The visibility of the trend arrows.

*/ inline const Visibility& GetVisibility() const{ return m_visibility; } /** *

The visibility of the trend arrows.

*/ inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; } /** *

The visibility of the trend arrows.

*/ inline void SetVisibility(const Visibility& value) { m_visibilityHasBeenSet = true; m_visibility = value; } /** *

The visibility of the trend arrows.

*/ inline void SetVisibility(Visibility&& value) { m_visibilityHasBeenSet = true; m_visibility = std::move(value); } /** *

The visibility of the trend arrows.

*/ inline TrendArrowOptions& WithVisibility(const Visibility& value) { SetVisibility(value); return *this;} /** *

The visibility of the trend arrows.

*/ inline TrendArrowOptions& WithVisibility(Visibility&& value) { SetVisibility(std::move(value)); return *this;} private: Visibility m_visibility; bool m_visibilityHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws