/** * 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 { /** *

The default values of the * StringParameterDeclaration.

See Also:

AWS * API Reference

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

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

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

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

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

The dynamic value of the StringDefaultValues. Different defaults * 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 StringDefaultValues. Different defaults * 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 StringDefaultValues. Different defaults * displayed according to users, groups, and values mapping.

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

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

*/ inline StringDefaultValues& 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 StringDefaultValues& WithStaticValues(const Aws::Vector& value) { SetStaticValues(value); return *this;} /** *

The static values of the DecimalDefaultValues.

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

The static values of the DecimalDefaultValues.

*/ inline StringDefaultValues& AddStaticValues(const Aws::String& value) { m_staticValuesHasBeenSet = true; m_staticValues.push_back(value); return *this; } /** *

The static values of the DecimalDefaultValues.

*/ inline StringDefaultValues& AddStaticValues(Aws::String&& value) { m_staticValuesHasBeenSet = true; m_staticValues.push_back(std::move(value)); return *this; } /** *

The static values of the DecimalDefaultValues.

*/ inline StringDefaultValues& AddStaticValues(const char* 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