/** * 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 default values of the * DecimalParameterDeclaration.

See Also:

AWS * API Reference

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

The dynamic value of the DecimalDefaultValues. Different * defaults are displayed according to users, groups, and values mapping.

*/ inline const DynamicDefaultValue& GetDynamicValue() const{ return m_dynamicValue; } /** *

The dynamic value of the DecimalDefaultValues. Different * defaults are displayed according to users, groups, and values mapping.

*/ inline bool DynamicValueHasBeenSet() const { return m_dynamicValueHasBeenSet; } /** *

The dynamic value of the DecimalDefaultValues. Different * defaults are displayed according to users, groups, and values mapping.

*/ inline void SetDynamicValue(const DynamicDefaultValue& value) { m_dynamicValueHasBeenSet = true; m_dynamicValue = value; } /** *

The dynamic value of the DecimalDefaultValues. Different * defaults are displayed according to users, groups, and values mapping.

*/ inline void SetDynamicValue(DynamicDefaultValue&& value) { m_dynamicValueHasBeenSet = true; m_dynamicValue = std::move(value); } /** *

The dynamic value of the DecimalDefaultValues. Different * defaults are displayed according to users, groups, and values mapping.

*/ inline DecimalDefaultValues& WithDynamicValue(const DynamicDefaultValue& value) { SetDynamicValue(value); return *this;} /** *

The dynamic value of the DecimalDefaultValues. Different * defaults are displayed according to users, groups, and values mapping.

*/ inline DecimalDefaultValues& WithDynamicValue(DynamicDefaultValue&& value) { SetDynamicValue(std::move(value)); return *this;} /** *

The static values of the DecimalDefaultValues.

*/ inline const Aws::Vector& GetStaticValues() const{ return m_staticValues; } /** *

The static values of the DecimalDefaultValues.

*/ inline bool StaticValuesHasBeenSet() const { return m_staticValuesHasBeenSet; } /** *

The static values of the DecimalDefaultValues.

*/ inline void SetStaticValues(const Aws::Vector& value) { m_staticValuesHasBeenSet = true; m_staticValues = value; } /** *

The static values of the DecimalDefaultValues.

*/ inline void SetStaticValues(Aws::Vector&& value) { m_staticValuesHasBeenSet = true; m_staticValues = std::move(value); } /** *

The static values of the DecimalDefaultValues.

*/ inline DecimalDefaultValues& WithStaticValues(const Aws::Vector& value) { SetStaticValues(value); return *this;} /** *

The static values of the DecimalDefaultValues.

*/ inline DecimalDefaultValues& WithStaticValues(Aws::Vector&& value) { SetStaticValues(std::move(value)); return *this;} /** *

The static values of the DecimalDefaultValues.

*/ inline DecimalDefaultValues& AddStaticValues(double value) { m_staticValuesHasBeenSet = true; m_staticValues.push_back(value); return *this; } private: DynamicDefaultValue m_dynamicValue; bool m_dynamicValueHasBeenSet = false; Aws::Vector m_staticValues; bool m_staticValuesHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws