/** * 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 target of a pivot table field collapse state.

See Also:

* AWS * API Reference

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

The field ID of the pivot table that the collapse state needs to be set * to.

*/ inline const Aws::String& GetFieldId() const{ return m_fieldId; } /** *

The field ID of the pivot table that the collapse state needs to be set * to.

*/ inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; } /** *

The field ID of the pivot table that the collapse state needs to be set * to.

*/ inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; } /** *

The field ID of the pivot table that the collapse state needs to be set * to.

*/ inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); } /** *

The field ID of the pivot table that the collapse state needs to be set * to.

*/ inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); } /** *

The field ID of the pivot table that the collapse state needs to be set * to.

*/ inline PivotTableFieldCollapseStateTarget& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;} /** *

The field ID of the pivot table that the collapse state needs to be set * to.

*/ inline PivotTableFieldCollapseStateTarget& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;} /** *

The field ID of the pivot table that the collapse state needs to be set * to.

*/ inline PivotTableFieldCollapseStateTarget& WithFieldId(const char* value) { SetFieldId(value); return *this;} /** *

The data path of the pivot table's header. Used to set the collapse * state.

*/ inline const Aws::Vector& GetFieldDataPathValues() const{ return m_fieldDataPathValues; } /** *

The data path of the pivot table's header. Used to set the collapse * state.

*/ inline bool FieldDataPathValuesHasBeenSet() const { return m_fieldDataPathValuesHasBeenSet; } /** *

The data path of the pivot table's header. Used to set the collapse * state.

*/ inline void SetFieldDataPathValues(const Aws::Vector& value) { m_fieldDataPathValuesHasBeenSet = true; m_fieldDataPathValues = value; } /** *

The data path of the pivot table's header. Used to set the collapse * state.

*/ inline void SetFieldDataPathValues(Aws::Vector&& value) { m_fieldDataPathValuesHasBeenSet = true; m_fieldDataPathValues = std::move(value); } /** *

The data path of the pivot table's header. Used to set the collapse * state.

*/ inline PivotTableFieldCollapseStateTarget& WithFieldDataPathValues(const Aws::Vector& value) { SetFieldDataPathValues(value); return *this;} /** *

The data path of the pivot table's header. Used to set the collapse * state.

*/ inline PivotTableFieldCollapseStateTarget& WithFieldDataPathValues(Aws::Vector&& value) { SetFieldDataPathValues(std::move(value)); return *this;} /** *

The data path of the pivot table's header. Used to set the collapse * state.

*/ inline PivotTableFieldCollapseStateTarget& AddFieldDataPathValues(const DataPathValue& value) { m_fieldDataPathValuesHasBeenSet = true; m_fieldDataPathValues.push_back(value); return *this; } /** *

The data path of the pivot table's header. Used to set the collapse * state.

*/ inline PivotTableFieldCollapseStateTarget& AddFieldDataPathValues(DataPathValue&& value) { m_fieldDataPathValuesHasBeenSet = true; m_fieldDataPathValues.push_back(std::move(value)); return *this; } private: Aws::String m_fieldId; bool m_fieldIdHasBeenSet = false; Aws::Vector m_fieldDataPathValues; bool m_fieldDataPathValuesHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws