/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

The option that determines the hierarchy of the fields that are defined * during data preparation. These fields are available to use in any analysis that * uses the data source.

See Also:

AWS * API Reference

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

The hierarchy ID of the predefined hierarchy.

*/ inline const Aws::String& GetHierarchyId() const{ return m_hierarchyId; } /** *

The hierarchy ID of the predefined hierarchy.

*/ inline bool HierarchyIdHasBeenSet() const { return m_hierarchyIdHasBeenSet; } /** *

The hierarchy ID of the predefined hierarchy.

*/ inline void SetHierarchyId(const Aws::String& value) { m_hierarchyIdHasBeenSet = true; m_hierarchyId = value; } /** *

The hierarchy ID of the predefined hierarchy.

*/ inline void SetHierarchyId(Aws::String&& value) { m_hierarchyIdHasBeenSet = true; m_hierarchyId = std::move(value); } /** *

The hierarchy ID of the predefined hierarchy.

*/ inline void SetHierarchyId(const char* value) { m_hierarchyIdHasBeenSet = true; m_hierarchyId.assign(value); } /** *

The hierarchy ID of the predefined hierarchy.

*/ inline PredefinedHierarchy& WithHierarchyId(const Aws::String& value) { SetHierarchyId(value); return *this;} /** *

The hierarchy ID of the predefined hierarchy.

*/ inline PredefinedHierarchy& WithHierarchyId(Aws::String&& value) { SetHierarchyId(std::move(value)); return *this;} /** *

The hierarchy ID of the predefined hierarchy.

*/ inline PredefinedHierarchy& WithHierarchyId(const char* value) { SetHierarchyId(value); return *this;} /** *

The list of columns that define the predefined hierarchy.

*/ inline const Aws::Vector& GetColumns() const{ return m_columns; } /** *

The list of columns that define the predefined hierarchy.

*/ inline bool ColumnsHasBeenSet() const { return m_columnsHasBeenSet; } /** *

The list of columns that define the predefined hierarchy.

*/ inline void SetColumns(const Aws::Vector& value) { m_columnsHasBeenSet = true; m_columns = value; } /** *

The list of columns that define the predefined hierarchy.

*/ inline void SetColumns(Aws::Vector&& value) { m_columnsHasBeenSet = true; m_columns = std::move(value); } /** *

The list of columns that define the predefined hierarchy.

*/ inline PredefinedHierarchy& WithColumns(const Aws::Vector& value) { SetColumns(value); return *this;} /** *

The list of columns that define the predefined hierarchy.

*/ inline PredefinedHierarchy& WithColumns(Aws::Vector&& value) { SetColumns(std::move(value)); return *this;} /** *

The list of columns that define the predefined hierarchy.

*/ inline PredefinedHierarchy& AddColumns(const ColumnIdentifier& value) { m_columnsHasBeenSet = true; m_columns.push_back(value); return *this; } /** *

The list of columns that define the predefined hierarchy.

*/ inline PredefinedHierarchy& AddColumns(ColumnIdentifier&& value) { m_columnsHasBeenSet = true; m_columns.push_back(std::move(value)); return *this; } /** *

The option that determines the drill down filters for the predefined * hierarchy.

*/ inline const Aws::Vector& GetDrillDownFilters() const{ return m_drillDownFilters; } /** *

The option that determines the drill down filters for the predefined * hierarchy.

*/ inline bool DrillDownFiltersHasBeenSet() const { return m_drillDownFiltersHasBeenSet; } /** *

The option that determines the drill down filters for the predefined * hierarchy.

*/ inline void SetDrillDownFilters(const Aws::Vector& value) { m_drillDownFiltersHasBeenSet = true; m_drillDownFilters = value; } /** *

The option that determines the drill down filters for the predefined * hierarchy.

*/ inline void SetDrillDownFilters(Aws::Vector&& value) { m_drillDownFiltersHasBeenSet = true; m_drillDownFilters = std::move(value); } /** *

The option that determines the drill down filters for the predefined * hierarchy.

*/ inline PredefinedHierarchy& WithDrillDownFilters(const Aws::Vector& value) { SetDrillDownFilters(value); return *this;} /** *

The option that determines the drill down filters for the predefined * hierarchy.

*/ inline PredefinedHierarchy& WithDrillDownFilters(Aws::Vector&& value) { SetDrillDownFilters(std::move(value)); return *this;} /** *

The option that determines the drill down filters for the predefined * hierarchy.

*/ inline PredefinedHierarchy& AddDrillDownFilters(const DrillDownFilter& value) { m_drillDownFiltersHasBeenSet = true; m_drillDownFilters.push_back(value); return *this; } /** *

The option that determines the drill down filters for the predefined * hierarchy.

*/ inline PredefinedHierarchy& AddDrillDownFilters(DrillDownFilter&& value) { m_drillDownFiltersHasBeenSet = true; m_drillDownFilters.push_back(std::move(value)); return *this; } private: Aws::String m_hierarchyId; bool m_hierarchyIdHasBeenSet = false; Aws::Vector m_columns; bool m_columnsHasBeenSet = false; Aws::Vector m_drillDownFilters; bool m_drillDownFiltersHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws