/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace AutoScaling { namespace Model { class AWS_AUTOSCALING_API DescribeAccountLimitsResult { public: DescribeAccountLimitsResult(); DescribeAccountLimitsResult(const Aws::AmazonWebServiceResult& result); DescribeAccountLimitsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The maximum number of groups allowed for your AWS account. The default is 200 * groups per AWS Region.

*/ inline int GetMaxNumberOfAutoScalingGroups() const{ return m_maxNumberOfAutoScalingGroups; } /** *

The maximum number of groups allowed for your AWS account. The default is 200 * groups per AWS Region.

*/ inline void SetMaxNumberOfAutoScalingGroups(int value) { m_maxNumberOfAutoScalingGroups = value; } /** *

The maximum number of groups allowed for your AWS account. The default is 200 * groups per AWS Region.

*/ inline DescribeAccountLimitsResult& WithMaxNumberOfAutoScalingGroups(int value) { SetMaxNumberOfAutoScalingGroups(value); return *this;} /** *

The maximum number of launch configurations allowed for your AWS account. The * default is 200 launch configurations per AWS Region.

*/ inline int GetMaxNumberOfLaunchConfigurations() const{ return m_maxNumberOfLaunchConfigurations; } /** *

The maximum number of launch configurations allowed for your AWS account. The * default is 200 launch configurations per AWS Region.

*/ inline void SetMaxNumberOfLaunchConfigurations(int value) { m_maxNumberOfLaunchConfigurations = value; } /** *

The maximum number of launch configurations allowed for your AWS account. The * default is 200 launch configurations per AWS Region.

*/ inline DescribeAccountLimitsResult& WithMaxNumberOfLaunchConfigurations(int value) { SetMaxNumberOfLaunchConfigurations(value); return *this;} /** *

The current number of groups for your AWS account.

*/ inline int GetNumberOfAutoScalingGroups() const{ return m_numberOfAutoScalingGroups; } /** *

The current number of groups for your AWS account.

*/ inline void SetNumberOfAutoScalingGroups(int value) { m_numberOfAutoScalingGroups = value; } /** *

The current number of groups for your AWS account.

*/ inline DescribeAccountLimitsResult& WithNumberOfAutoScalingGroups(int value) { SetNumberOfAutoScalingGroups(value); return *this;} /** *

The current number of launch configurations for your AWS account.

*/ inline int GetNumberOfLaunchConfigurations() const{ return m_numberOfLaunchConfigurations; } /** *

The current number of launch configurations for your AWS account.

*/ inline void SetNumberOfLaunchConfigurations(int value) { m_numberOfLaunchConfigurations = value; } /** *

The current number of launch configurations for your AWS account.

*/ inline DescribeAccountLimitsResult& WithNumberOfLaunchConfigurations(int value) { SetNumberOfLaunchConfigurations(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DescribeAccountLimitsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeAccountLimitsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: int m_maxNumberOfAutoScalingGroups; int m_maxNumberOfLaunchConfigurations; int m_numberOfAutoScalingGroups; int m_numberOfLaunchConfigurations; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace AutoScaling } // namespace Aws