AWS SDK for C++  1.9.160
AWS SDK for C++
DescribeAccountLimitsResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlDocument;
21 } // namespace Xml
22 } // namespace Utils
23 namespace AutoScaling
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline int GetMaxNumberOfAutoScalingGroups() const{ return m_maxNumberOfAutoScalingGroups; }
40 
45  inline void SetMaxNumberOfAutoScalingGroups(int value) { m_maxNumberOfAutoScalingGroups = value; }
46 
51  inline DescribeAccountLimitsResult& WithMaxNumberOfAutoScalingGroups(int value) { SetMaxNumberOfAutoScalingGroups(value); return *this;}
52 
53 
58  inline int GetMaxNumberOfLaunchConfigurations() const{ return m_maxNumberOfLaunchConfigurations; }
59 
64  inline void SetMaxNumberOfLaunchConfigurations(int value) { m_maxNumberOfLaunchConfigurations = value; }
65 
70  inline DescribeAccountLimitsResult& WithMaxNumberOfLaunchConfigurations(int value) { SetMaxNumberOfLaunchConfigurations(value); return *this;}
71 
72 
76  inline int GetNumberOfAutoScalingGroups() const{ return m_numberOfAutoScalingGroups; }
77 
81  inline void SetNumberOfAutoScalingGroups(int value) { m_numberOfAutoScalingGroups = value; }
82 
86  inline DescribeAccountLimitsResult& WithNumberOfAutoScalingGroups(int value) { SetNumberOfAutoScalingGroups(value); return *this;}
87 
88 
92  inline int GetNumberOfLaunchConfigurations() const{ return m_numberOfLaunchConfigurations; }
93 
97  inline void SetNumberOfLaunchConfigurations(int value) { m_numberOfLaunchConfigurations = value; }
98 
102  inline DescribeAccountLimitsResult& WithNumberOfLaunchConfigurations(int value) { SetNumberOfLaunchConfigurations(value); return *this;}
103 
104 
105 
106  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
107 
108 
109  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
110 
111 
112  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
113 
114 
115  inline DescribeAccountLimitsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
116 
117 
118  inline DescribeAccountLimitsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
119 
120  private:
121 
122  int m_maxNumberOfAutoScalingGroups;
123 
124  int m_maxNumberOfLaunchConfigurations;
125 
126  int m_numberOfAutoScalingGroups;
127 
128  int m_numberOfLaunchConfigurations;
129 
130  ResponseMetadata m_responseMetadata;
131  };
132 
133 } // namespace Model
134 } // namespace AutoScaling
135 } // namespace Aws
Aws::AutoScaling::Model::DescribeAccountLimitsResult::GetNumberOfAutoScalingGroups
int GetNumberOfAutoScalingGroups() const
Definition: DescribeAccountLimitsResult.h:76
Aws::AutoScaling::Model::DescribeAccountLimitsResult::GetMaxNumberOfAutoScalingGroups
int GetMaxNumberOfAutoScalingGroups() const
Definition: DescribeAccountLimitsResult.h:39
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AutoScaling::Model::DescribeAccountLimitsResult::WithNumberOfAutoScalingGroups
DescribeAccountLimitsResult & WithNumberOfAutoScalingGroups(int value)
Definition: DescribeAccountLimitsResult.h:86
Aws::AutoScaling::Model::DescribeAccountLimitsResult::WithResponseMetadata
DescribeAccountLimitsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeAccountLimitsResult.h:115
Aws::AutoScaling::Model::DescribeAccountLimitsResult::GetMaxNumberOfLaunchConfigurations
int GetMaxNumberOfLaunchConfigurations() const
Definition: DescribeAccountLimitsResult.h:58
Aws::AutoScaling::Model::DescribeAccountLimitsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeAccountLimitsResult.h:109
Aws::AutoScaling::Model::DescribeAccountLimitsResult
Definition: DescribeAccountLimitsResult.h:28
Aws::AutoScaling::Model::DescribeAccountLimitsResult::DescribeAccountLimitsResult
DescribeAccountLimitsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AutoScaling::Model::DescribeAccountLimitsResult::WithMaxNumberOfAutoScalingGroups
DescribeAccountLimitsResult & WithMaxNumberOfAutoScalingGroups(int value)
Definition: DescribeAccountLimitsResult.h:51
Aws::AutoScaling::Model::DescribeAccountLimitsResult::SetNumberOfLaunchConfigurations
void SetNumberOfLaunchConfigurations(int value)
Definition: DescribeAccountLimitsResult.h:97
Aws::AutoScaling::Model::DescribeAccountLimitsResult::operator=
DescribeAccountLimitsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AutoScaling::Model::DescribeAccountLimitsResult::SetMaxNumberOfAutoScalingGroups
void SetMaxNumberOfAutoScalingGroups(int value)
Definition: DescribeAccountLimitsResult.h:45
Aws::AutoScaling::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWS_AUTOSCALING_API
#define AWS_AUTOSCALING_API
Definition: AutoScaling_EXPORTS.h:28
Aws::AutoScaling::Model::DescribeAccountLimitsResult::GetNumberOfLaunchConfigurations
int GetNumberOfLaunchConfigurations() const
Definition: DescribeAccountLimitsResult.h:92
Aws::AutoScaling::Model::DescribeAccountLimitsResult::WithNumberOfLaunchConfigurations
DescribeAccountLimitsResult & WithNumberOfLaunchConfigurations(int value)
Definition: DescribeAccountLimitsResult.h:102
Aws::AutoScaling::Model::DescribeAccountLimitsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeAccountLimitsResult.h:112
AutoScaling_EXPORTS.h
Aws::AutoScaling::Model::DescribeAccountLimitsResult::DescribeAccountLimitsResult
DescribeAccountLimitsResult()
Aws
Definition: AccessManagementClient.h:15
Aws::AutoScaling::Model::DescribeAccountLimitsResult::SetMaxNumberOfLaunchConfigurations
void SetMaxNumberOfLaunchConfigurations(int value)
Definition: DescribeAccountLimitsResult.h:64
Aws::AutoScaling::Model::DescribeAccountLimitsResult::WithResponseMetadata
DescribeAccountLimitsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeAccountLimitsResult.h:118
ResponseMetadata.h
Aws::AutoScaling::Model::DescribeAccountLimitsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeAccountLimitsResult.h:106
Aws::AutoScaling::Model::DescribeAccountLimitsResult::WithMaxNumberOfLaunchConfigurations
DescribeAccountLimitsResult & WithMaxNumberOfLaunchConfigurations(int value)
Definition: DescribeAccountLimitsResult.h:70
Aws::AutoScaling::Model::DescribeAccountLimitsResult::SetNumberOfAutoScalingGroups
void SetNumberOfAutoScalingGroups(int value)
Definition: DescribeAccountLimitsResult.h:81