/* * 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 { /// /// A Changeset is unit of data in a Dataset. /// public partial class ChangesetSummary { private long? _activeFromTimestamp; private long? _activeUntilTimestamp; private string _changesetArn; private string _changesetId; private ChangeType _changeType; private long? _createTime; private string _datasetId; private ChangesetErrorInfo _errorInfo; private Dictionary _formatParams = new Dictionary(); private Dictionary _sourceParams = new Dictionary(); private IngestionStatus _status; private string _updatedByChangesetId; private string _updatesChangesetId; /// /// Gets and sets the property ActiveFromTimestamp. /// /// Beginning time from which the Changeset is active. 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 ActiveFromTimestamp { get { return this._activeFromTimestamp.GetValueOrDefault(); } set { this._activeFromTimestamp = value; } } // Check to see if ActiveFromTimestamp property is set internal bool IsSetActiveFromTimestamp() { return this._activeFromTimestamp.HasValue; } /// /// Gets and sets the property ActiveUntilTimestamp. /// /// Time until which the Changeset is active. 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 ActiveUntilTimestamp { get { return this._activeUntilTimestamp.GetValueOrDefault(); } set { this._activeUntilTimestamp = value; } } // Check to see if ActiveUntilTimestamp property is set internal bool IsSetActiveUntilTimestamp() { return this._activeUntilTimestamp.HasValue; } /// /// Gets and sets the property ChangesetArn. /// /// The ARN identifier of the Changeset. /// /// public string ChangesetArn { get { return this._changesetArn; } set { this._changesetArn = value; } } // Check to see if ChangesetArn property is set internal bool IsSetChangesetArn() { return this._changesetArn != null; } /// /// Gets and sets the property ChangesetId. /// /// The unique identifier for a Changeset. /// /// [AWSProperty(Min=1, Max=26)] public string ChangesetId { get { return this._changesetId; } set { this._changesetId = value; } } // Check to see if ChangesetId property is set internal bool IsSetChangesetId() { return this._changesetId != null; } /// /// Gets and sets the property ChangeType. /// /// Type that indicates how a Changeset is applied to a Dataset. /// ///
  • /// /// REPLACE – Changeset is considered as a replacement to all prior loaded /// Changesets. /// ///
  • /// /// APPEND – Changeset is considered as an addition to the end of all prior /// loaded Changesets. /// ///
  • /// /// MODIFY – Changeset is considered as a replacement to a specific prior /// ingested Changeset. /// ///
///
public ChangeType ChangeType { get { return this._changeType; } set { this._changeType = value; } } // Check to see if ChangeType property is set internal bool IsSetChangeType() { return this._changeType != null; } /// /// Gets and sets the property CreateTime. /// /// The timestamp at which the Changeset 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 FinSpace Dataset in which the Changeset is created. /// /// [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 ErrorInfo. /// /// The structure with error messages. /// /// public ChangesetErrorInfo 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 FormatParams. /// /// Options that define the structure of the source file(s). /// /// public Dictionary FormatParams { get { return this._formatParams; } set { this._formatParams = value; } } // Check to see if FormatParams property is set internal bool IsSetFormatParams() { return this._formatParams != null && this._formatParams.Count > 0; } /// /// Gets and sets the property SourceParams. /// /// Options that define the location of the data being ingested. /// /// public Dictionary SourceParams { get { return this._sourceParams; } set { this._sourceParams = value; } } // Check to see if SourceParams property is set internal bool IsSetSourceParams() { return this._sourceParams != null && this._sourceParams.Count > 0; } /// /// Gets and sets the property Status. /// /// Status of the Changeset ingestion. /// ///
  • /// /// PENDING – Changeset is pending creation. /// ///
  • /// /// FAILED – Changeset creation has failed. /// ///
  • /// /// SUCCESS – Changeset creation has succeeded. /// ///
  • /// /// RUNNING – Changeset creation is running. /// ///
  • /// /// STOP_REQUESTED – User requested Changeset creation to stop. /// ///
///
public IngestionStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// /// Gets and sets the property UpdatedByChangesetId. /// /// The unique identifier of the updated Changeset. /// /// [AWSProperty(Min=1, Max=26)] public string UpdatedByChangesetId { get { return this._updatedByChangesetId; } set { this._updatedByChangesetId = value; } } // Check to see if UpdatedByChangesetId property is set internal bool IsSetUpdatedByChangesetId() { return this._updatedByChangesetId != null; } /// /// Gets and sets the property UpdatesChangesetId. /// /// The unique identifier of the Changeset that is updated. /// /// [AWSProperty(Min=1, Max=26)] public string UpdatesChangesetId { get { return this._updatesChangesetId; } set { this._updatesChangesetId = value; } } // Check to see if UpdatesChangesetId property is set internal bool IsSetUpdatesChangesetId() { return this._updatesChangesetId != null; } } }