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

A list of selectable values that are used in a control.

See * Also:

AWS * API Reference

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

The values that are used in ParameterSelectableValues.

*/ inline const Aws::Vector& GetValues() const{ return m_values; } /** *

The values that are used in ParameterSelectableValues.

*/ inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } /** *

The values that are used in ParameterSelectableValues.

*/ inline void SetValues(const Aws::Vector& value) { m_valuesHasBeenSet = true; m_values = value; } /** *

The values that are used in ParameterSelectableValues.

*/ inline void SetValues(Aws::Vector&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); } /** *

The values that are used in ParameterSelectableValues.

*/ inline ParameterSelectableValues& WithValues(const Aws::Vector& value) { SetValues(value); return *this;} /** *

The values that are used in ParameterSelectableValues.

*/ inline ParameterSelectableValues& WithValues(Aws::Vector&& value) { SetValues(std::move(value)); return *this;} /** *

The values that are used in ParameterSelectableValues.

*/ inline ParameterSelectableValues& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } /** *

The values that are used in ParameterSelectableValues.

*/ inline ParameterSelectableValues& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; } /** *

The values that are used in ParameterSelectableValues.

*/ inline ParameterSelectableValues& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } /** *

The column identifier that fetches values from the data set.

*/ inline const ColumnIdentifier& GetLinkToDataSetColumn() const{ return m_linkToDataSetColumn; } /** *

The column identifier that fetches values from the data set.

*/ inline bool LinkToDataSetColumnHasBeenSet() const { return m_linkToDataSetColumnHasBeenSet; } /** *

The column identifier that fetches values from the data set.

*/ inline void SetLinkToDataSetColumn(const ColumnIdentifier& value) { m_linkToDataSetColumnHasBeenSet = true; m_linkToDataSetColumn = value; } /** *

The column identifier that fetches values from the data set.

*/ inline void SetLinkToDataSetColumn(ColumnIdentifier&& value) { m_linkToDataSetColumnHasBeenSet = true; m_linkToDataSetColumn = std::move(value); } /** *

The column identifier that fetches values from the data set.

*/ inline ParameterSelectableValues& WithLinkToDataSetColumn(const ColumnIdentifier& value) { SetLinkToDataSetColumn(value); return *this;} /** *

The column identifier that fetches values from the data set.

*/ inline ParameterSelectableValues& WithLinkToDataSetColumn(ColumnIdentifier&& value) { SetLinkToDataSetColumn(std::move(value)); return *this;} private: Aws::Vector m_values; bool m_valuesHasBeenSet = false; ColumnIdentifier m_linkToDataSetColumn; bool m_linkToDataSetColumnHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws