/*
* 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 opensearch-2021-01-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.OpenSearchService.Model
{
///
/// The progress details of a specific domain configuration change.
///
public partial class ChangeProgressStatusDetails
{
private string _changeId;
private List _changeProgressStages = new List();
private List _completedProperties = new List();
private List _pendingProperties = new List();
private DateTime? _startTime;
private OverallChangeStatus _status;
private int? _totalNumberOfStages;
///
/// Gets and sets the property ChangeId.
///
/// The unique change identifier associated with a specific domain configuration change.
///
///
[AWSProperty(Min=36, Max=36)]
public string ChangeId
{
get { return this._changeId; }
set { this._changeId = value; }
}
// Check to see if ChangeId property is set
internal bool IsSetChangeId()
{
return this._changeId != null;
}
///
/// Gets and sets the property ChangeProgressStages.
///
/// The specific stages that the domain is going through to perform the configuration
/// change.
///
///
public List ChangeProgressStages
{
get { return this._changeProgressStages; }
set { this._changeProgressStages = value; }
}
// Check to see if ChangeProgressStages property is set
internal bool IsSetChangeProgressStages()
{
return this._changeProgressStages != null && this._changeProgressStages.Count > 0;
}
///
/// Gets and sets the property CompletedProperties.
///
/// The list of properties in the domain configuration change that have completed.
///
///
public List CompletedProperties
{
get { return this._completedProperties; }
set { this._completedProperties = value; }
}
// Check to see if CompletedProperties property is set
internal bool IsSetCompletedProperties()
{
return this._completedProperties != null && this._completedProperties.Count > 0;
}
///
/// Gets and sets the property PendingProperties.
///
/// The list of properties in the domain configuration change that are still pending.
///
///
public List PendingProperties
{
get { return this._pendingProperties; }
set { this._pendingProperties = value; }
}
// Check to see if PendingProperties property is set
internal bool IsSetPendingProperties()
{
return this._pendingProperties != null && this._pendingProperties.Count > 0;
}
///
/// Gets and sets the property StartTime.
///
/// The time at which the configuration change is made on the domain.
///
///
public DateTime StartTime
{
get { return this._startTime.GetValueOrDefault(); }
set { this._startTime = value; }
}
// Check to see if StartTime property is set
internal bool IsSetStartTime()
{
return this._startTime.HasValue;
}
///
/// Gets and sets the property Status.
///
/// The overall status of the domain configuration change.
///
///
public OverallChangeStatus 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 TotalNumberOfStages.
///
/// The total number of stages required for the configuration change.
///
///
public int TotalNumberOfStages
{
get { return this._totalNumberOfStages.GetValueOrDefault(); }
set { this._totalNumberOfStages = value; }
}
// Check to see if TotalNumberOfStages property is set
internal bool IsSetTotalNumberOfStages()
{
return this._totalNumberOfStages.HasValue;
}
}
}