/* * 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 finspace-data-2020-07-13.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.FinSpaceData.Model { /// /// Response from retrieving a dataview, which includes details on the target database /// and table name /// public partial class GetDataViewResponse : AmazonWebServiceResponse { private long? _asOfTimestamp; private bool? _autoUpdate; private long? _createTime; private string _datasetId; private string _dataViewArn; private string _dataViewId; private DataViewDestinationTypeParams _destinationTypeParams; private DataViewErrorInfo _errorInfo; private long? _lastModifiedTime; private List _partitionColumns = new List(); private List _sortColumns = new List(); private DataViewStatus _status; /// /// Gets and sets the property AsOfTimestamp. /// /// Time range to use for the Dataview. The value is determined as epoch time in milliseconds. /// For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as /// 1635768000000. /// /// public long AsOfTimestamp { get { return this._asOfTimestamp.GetValueOrDefault(); } set { this._asOfTimestamp = value; } } // Check to see if AsOfTimestamp property is set internal bool IsSetAsOfTimestamp() { return this._asOfTimestamp.HasValue; } /// /// Gets and sets the property AutoUpdate. /// /// Flag to indicate Dataview should be updated automatically. /// /// public bool AutoUpdate { get { return this._autoUpdate.GetValueOrDefault(); } set { this._autoUpdate = value; } } // Check to see if AutoUpdate property is set internal bool IsSetAutoUpdate() { return this._autoUpdate.HasValue; } /// /// Gets and sets the property CreateTime. /// /// The timestamp at which the Dataview was created in FinSpace. The value is determined /// as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 /// 12:00:00 PM UTC is specified as 1635768000000. /// /// public long CreateTime { get { return this._createTime.GetValueOrDefault(); } set { this._createTime = value; } } // Check to see if CreateTime property is set internal bool IsSetCreateTime() { return this._createTime.HasValue; } /// /// Gets and sets the property DatasetId. /// /// The unique identifier for the Dataset used in the Dataview. /// /// [AWSProperty(Min=1, Max=26)] 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 DataViewArn. /// /// The ARN identifier of the Dataview. /// /// public string DataViewArn { get { return this._dataViewArn; } set { this._dataViewArn = value; } } // Check to see if DataViewArn property is set internal bool IsSetDataViewArn() { return this._dataViewArn != null; } /// /// Gets and sets the property DataViewId. /// /// The unique identifier for the Dataview. /// /// [AWSProperty(Min=1, Max=26)] public string DataViewId { get { return this._dataViewId; } set { this._dataViewId = value; } } // Check to see if DataViewId property is set internal bool IsSetDataViewId() { return this._dataViewId != null; } /// /// Gets and sets the property DestinationTypeParams. /// /// Options that define the destination type for the Dataview. /// /// public DataViewDestinationTypeParams DestinationTypeParams { get { return this._destinationTypeParams; } set { this._destinationTypeParams = value; } } // Check to see if DestinationTypeParams property is set internal bool IsSetDestinationTypeParams() { return this._destinationTypeParams != null; } /// /// Gets and sets the property ErrorInfo. /// /// Information about an error that occurred for the Dataview. /// /// public DataViewErrorInfo ErrorInfo { get { return this._errorInfo; } set { this._errorInfo = value; } } // Check to see if ErrorInfo property is set internal bool IsSetErrorInfo() { return this._errorInfo != null; } /// /// Gets and sets the property LastModifiedTime. /// /// The last time that a Dataview was modified. The value is determined as epoch time /// in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC /// is specified as 1635768000000. /// /// public long LastModifiedTime { get { return this._lastModifiedTime.GetValueOrDefault(); } set { this._lastModifiedTime = value; } } // Check to see if LastModifiedTime property is set internal bool IsSetLastModifiedTime() { return this._lastModifiedTime.HasValue; } /// /// Gets and sets the property PartitionColumns. /// /// Ordered set of column names used to partition data. /// /// public List PartitionColumns { get { return this._partitionColumns; } set { this._partitionColumns = value; } } // Check to see if PartitionColumns property is set internal bool IsSetPartitionColumns() { return this._partitionColumns != null && this._partitionColumns.Count > 0; } /// /// Gets and sets the property SortColumns. /// /// Columns to be used for sorting the data. /// /// public List SortColumns { get { return this._sortColumns; } set { this._sortColumns = value; } } // Check to see if SortColumns property is set internal bool IsSetSortColumns() { return this._sortColumns != null && this._sortColumns.Count > 0; } /// /// Gets and sets the property Status. /// /// The status of a Dataview creation. /// ///
  • /// /// RUNNING – Dataview creation is running. /// ///
  • /// /// STARTING – Dataview creation is starting. /// ///
  • /// /// FAILED – Dataview creation has failed. /// ///
  • /// /// CANCELLED – Dataview creation has been cancelled. /// ///
  • /// /// TIMEOUT – Dataview creation has timed out. /// ///
  • /// /// SUCCESS – Dataview creation has succeeded. /// ///
  • /// /// PENDING – Dataview creation is pending. /// ///
  • /// /// FAILED_CLEANUP_FAILED – Dataview creation failed and resource cleanup /// failed. /// ///
///
public DataViewStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }