/* * 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 codedeploy-2014-10-06.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.CodeDeploy.Model { /// /// Information about the deployment status of the instances in the deployment. /// public partial class DeploymentOverview { private long? _failed; private long? _inProgress; private long? _pending; private long? _ready; private long? _skipped; private long? _succeeded; /// /// Gets and sets the property Failed. /// /// The number of instances in the deployment in a failed state. /// /// public long Failed { get { return this._failed.GetValueOrDefault(); } set { this._failed = value; } } // Check to see if Failed property is set internal bool IsSetFailed() { return this._failed.HasValue; } /// /// Gets and sets the property InProgress. /// /// The number of instances in which the deployment is in progress. /// /// public long InProgress { get { return this._inProgress.GetValueOrDefault(); } set { this._inProgress = value; } } // Check to see if InProgress property is set internal bool IsSetInProgress() { return this._inProgress.HasValue; } /// /// Gets and sets the property Pending. /// /// The number of instances in the deployment in a pending state. /// /// public long Pending { get { return this._pending.GetValueOrDefault(); } set { this._pending = value; } } // Check to see if Pending property is set internal bool IsSetPending() { return this._pending.HasValue; } /// /// Gets and sets the property Ready. /// /// The number of instances in a replacement environment ready to receive traffic in a /// blue/green deployment. /// /// public long Ready { get { return this._ready.GetValueOrDefault(); } set { this._ready = value; } } // Check to see if Ready property is set internal bool IsSetReady() { return this._ready.HasValue; } /// /// Gets and sets the property Skipped. /// /// The number of instances in the deployment in a skipped state. /// /// public long Skipped { get { return this._skipped.GetValueOrDefault(); } set { this._skipped = value; } } // Check to see if Skipped property is set internal bool IsSetSkipped() { return this._skipped.HasValue; } /// /// Gets and sets the property Succeeded. /// /// The number of instances in the deployment to which revisions have been successfully /// deployed. /// /// public long Succeeded { get { return this._succeeded.GetValueOrDefault(); } set { this._succeeded = value; } } // Check to see if Succeeded property is set internal bool IsSetSucceeded() { return this._succeeded.HasValue; } } }