/* * 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 autoscaling-2011-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.AutoScaling.Model { /// /// This is the response object from the DescribeAccountLimits operation. /// public partial class DescribeAccountLimitsResponse : AmazonWebServiceResponse { private int? _maxNumberOfAutoScalingGroups; private int? _maxNumberOfLaunchConfigurations; private int? _numberOfAutoScalingGroups; private int? _numberOfLaunchConfigurations; /// /// Gets and sets the property MaxNumberOfAutoScalingGroups. /// /// The maximum number of groups allowed for your account. The default is 200 groups per /// Region. /// /// public int MaxNumberOfAutoScalingGroups { get { return this._maxNumberOfAutoScalingGroups.GetValueOrDefault(); } set { this._maxNumberOfAutoScalingGroups = value; } } // Check to see if MaxNumberOfAutoScalingGroups property is set internal bool IsSetMaxNumberOfAutoScalingGroups() { return this._maxNumberOfAutoScalingGroups.HasValue; } /// /// Gets and sets the property MaxNumberOfLaunchConfigurations. /// /// The maximum number of launch configurations allowed for your account. The default /// is 200 launch configurations per Region. /// /// public int MaxNumberOfLaunchConfigurations { get { return this._maxNumberOfLaunchConfigurations.GetValueOrDefault(); } set { this._maxNumberOfLaunchConfigurations = value; } } // Check to see if MaxNumberOfLaunchConfigurations property is set internal bool IsSetMaxNumberOfLaunchConfigurations() { return this._maxNumberOfLaunchConfigurations.HasValue; } /// /// Gets and sets the property NumberOfAutoScalingGroups. /// /// The current number of groups for your account. /// /// public int NumberOfAutoScalingGroups { get { return this._numberOfAutoScalingGroups.GetValueOrDefault(); } set { this._numberOfAutoScalingGroups = value; } } // Check to see if NumberOfAutoScalingGroups property is set internal bool IsSetNumberOfAutoScalingGroups() { return this._numberOfAutoScalingGroups.HasValue; } /// /// Gets and sets the property NumberOfLaunchConfigurations. /// /// The current number of launch configurations for your account. /// /// public int NumberOfLaunchConfigurations { get { return this._numberOfLaunchConfigurations.GetValueOrDefault(); } set { this._numberOfLaunchConfigurations = value; } } // Check to see if NumberOfLaunchConfigurations property is set internal bool IsSetNumberOfLaunchConfigurations() { return this._numberOfLaunchConfigurations.HasValue; } } }