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

Dataset summary.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the dataset.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline DataSetSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline DataSetSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the dataset.

*/ inline DataSetSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *

The ID of the dataset.

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

The ID of the dataset.

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

The ID of the dataset.

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

The ID of the dataset.

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

The ID of the dataset.

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

The ID of the dataset.

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

The ID of the dataset.

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

The ID of the dataset.

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

A display name for the dataset.

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

A display name for the dataset.

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

A display name for the dataset.

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

A display name for the dataset.

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

A display name for the dataset.

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

A display name for the dataset.

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

A display name for the dataset.

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

A display name for the dataset.

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

The time that this dataset was created.

*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *

The time that this dataset was created.

*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *

The time that this dataset was created.

*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *

The time that this dataset was created.

*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *

The time that this dataset was created.

*/ inline DataSetSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *

The time that this dataset was created.

*/ inline DataSetSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *

The last time that this dataset was updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *

The last time that this dataset was updated.

*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *

The last time that this dataset was updated.

*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *

The last time that this dataset was updated.

*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *

The last time that this dataset was updated.

*/ inline DataSetSummary& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *

The last time that this dataset was updated.

*/ inline DataSetSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *

A value that indicates whether you want to import the data into SPICE.

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

A value that indicates whether you want to import the data into SPICE.

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

A value that indicates whether you want to import the data into SPICE.

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

A value that indicates whether you want to import the data into SPICE.

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

A value that indicates whether you want to import the data into SPICE.

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

A value that indicates whether you want to import the data into SPICE.

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

The row-level security configuration for the dataset.

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

The row-level security configuration for the dataset.

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

The row-level security configuration for the dataset.

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

The row-level security configuration for the dataset.

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

The row-level security configuration for the dataset.

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

The row-level security configuration for the dataset.

*/ inline DataSetSummary& WithRowLevelPermissionDataSet(RowLevelPermissionDataSet&& value) { SetRowLevelPermissionDataSet(std::move(value)); return *this;} /** *

Whether or not the row level permission tags are applied.

*/ inline bool GetRowLevelPermissionTagConfigurationApplied() const{ return m_rowLevelPermissionTagConfigurationApplied; } /** *

Whether or not the row level permission tags are applied.

*/ inline bool RowLevelPermissionTagConfigurationAppliedHasBeenSet() const { return m_rowLevelPermissionTagConfigurationAppliedHasBeenSet; } /** *

Whether or not the row level permission tags are applied.

*/ inline void SetRowLevelPermissionTagConfigurationApplied(bool value) { m_rowLevelPermissionTagConfigurationAppliedHasBeenSet = true; m_rowLevelPermissionTagConfigurationApplied = value; } /** *

Whether or not the row level permission tags are applied.

*/ inline DataSetSummary& WithRowLevelPermissionTagConfigurationApplied(bool value) { SetRowLevelPermissionTagConfigurationApplied(value); return *this;} /** *

A value that indicates if the dataset has column level permission * configured.

*/ inline bool GetColumnLevelPermissionRulesApplied() const{ return m_columnLevelPermissionRulesApplied; } /** *

A value that indicates if the dataset has column level permission * configured.

*/ inline bool ColumnLevelPermissionRulesAppliedHasBeenSet() const { return m_columnLevelPermissionRulesAppliedHasBeenSet; } /** *

A value that indicates if the dataset has column level permission * configured.

*/ inline void SetColumnLevelPermissionRulesApplied(bool value) { m_columnLevelPermissionRulesAppliedHasBeenSet = true; m_columnLevelPermissionRulesApplied = value; } /** *

A value that indicates if the dataset has column level permission * configured.

*/ inline DataSetSummary& WithColumnLevelPermissionRulesApplied(bool value) { SetColumnLevelPermissionRulesApplied(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_dataSetId; bool m_dataSetIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedTime; bool m_lastUpdatedTimeHasBeenSet = false; DataSetImportMode m_importMode; bool m_importModeHasBeenSet = false; RowLevelPermissionDataSet m_rowLevelPermissionDataSet; bool m_rowLevelPermissionDataSetHasBeenSet = false; bool m_rowLevelPermissionTagConfigurationApplied; bool m_rowLevelPermissionTagConfigurationAppliedHasBeenSet = false; bool m_columnLevelPermissionRulesApplied; bool m_columnLevelPermissionRulesAppliedHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws