/** * 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 customized parameter values.

This is a union type structure. For * this structure to be valid, only one of the attributes can be * defined.

See Also:

AWS * API Reference

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

A list of string-type parameter values.

*/ inline const Aws::Vector& GetStringValues() const{ return m_stringValues; } /** *

A list of string-type parameter values.

*/ inline bool StringValuesHasBeenSet() const { return m_stringValuesHasBeenSet; } /** *

A list of string-type parameter values.

*/ inline void SetStringValues(const Aws::Vector& value) { m_stringValuesHasBeenSet = true; m_stringValues = value; } /** *

A list of string-type parameter values.

*/ inline void SetStringValues(Aws::Vector&& value) { m_stringValuesHasBeenSet = true; m_stringValues = std::move(value); } /** *

A list of string-type parameter values.

*/ inline CustomParameterValues& WithStringValues(const Aws::Vector& value) { SetStringValues(value); return *this;} /** *

A list of string-type parameter values.

*/ inline CustomParameterValues& WithStringValues(Aws::Vector&& value) { SetStringValues(std::move(value)); return *this;} /** *

A list of string-type parameter values.

*/ inline CustomParameterValues& AddStringValues(const Aws::String& value) { m_stringValuesHasBeenSet = true; m_stringValues.push_back(value); return *this; } /** *

A list of string-type parameter values.

*/ inline CustomParameterValues& AddStringValues(Aws::String&& value) { m_stringValuesHasBeenSet = true; m_stringValues.push_back(std::move(value)); return *this; } /** *

A list of string-type parameter values.

*/ inline CustomParameterValues& AddStringValues(const char* value) { m_stringValuesHasBeenSet = true; m_stringValues.push_back(value); return *this; } /** *

A list of integer-type parameter values.

*/ inline const Aws::Vector& GetIntegerValues() const{ return m_integerValues; } /** *

A list of integer-type parameter values.

*/ inline bool IntegerValuesHasBeenSet() const { return m_integerValuesHasBeenSet; } /** *

A list of integer-type parameter values.

*/ inline void SetIntegerValues(const Aws::Vector& value) { m_integerValuesHasBeenSet = true; m_integerValues = value; } /** *

A list of integer-type parameter values.

*/ inline void SetIntegerValues(Aws::Vector&& value) { m_integerValuesHasBeenSet = true; m_integerValues = std::move(value); } /** *

A list of integer-type parameter values.

*/ inline CustomParameterValues& WithIntegerValues(const Aws::Vector& value) { SetIntegerValues(value); return *this;} /** *

A list of integer-type parameter values.

*/ inline CustomParameterValues& WithIntegerValues(Aws::Vector&& value) { SetIntegerValues(std::move(value)); return *this;} /** *

A list of integer-type parameter values.

*/ inline CustomParameterValues& AddIntegerValues(long long value) { m_integerValuesHasBeenSet = true; m_integerValues.push_back(value); return *this; } /** *

A list of decimal-type parameter values.

*/ inline const Aws::Vector& GetDecimalValues() const{ return m_decimalValues; } /** *

A list of decimal-type parameter values.

*/ inline bool DecimalValuesHasBeenSet() const { return m_decimalValuesHasBeenSet; } /** *

A list of decimal-type parameter values.

*/ inline void SetDecimalValues(const Aws::Vector& value) { m_decimalValuesHasBeenSet = true; m_decimalValues = value; } /** *

A list of decimal-type parameter values.

*/ inline void SetDecimalValues(Aws::Vector&& value) { m_decimalValuesHasBeenSet = true; m_decimalValues = std::move(value); } /** *

A list of decimal-type parameter values.

*/ inline CustomParameterValues& WithDecimalValues(const Aws::Vector& value) { SetDecimalValues(value); return *this;} /** *

A list of decimal-type parameter values.

*/ inline CustomParameterValues& WithDecimalValues(Aws::Vector&& value) { SetDecimalValues(std::move(value)); return *this;} /** *

A list of decimal-type parameter values.

*/ inline CustomParameterValues& AddDecimalValues(double value) { m_decimalValuesHasBeenSet = true; m_decimalValues.push_back(value); return *this; } /** *

A list of datetime-type parameter values.

*/ inline const Aws::Vector& GetDateTimeValues() const{ return m_dateTimeValues; } /** *

A list of datetime-type parameter values.

*/ inline bool DateTimeValuesHasBeenSet() const { return m_dateTimeValuesHasBeenSet; } /** *

A list of datetime-type parameter values.

*/ inline void SetDateTimeValues(const Aws::Vector& value) { m_dateTimeValuesHasBeenSet = true; m_dateTimeValues = value; } /** *

A list of datetime-type parameter values.

*/ inline void SetDateTimeValues(Aws::Vector&& value) { m_dateTimeValuesHasBeenSet = true; m_dateTimeValues = std::move(value); } /** *

A list of datetime-type parameter values.

*/ inline CustomParameterValues& WithDateTimeValues(const Aws::Vector& value) { SetDateTimeValues(value); return *this;} /** *

A list of datetime-type parameter values.

*/ inline CustomParameterValues& WithDateTimeValues(Aws::Vector&& value) { SetDateTimeValues(std::move(value)); return *this;} /** *

A list of datetime-type parameter values.

*/ inline CustomParameterValues& AddDateTimeValues(const Aws::Utils::DateTime& value) { m_dateTimeValuesHasBeenSet = true; m_dateTimeValues.push_back(value); return *this; } /** *

A list of datetime-type parameter values.

*/ inline CustomParameterValues& AddDateTimeValues(Aws::Utils::DateTime&& value) { m_dateTimeValuesHasBeenSet = true; m_dateTimeValues.push_back(std::move(value)); return *this; } private: Aws::Vector m_stringValues; bool m_stringValuesHasBeenSet = false; Aws::Vector m_integerValues; bool m_integerValuesHasBeenSet = false; Aws::Vector m_decimalValues; bool m_decimalValuesHasBeenSet = false; Aws::Vector m_dateTimeValues; bool m_dateTimeValuesHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws