/* * 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 discovery-2015-11-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.ApplicationDiscoveryService.Model { /// /// Inventory data for installed discovery agents. /// public partial class CustomerAgentInfo { private int? _activeAgents; private int? _blackListedAgents; private int? _healthyAgents; private int? _shutdownAgents; private int? _totalAgents; private int? _unhealthyAgents; private int? _unknownAgents; /// /// Gets and sets the property ActiveAgents. /// /// Number of active discovery agents. /// /// [AWSProperty(Required=true)] public int ActiveAgents { get { return this._activeAgents.GetValueOrDefault(); } set { this._activeAgents = value; } } // Check to see if ActiveAgents property is set internal bool IsSetActiveAgents() { return this._activeAgents.HasValue; } /// /// Gets and sets the property BlackListedAgents. /// /// Number of blacklisted discovery agents. /// /// [AWSProperty(Required=true)] public int BlackListedAgents { get { return this._blackListedAgents.GetValueOrDefault(); } set { this._blackListedAgents = value; } } // Check to see if BlackListedAgents property is set internal bool IsSetBlackListedAgents() { return this._blackListedAgents.HasValue; } /// /// Gets and sets the property HealthyAgents. /// /// Number of healthy discovery agents /// /// [AWSProperty(Required=true)] public int HealthyAgents { get { return this._healthyAgents.GetValueOrDefault(); } set { this._healthyAgents = value; } } // Check to see if HealthyAgents property is set internal bool IsSetHealthyAgents() { return this._healthyAgents.HasValue; } /// /// Gets and sets the property ShutdownAgents. /// /// Number of discovery agents with status SHUTDOWN. /// /// [AWSProperty(Required=true)] public int ShutdownAgents { get { return this._shutdownAgents.GetValueOrDefault(); } set { this._shutdownAgents = value; } } // Check to see if ShutdownAgents property is set internal bool IsSetShutdownAgents() { return this._shutdownAgents.HasValue; } /// /// Gets and sets the property TotalAgents. /// /// Total number of discovery agents. /// /// [AWSProperty(Required=true)] public int TotalAgents { get { return this._totalAgents.GetValueOrDefault(); } set { this._totalAgents = value; } } // Check to see if TotalAgents property is set internal bool IsSetTotalAgents() { return this._totalAgents.HasValue; } /// /// Gets and sets the property UnhealthyAgents. /// /// Number of unhealthy discovery agents. /// /// [AWSProperty(Required=true)] public int UnhealthyAgents { get { return this._unhealthyAgents.GetValueOrDefault(); } set { this._unhealthyAgents = value; } } // Check to see if UnhealthyAgents property is set internal bool IsSetUnhealthyAgents() { return this._unhealthyAgents.HasValue; } /// /// Gets and sets the property UnknownAgents. /// /// Number of unknown discovery agents. /// /// [AWSProperty(Required=true)] public int UnknownAgents { get { return this._unknownAgents.GetValueOrDefault(); } set { this._unknownAgents = value; } } // Check to see if UnknownAgents property is set internal bool IsSetUnknownAgents() { return this._unknownAgents.HasValue; } } }