/** * 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 negative value configuration.

See * Also:

AWS * API Reference

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

Determines the display mode of the negative value configuration.

*/ inline const NegativeValueDisplayMode& GetDisplayMode() const{ return m_displayMode; } /** *

Determines the display mode of the negative value configuration.

*/ inline bool DisplayModeHasBeenSet() const { return m_displayModeHasBeenSet; } /** *

Determines the display mode of the negative value configuration.

*/ inline void SetDisplayMode(const NegativeValueDisplayMode& value) { m_displayModeHasBeenSet = true; m_displayMode = value; } /** *

Determines the display mode of the negative value configuration.

*/ inline void SetDisplayMode(NegativeValueDisplayMode&& value) { m_displayModeHasBeenSet = true; m_displayMode = std::move(value); } /** *

Determines the display mode of the negative value configuration.

*/ inline NegativeValueConfiguration& WithDisplayMode(const NegativeValueDisplayMode& value) { SetDisplayMode(value); return *this;} /** *

Determines the display mode of the negative value configuration.

*/ inline NegativeValueConfiguration& WithDisplayMode(NegativeValueDisplayMode&& value) { SetDisplayMode(std::move(value)); return *this;} private: NegativeValueDisplayMode m_displayMode; bool m_displayModeHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws