/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace QuickSight { namespace Model { /** */ class AWS_QUICKSIGHT_API UpdateDataSetRequest : public QuickSightRequest { public: UpdateDataSetRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateDataSet"; } Aws::String SerializePayload() const override; /** *

The AWS account ID.

*/ inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } /** *

The AWS account ID.

*/ inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } /** *

The AWS account ID.

*/ inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } /** *

The AWS account ID.

*/ inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } /** *

The AWS account ID.

*/ inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } /** *

The AWS account ID.

*/ inline UpdateDataSetRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} /** *

The AWS account ID.

*/ inline UpdateDataSetRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} /** *

The AWS account ID.

*/ inline UpdateDataSetRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} /** *

The ID for the dataset that you want to update. This ID is unique per AWS * Region for each AWS account.

*/ inline const Aws::String& GetDataSetId() const{ return m_dataSetId; } /** *

The ID for the dataset that you want to update. This ID is unique per AWS * Region for each AWS account.

*/ inline bool DataSetIdHasBeenSet() const { return m_dataSetIdHasBeenSet; } /** *

The ID for the dataset that you want to update. This ID is unique per AWS * Region for each AWS account.

*/ inline void SetDataSetId(const Aws::String& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = value; } /** *

The ID for the dataset that you want to update. This ID is unique per AWS * Region for each AWS account.

*/ inline void SetDataSetId(Aws::String&& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = std::move(value); } /** *

The ID for the dataset that you want to update. This ID is unique per AWS * Region for each AWS account.

*/ inline void SetDataSetId(const char* value) { m_dataSetIdHasBeenSet = true; m_dataSetId.assign(value); } /** *

The ID for the dataset that you want to update. This ID is unique per AWS * Region for each AWS account.

*/ inline UpdateDataSetRequest& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;} /** *

The ID for the dataset that you want to update. This ID is unique per AWS * Region for each AWS account.

*/ inline UpdateDataSetRequest& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;} /** *

The ID for the dataset that you want to update. This ID is unique per AWS * Region for each AWS account.

*/ inline UpdateDataSetRequest& WithDataSetId(const char* value) { SetDataSetId(value); return *this;} /** *

The display name for the dataset.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The display name for the dataset.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The display name for the dataset.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The display name for the dataset.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The display name for the dataset.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The display name for the dataset.

*/ inline UpdateDataSetRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The display name for the dataset.

*/ inline UpdateDataSetRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The display name for the dataset.

*/ inline UpdateDataSetRequest& WithName(const char* value) { SetName(value); return *this;} /** *

Declares the physical tables that are available in the underlying data * sources.

*/ inline const Aws::Map& GetPhysicalTableMap() const{ return m_physicalTableMap; } /** *

Declares the physical tables that are available in the underlying data * sources.

*/ inline bool PhysicalTableMapHasBeenSet() const { return m_physicalTableMapHasBeenSet; } /** *

Declares the physical tables that are available in the underlying data * sources.

*/ inline void SetPhysicalTableMap(const Aws::Map& value) { m_physicalTableMapHasBeenSet = true; m_physicalTableMap = value; } /** *

Declares the physical tables that are available in the underlying data * sources.

*/ inline void SetPhysicalTableMap(Aws::Map&& value) { m_physicalTableMapHasBeenSet = true; m_physicalTableMap = std::move(value); } /** *

Declares the physical tables that are available in the underlying data * sources.

*/ inline UpdateDataSetRequest& WithPhysicalTableMap(const Aws::Map& value) { SetPhysicalTableMap(value); return *this;} /** *

Declares the physical tables that are available in the underlying data * sources.

*/ inline UpdateDataSetRequest& WithPhysicalTableMap(Aws::Map&& value) { SetPhysicalTableMap(std::move(value)); return *this;} /** *

Declares the physical tables that are available in the underlying data * sources.

*/ inline UpdateDataSetRequest& AddPhysicalTableMap(const Aws::String& key, const PhysicalTable& value) { m_physicalTableMapHasBeenSet = true; m_physicalTableMap.emplace(key, value); return *this; } /** *

Declares the physical tables that are available in the underlying data * sources.

*/ inline UpdateDataSetRequest& AddPhysicalTableMap(Aws::String&& key, const PhysicalTable& value) { m_physicalTableMapHasBeenSet = true; m_physicalTableMap.emplace(std::move(key), value); return *this; } /** *

Declares the physical tables that are available in the underlying data * sources.

*/ inline UpdateDataSetRequest& AddPhysicalTableMap(const Aws::String& key, PhysicalTable&& value) { m_physicalTableMapHasBeenSet = true; m_physicalTableMap.emplace(key, std::move(value)); return *this; } /** *

Declares the physical tables that are available in the underlying data * sources.

*/ inline UpdateDataSetRequest& AddPhysicalTableMap(Aws::String&& key, PhysicalTable&& value) { m_physicalTableMapHasBeenSet = true; m_physicalTableMap.emplace(std::move(key), std::move(value)); return *this; } /** *

Declares the physical tables that are available in the underlying data * sources.

*/ inline UpdateDataSetRequest& AddPhysicalTableMap(const char* key, PhysicalTable&& value) { m_physicalTableMapHasBeenSet = true; m_physicalTableMap.emplace(key, std::move(value)); return *this; } /** *

Declares the physical tables that are available in the underlying data * sources.

*/ inline UpdateDataSetRequest& AddPhysicalTableMap(const char* key, const PhysicalTable& value) { m_physicalTableMapHasBeenSet = true; m_physicalTableMap.emplace(key, value); return *this; } /** *

Configures the combination and transformation of the data from the physical * tables.

*/ inline const Aws::Map& GetLogicalTableMap() const{ return m_logicalTableMap; } /** *

Configures the combination and transformation of the data from the physical * tables.

*/ inline bool LogicalTableMapHasBeenSet() const { return m_logicalTableMapHasBeenSet; } /** *

Configures the combination and transformation of the data from the physical * tables.

*/ inline void SetLogicalTableMap(const Aws::Map& value) { m_logicalTableMapHasBeenSet = true; m_logicalTableMap = value; } /** *

Configures the combination and transformation of the data from the physical * tables.

*/ inline void SetLogicalTableMap(Aws::Map&& value) { m_logicalTableMapHasBeenSet = true; m_logicalTableMap = std::move(value); } /** *

Configures the combination and transformation of the data from the physical * tables.

*/ inline UpdateDataSetRequest& WithLogicalTableMap(const Aws::Map& value) { SetLogicalTableMap(value); return *this;} /** *

Configures the combination and transformation of the data from the physical * tables.

*/ inline UpdateDataSetRequest& WithLogicalTableMap(Aws::Map&& value) { SetLogicalTableMap(std::move(value)); return *this;} /** *

Configures the combination and transformation of the data from the physical * tables.

*/ inline UpdateDataSetRequest& AddLogicalTableMap(const Aws::String& key, const LogicalTable& value) { m_logicalTableMapHasBeenSet = true; m_logicalTableMap.emplace(key, value); return *this; } /** *

Configures the combination and transformation of the data from the physical * tables.

*/ inline UpdateDataSetRequest& AddLogicalTableMap(Aws::String&& key, const LogicalTable& value) { m_logicalTableMapHasBeenSet = true; m_logicalTableMap.emplace(std::move(key), value); return *this; } /** *

Configures the combination and transformation of the data from the physical * tables.

*/ inline UpdateDataSetRequest& AddLogicalTableMap(const Aws::String& key, LogicalTable&& value) { m_logicalTableMapHasBeenSet = true; m_logicalTableMap.emplace(key, std::move(value)); return *this; } /** *

Configures the combination and transformation of the data from the physical * tables.

*/ inline UpdateDataSetRequest& AddLogicalTableMap(Aws::String&& key, LogicalTable&& value) { m_logicalTableMapHasBeenSet = true; m_logicalTableMap.emplace(std::move(key), std::move(value)); return *this; } /** *

Configures the combination and transformation of the data from the physical * tables.

*/ inline UpdateDataSetRequest& AddLogicalTableMap(const char* key, LogicalTable&& value) { m_logicalTableMapHasBeenSet = true; m_logicalTableMap.emplace(key, std::move(value)); return *this; } /** *

Configures the combination and transformation of the data from the physical * tables.

*/ inline UpdateDataSetRequest& AddLogicalTableMap(const char* key, const LogicalTable& value) { m_logicalTableMapHasBeenSet = true; m_logicalTableMap.emplace(key, value); return *this; } /** *

Indicates whether you want to import the data into SPICE.

*/ inline const DataSetImportMode& GetImportMode() const{ return m_importMode; } /** *

Indicates whether you want to import the data into SPICE.

*/ inline bool ImportModeHasBeenSet() const { return m_importModeHasBeenSet; } /** *

Indicates whether you want to import the data into SPICE.

*/ inline void SetImportMode(const DataSetImportMode& value) { m_importModeHasBeenSet = true; m_importMode = value; } /** *

Indicates whether you want to import the data into SPICE.

*/ inline void SetImportMode(DataSetImportMode&& value) { m_importModeHasBeenSet = true; m_importMode = std::move(value); } /** *

Indicates whether you want to import the data into SPICE.

*/ inline UpdateDataSetRequest& WithImportMode(const DataSetImportMode& value) { SetImportMode(value); return *this;} /** *

Indicates whether you want to import the data into SPICE.

*/ inline UpdateDataSetRequest& WithImportMode(DataSetImportMode&& value) { SetImportMode(std::move(value)); return *this;} /** *

Groupings of columns that work together in certain QuickSight features. * Currently, only geospatial hierarchy is supported.

*/ inline const Aws::Vector& GetColumnGroups() const{ return m_columnGroups; } /** *

Groupings of columns that work together in certain QuickSight features. * Currently, only geospatial hierarchy is supported.

*/ inline bool ColumnGroupsHasBeenSet() const { return m_columnGroupsHasBeenSet; } /** *

Groupings of columns that work together in certain QuickSight features. * Currently, only geospatial hierarchy is supported.

*/ inline void SetColumnGroups(const Aws::Vector& value) { m_columnGroupsHasBeenSet = true; m_columnGroups = value; } /** *

Groupings of columns that work together in certain QuickSight features. * Currently, only geospatial hierarchy is supported.

*/ inline void SetColumnGroups(Aws::Vector&& value) { m_columnGroupsHasBeenSet = true; m_columnGroups = std::move(value); } /** *

Groupings of columns that work together in certain QuickSight features. * Currently, only geospatial hierarchy is supported.

*/ inline UpdateDataSetRequest& WithColumnGroups(const Aws::Vector& value) { SetColumnGroups(value); return *this;} /** *

Groupings of columns that work together in certain QuickSight features. * Currently, only geospatial hierarchy is supported.

*/ inline UpdateDataSetRequest& WithColumnGroups(Aws::Vector&& value) { SetColumnGroups(std::move(value)); return *this;} /** *

Groupings of columns that work together in certain QuickSight features. * Currently, only geospatial hierarchy is supported.

*/ inline UpdateDataSetRequest& AddColumnGroups(const ColumnGroup& value) { m_columnGroupsHasBeenSet = true; m_columnGroups.push_back(value); return *this; } /** *

Groupings of columns that work together in certain QuickSight features. * Currently, only geospatial hierarchy is supported.

*/ inline UpdateDataSetRequest& AddColumnGroups(ColumnGroup&& value) { m_columnGroupsHasBeenSet = true; m_columnGroups.push_back(std::move(value)); return *this; } /** *

The row-level security configuration for the data you want to create.

*/ inline const RowLevelPermissionDataSet& GetRowLevelPermissionDataSet() const{ return m_rowLevelPermissionDataSet; } /** *

The row-level security configuration for the data you want to create.

*/ inline bool RowLevelPermissionDataSetHasBeenSet() const { return m_rowLevelPermissionDataSetHasBeenSet; } /** *

The row-level security configuration for the data you want to create.

*/ inline void SetRowLevelPermissionDataSet(const RowLevelPermissionDataSet& value) { m_rowLevelPermissionDataSetHasBeenSet = true; m_rowLevelPermissionDataSet = value; } /** *

The row-level security configuration for the data you want to create.

*/ inline void SetRowLevelPermissionDataSet(RowLevelPermissionDataSet&& value) { m_rowLevelPermissionDataSetHasBeenSet = true; m_rowLevelPermissionDataSet = std::move(value); } /** *

The row-level security configuration for the data you want to create.

*/ inline UpdateDataSetRequest& WithRowLevelPermissionDataSet(const RowLevelPermissionDataSet& value) { SetRowLevelPermissionDataSet(value); return *this;} /** *

The row-level security configuration for the data you want to create.

*/ inline UpdateDataSetRequest& WithRowLevelPermissionDataSet(RowLevelPermissionDataSet&& value) { SetRowLevelPermissionDataSet(std::move(value)); return *this;} private: Aws::String m_awsAccountId; bool m_awsAccountIdHasBeenSet; Aws::String m_dataSetId; bool m_dataSetIdHasBeenSet; Aws::String m_name; bool m_nameHasBeenSet; Aws::Map m_physicalTableMap; bool m_physicalTableMapHasBeenSet; Aws::Map m_logicalTableMap; bool m_logicalTableMapHasBeenSet; DataSetImportMode m_importMode; bool m_importModeHasBeenSet; Aws::Vector m_columnGroups; bool m_columnGroupsHasBeenSet; RowLevelPermissionDataSet m_rowLevelPermissionDataSet; bool m_rowLevelPermissionDataSetHasBeenSet; }; } // namespace Model } // namespace QuickSight } // namespace Aws