/** * 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 configuration that overrides the existing default values for a dataset * parameter that is inherited from another dataset.

See Also:

AWS * API Reference

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

A list of static default values for a given string parameter.

*/ inline const Aws::Vector& GetStringStaticValues() const{ return m_stringStaticValues; } /** *

A list of static default values for a given string parameter.

*/ inline bool StringStaticValuesHasBeenSet() const { return m_stringStaticValuesHasBeenSet; } /** *

A list of static default values for a given string parameter.

*/ inline void SetStringStaticValues(const Aws::Vector& value) { m_stringStaticValuesHasBeenSet = true; m_stringStaticValues = value; } /** *

A list of static default values for a given string parameter.

*/ inline void SetStringStaticValues(Aws::Vector&& value) { m_stringStaticValuesHasBeenSet = true; m_stringStaticValues = std::move(value); } /** *

A list of static default values for a given string parameter.

*/ inline NewDefaultValues& WithStringStaticValues(const Aws::Vector& value) { SetStringStaticValues(value); return *this;} /** *

A list of static default values for a given string parameter.

*/ inline NewDefaultValues& WithStringStaticValues(Aws::Vector&& value) { SetStringStaticValues(std::move(value)); return *this;} /** *

A list of static default values for a given string parameter.

*/ inline NewDefaultValues& AddStringStaticValues(const Aws::String& value) { m_stringStaticValuesHasBeenSet = true; m_stringStaticValues.push_back(value); return *this; } /** *

A list of static default values for a given string parameter.

*/ inline NewDefaultValues& AddStringStaticValues(Aws::String&& value) { m_stringStaticValuesHasBeenSet = true; m_stringStaticValues.push_back(std::move(value)); return *this; } /** *

A list of static default values for a given string parameter.

*/ inline NewDefaultValues& AddStringStaticValues(const char* value) { m_stringStaticValuesHasBeenSet = true; m_stringStaticValues.push_back(value); return *this; } /** *

A list of static default values for a given decimal parameter.

*/ inline const Aws::Vector& GetDecimalStaticValues() const{ return m_decimalStaticValues; } /** *

A list of static default values for a given decimal parameter.

*/ inline bool DecimalStaticValuesHasBeenSet() const { return m_decimalStaticValuesHasBeenSet; } /** *

A list of static default values for a given decimal parameter.

*/ inline void SetDecimalStaticValues(const Aws::Vector& value) { m_decimalStaticValuesHasBeenSet = true; m_decimalStaticValues = value; } /** *

A list of static default values for a given decimal parameter.

*/ inline void SetDecimalStaticValues(Aws::Vector&& value) { m_decimalStaticValuesHasBeenSet = true; m_decimalStaticValues = std::move(value); } /** *

A list of static default values for a given decimal parameter.

*/ inline NewDefaultValues& WithDecimalStaticValues(const Aws::Vector& value) { SetDecimalStaticValues(value); return *this;} /** *

A list of static default values for a given decimal parameter.

*/ inline NewDefaultValues& WithDecimalStaticValues(Aws::Vector&& value) { SetDecimalStaticValues(std::move(value)); return *this;} /** *

A list of static default values for a given decimal parameter.

*/ inline NewDefaultValues& AddDecimalStaticValues(double value) { m_decimalStaticValuesHasBeenSet = true; m_decimalStaticValues.push_back(value); return *this; } /** *

A list of static default values for a given date time parameter.

*/ inline const Aws::Vector& GetDateTimeStaticValues() const{ return m_dateTimeStaticValues; } /** *

A list of static default values for a given date time parameter.

*/ inline bool DateTimeStaticValuesHasBeenSet() const { return m_dateTimeStaticValuesHasBeenSet; } /** *

A list of static default values for a given date time parameter.

*/ inline void SetDateTimeStaticValues(const Aws::Vector& value) { m_dateTimeStaticValuesHasBeenSet = true; m_dateTimeStaticValues = value; } /** *

A list of static default values for a given date time parameter.

*/ inline void SetDateTimeStaticValues(Aws::Vector&& value) { m_dateTimeStaticValuesHasBeenSet = true; m_dateTimeStaticValues = std::move(value); } /** *

A list of static default values for a given date time parameter.

*/ inline NewDefaultValues& WithDateTimeStaticValues(const Aws::Vector& value) { SetDateTimeStaticValues(value); return *this;} /** *

A list of static default values for a given date time parameter.

*/ inline NewDefaultValues& WithDateTimeStaticValues(Aws::Vector&& value) { SetDateTimeStaticValues(std::move(value)); return *this;} /** *

A list of static default values for a given date time parameter.

*/ inline NewDefaultValues& AddDateTimeStaticValues(const Aws::Utils::DateTime& value) { m_dateTimeStaticValuesHasBeenSet = true; m_dateTimeStaticValues.push_back(value); return *this; } /** *

A list of static default values for a given date time parameter.

*/ inline NewDefaultValues& AddDateTimeStaticValues(Aws::Utils::DateTime&& value) { m_dateTimeStaticValuesHasBeenSet = true; m_dateTimeStaticValues.push_back(std::move(value)); return *this; } /** *

A list of static default values for a given integer parameter.

*/ inline const Aws::Vector& GetIntegerStaticValues() const{ return m_integerStaticValues; } /** *

A list of static default values for a given integer parameter.

*/ inline bool IntegerStaticValuesHasBeenSet() const { return m_integerStaticValuesHasBeenSet; } /** *

A list of static default values for a given integer parameter.

*/ inline void SetIntegerStaticValues(const Aws::Vector& value) { m_integerStaticValuesHasBeenSet = true; m_integerStaticValues = value; } /** *

A list of static default values for a given integer parameter.

*/ inline void SetIntegerStaticValues(Aws::Vector&& value) { m_integerStaticValuesHasBeenSet = true; m_integerStaticValues = std::move(value); } /** *

A list of static default values for a given integer parameter.

*/ inline NewDefaultValues& WithIntegerStaticValues(const Aws::Vector& value) { SetIntegerStaticValues(value); return *this;} /** *

A list of static default values for a given integer parameter.

*/ inline NewDefaultValues& WithIntegerStaticValues(Aws::Vector&& value) { SetIntegerStaticValues(std::move(value)); return *this;} /** *

A list of static default values for a given integer parameter.

*/ inline NewDefaultValues& AddIntegerStaticValues(long long value) { m_integerStaticValuesHasBeenSet = true; m_integerStaticValues.push_back(value); return *this; } private: Aws::Vector m_stringStaticValues; bool m_stringStaticValuesHasBeenSet = false; Aws::Vector m_decimalStaticValues; bool m_decimalStaticValuesHasBeenSet = false; Aws::Vector m_dateTimeStaticValues; bool m_dateTimeStaticValuesHasBeenSet = false; Aws::Vector m_integerStaticValues; bool m_integerStaticValuesHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws