/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the quicksight-2018-04-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.QuickSight.Model
{
///
/// Dataset.
///
public partial class DataSet
{
private string _arn;
private List _columnGroups = new List();
private List _columnLevelPermissionRules = new List();
private long? _consumedSpiceCapacityInBytes;
private DateTime? _createdTime;
private string _dataSetId;
private List _datasetParameters = new List();
private DataSetUsageConfiguration _dataSetUsageConfiguration;
private Dictionary _fieldFolders = new Dictionary();
private DataSetImportMode _importMode;
private DateTime? _lastUpdatedTime;
private Dictionary _logicalTableMap = new Dictionary();
private string _name;
private List _outputColumns = new List();
private Dictionary _physicalTableMap = new Dictionary();
private RowLevelPermissionDataSet _rowLevelPermissionDataSet;
private RowLevelPermissionTagConfiguration _rowLevelPermissionTagConfiguration;
///
/// Gets and sets the property Arn.
///
/// The Amazon Resource Name (ARN) of the resource.
///
///
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
///
/// Gets and sets the property ColumnGroups.
///
/// Groupings of columns that work together in certain Amazon QuickSight features. Currently,
/// only geospatial hierarchy is supported.
///
///
[AWSProperty(Min=1, Max=8)]
public List ColumnGroups
{
get { return this._columnGroups; }
set { this._columnGroups = value; }
}
// Check to see if ColumnGroups property is set
internal bool IsSetColumnGroups()
{
return this._columnGroups != null && this._columnGroups.Count > 0;
}
///
/// Gets and sets the property ColumnLevelPermissionRules.
///
/// A set of one or more definitions of a ColumnLevelPermissionRule
///
.
///
///
[AWSProperty(Min=1)]
public List ColumnLevelPermissionRules
{
get { return this._columnLevelPermissionRules; }
set { this._columnLevelPermissionRules = value; }
}
// Check to see if ColumnLevelPermissionRules property is set
internal bool IsSetColumnLevelPermissionRules()
{
return this._columnLevelPermissionRules != null && this._columnLevelPermissionRules.Count > 0;
}
///
/// Gets and sets the property ConsumedSpiceCapacityInBytes.
///
/// The amount of SPICE capacity used by this dataset. This is 0 if the dataset isn't
/// imported into SPICE.
///
///
public long ConsumedSpiceCapacityInBytes
{
get { return this._consumedSpiceCapacityInBytes.GetValueOrDefault(); }
set { this._consumedSpiceCapacityInBytes = value; }
}
// Check to see if ConsumedSpiceCapacityInBytes property is set
internal bool IsSetConsumedSpiceCapacityInBytes()
{
return this._consumedSpiceCapacityInBytes.HasValue;
}
///
/// Gets and sets the property CreatedTime.
///
/// The time that this dataset was created.
///
///
public DateTime CreatedTime
{
get { return this._createdTime.GetValueOrDefault(); }
set { this._createdTime = value; }
}
// Check to see if CreatedTime property is set
internal bool IsSetCreatedTime()
{
return this._createdTime.HasValue;
}
///
/// Gets and sets the property DataSetId.
///
/// The ID of the dataset.
///
///
public string DataSetId
{
get { return this._dataSetId; }
set { this._dataSetId = value; }
}
// Check to see if DataSetId property is set
internal bool IsSetDataSetId()
{
return this._dataSetId != null;
}
///
/// Gets and sets the property DatasetParameters.
///
/// The parameters that are declared in a dataset.
///
///
[AWSProperty(Min=1, Max=32)]
public List DatasetParameters
{
get { return this._datasetParameters; }
set { this._datasetParameters = value; }
}
// Check to see if DatasetParameters property is set
internal bool IsSetDatasetParameters()
{
return this._datasetParameters != null && this._datasetParameters.Count > 0;
}
///
/// Gets and sets the property DataSetUsageConfiguration.
///
/// The usage configuration to apply to child datasets that reference this dataset as
/// a source.
///
///
public DataSetUsageConfiguration DataSetUsageConfiguration
{
get { return this._dataSetUsageConfiguration; }
set { this._dataSetUsageConfiguration = value; }
}
// Check to see if DataSetUsageConfiguration property is set
internal bool IsSetDataSetUsageConfiguration()
{
return this._dataSetUsageConfiguration != null;
}
///
/// Gets and sets the property FieldFolders.
///
/// The folder that contains fields and nested subfolders for your dataset.
///
///
public Dictionary FieldFolders
{
get { return this._fieldFolders; }
set { this._fieldFolders = value; }
}
// Check to see if FieldFolders property is set
internal bool IsSetFieldFolders()
{
return this._fieldFolders != null && this._fieldFolders.Count > 0;
}
///
/// Gets and sets the property ImportMode.
///
/// A value that indicates whether you want to import the data into SPICE.
///
///
public DataSetImportMode ImportMode
{
get { return this._importMode; }
set { this._importMode = value; }
}
// Check to see if ImportMode property is set
internal bool IsSetImportMode()
{
return this._importMode != null;
}
///
/// Gets and sets the property LastUpdatedTime.
///
/// The last time that this dataset was updated.
///
///
public DateTime LastUpdatedTime
{
get { return this._lastUpdatedTime.GetValueOrDefault(); }
set { this._lastUpdatedTime = value; }
}
// Check to see if LastUpdatedTime property is set
internal bool IsSetLastUpdatedTime()
{
return this._lastUpdatedTime.HasValue;
}
///
/// Gets and sets the property LogicalTableMap.
///
/// Configures the combination and transformation of the data from the physical tables.
///
///
[AWSProperty(Min=1, Max=64)]
public Dictionary LogicalTableMap
{
get { return this._logicalTableMap; }
set { this._logicalTableMap = value; }
}
// Check to see if LogicalTableMap property is set
internal bool IsSetLogicalTableMap()
{
return this._logicalTableMap != null && this._logicalTableMap.Count > 0;
}
///
/// Gets and sets the property Name.
///
/// A display name for the dataset.
///
///
[AWSProperty(Min=1, Max=128)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property OutputColumns.
///
/// The list of columns after all transforms. These columns are available in templates,
/// analyses, and dashboards.
///
///
public List OutputColumns
{
get { return this._outputColumns; }
set { this._outputColumns = value; }
}
// Check to see if OutputColumns property is set
internal bool IsSetOutputColumns()
{
return this._outputColumns != null && this._outputColumns.Count > 0;
}
///
/// Gets and sets the property PhysicalTableMap.
///
/// Declares the physical tables that are available in the underlying data sources.
///
///
[AWSProperty(Min=0, Max=32)]
public Dictionary PhysicalTableMap
{
get { return this._physicalTableMap; }
set { this._physicalTableMap = value; }
}
// Check to see if PhysicalTableMap property is set
internal bool IsSetPhysicalTableMap()
{
return this._physicalTableMap != null && this._physicalTableMap.Count > 0;
}
///
/// Gets and sets the property RowLevelPermissionDataSet.
///
/// The row-level security configuration for the dataset.
///
///
public RowLevelPermissionDataSet RowLevelPermissionDataSet
{
get { return this._rowLevelPermissionDataSet; }
set { this._rowLevelPermissionDataSet = value; }
}
// Check to see if RowLevelPermissionDataSet property is set
internal bool IsSetRowLevelPermissionDataSet()
{
return this._rowLevelPermissionDataSet != null;
}
///
/// Gets and sets the property RowLevelPermissionTagConfiguration.
///
/// The element you can use to define tags for row-level security.
///
///
public RowLevelPermissionTagConfiguration RowLevelPermissionTagConfiguration
{
get { return this._rowLevelPermissionTagConfiguration; }
set { this._rowLevelPermissionTagConfiguration = value; }
}
// Check to see if RowLevelPermissionTagConfiguration property is set
internal bool IsSetRowLevelPermissionTagConfiguration()
{
return this._rowLevelPermissionTagConfiguration != null;
}
}
}