/*
* 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-2021-03-12.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.Finspace.Model
{
///
/// This is the response object from the GetKxChangeset operation.
///
public partial class GetKxChangesetResponse : AmazonWebServiceResponse
{
private DateTime? _activeFromTimestamp;
private List _changeRequests = new List();
private string _changesetId;
private DateTime? _createdTimestamp;
private string _databaseName;
private string _environmentId;
private ErrorInfo _errorInfo;
private DateTime? _lastModifiedTimestamp;
private ChangesetStatus _status;
///
/// 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 DateTime 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 ChangeRequests.
///
/// A list of change request objects that are run in order.
///
///
[AWSProperty(Min=1, Max=32)]
public List ChangeRequests
{
get { return this._changeRequests; }
set { this._changeRequests = value; }
}
// Check to see if ChangeRequests property is set
internal bool IsSetChangeRequests()
{
return this._changeRequests != null && this._changeRequests.Count > 0;
}
///
/// Gets and sets the property ChangesetId.
///
/// A unique identifier for the 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 CreatedTimestamp.
///
/// 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 DateTime CreatedTimestamp
{
get { return this._createdTimestamp.GetValueOrDefault(); }
set { this._createdTimestamp = value; }
}
// Check to see if CreatedTimestamp property is set
internal bool IsSetCreatedTimestamp()
{
return this._createdTimestamp.HasValue;
}
///
/// Gets and sets the property DatabaseName.
///
/// The name of the kdb database.
///
///
[AWSProperty(Min=3, Max=63)]
public string DatabaseName
{
get { return this._databaseName; }
set { this._databaseName = value; }
}
// Check to see if DatabaseName property is set
internal bool IsSetDatabaseName()
{
return this._databaseName != null;
}
///
/// Gets and sets the property EnvironmentId.
///
/// A unique identifier for the kdb environment.
///
///
[AWSProperty(Min=1, Max=32)]
public string EnvironmentId
{
get { return this._environmentId; }
set { this._environmentId = value; }
}
// Check to see if EnvironmentId property is set
internal bool IsSetEnvironmentId()
{
return this._environmentId != null;
}
///
/// Gets and sets the property ErrorInfo.
///
/// Provides details in the event of a failed flow, including the error type and the related
/// error message.
///
///
public ErrorInfo 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 LastModifiedTimestamp.
///
/// The timestamp at which the changeset was updated 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 DateTime LastModifiedTimestamp
{
get { return this._lastModifiedTimestamp.GetValueOrDefault(); }
set { this._lastModifiedTimestamp = value; }
}
// Check to see if LastModifiedTimestamp property is set
internal bool IsSetLastModifiedTimestamp()
{
return this._lastModifiedTimestamp.HasValue;
}
///
/// Gets and sets the property Status.
///
/// Status of the changeset creation process.
///
/// -
///
/// Pending – Changeset creation is pending.
///
///
-
///
/// Processing – Changeset creation is running.
///
///
-
///
/// Failed – Changeset creation has failed.
///
///
-
///
/// Complete – Changeset creation has succeeded.
///
///
///
public ChangesetStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}