AWS SDK for C++  1.9.159
AWS SDK for C++
DescribeEC2InstanceLimitsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace GameLift
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
45  inline const Aws::Vector<EC2InstanceLimit>& GetEC2InstanceLimits() const{ return m_eC2InstanceLimits; }
46 
50  inline void SetEC2InstanceLimits(const Aws::Vector<EC2InstanceLimit>& value) { m_eC2InstanceLimits = value; }
51 
55  inline void SetEC2InstanceLimits(Aws::Vector<EC2InstanceLimit>&& value) { m_eC2InstanceLimits = std::move(value); }
56 
60  inline DescribeEC2InstanceLimitsResult& WithEC2InstanceLimits(const Aws::Vector<EC2InstanceLimit>& value) { SetEC2InstanceLimits(value); return *this;}
61 
65  inline DescribeEC2InstanceLimitsResult& WithEC2InstanceLimits(Aws::Vector<EC2InstanceLimit>&& value) { SetEC2InstanceLimits(std::move(value)); return *this;}
66 
70  inline DescribeEC2InstanceLimitsResult& AddEC2InstanceLimits(const EC2InstanceLimit& value) { m_eC2InstanceLimits.push_back(value); return *this; }
71 
75  inline DescribeEC2InstanceLimitsResult& AddEC2InstanceLimits(EC2InstanceLimit&& value) { m_eC2InstanceLimits.push_back(std::move(value)); return *this; }
76 
77  private:
78 
79  Aws::Vector<EC2InstanceLimit> m_eC2InstanceLimits;
80  };
81 
82 } // namespace Model
83 } // namespace GameLift
84 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::DescribeEC2InstanceLimitsResult::DescribeEC2InstanceLimitsResult
DescribeEC2InstanceLimitsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::DescribeEC2InstanceLimitsResult::SetEC2InstanceLimits
void SetEC2InstanceLimits(const Aws::Vector< EC2InstanceLimit > &value)
Definition: DescribeEC2InstanceLimitsResult.h:50
Aws::GameLift::Model::DescribeEC2InstanceLimitsResult::WithEC2InstanceLimits
DescribeEC2InstanceLimitsResult & WithEC2InstanceLimits(Aws::Vector< EC2InstanceLimit > &&value)
Definition: DescribeEC2InstanceLimitsResult.h:65
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DescribeEC2InstanceLimitsResult::GetEC2InstanceLimits
const Aws::Vector< EC2InstanceLimit > & GetEC2InstanceLimits() const
Definition: DescribeEC2InstanceLimitsResult.h:45
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::GameLift::Model::EC2InstanceLimit
Definition: EC2InstanceLimit.h:38
GameLift_EXPORTS.h
Aws::GameLift::Model::DescribeEC2InstanceLimitsResult::WithEC2InstanceLimits
DescribeEC2InstanceLimitsResult & WithEC2InstanceLimits(const Aws::Vector< EC2InstanceLimit > &value)
Definition: DescribeEC2InstanceLimitsResult.h:60
EC2InstanceLimit.h
Aws::GameLift::Model::DescribeEC2InstanceLimitsResult::operator=
DescribeEC2InstanceLimitsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::DescribeEC2InstanceLimitsResult
Definition: DescribeEC2InstanceLimitsResult.h:35
Aws::GameLift::Model::DescribeEC2InstanceLimitsResult::SetEC2InstanceLimits
void SetEC2InstanceLimits(Aws::Vector< EC2InstanceLimit > &&value)
Definition: DescribeEC2InstanceLimitsResult.h:55
Aws::GameLift::Model::DescribeEC2InstanceLimitsResult::AddEC2InstanceLimits
DescribeEC2InstanceLimitsResult & AddEC2InstanceLimits(EC2InstanceLimit &&value)
Definition: DescribeEC2InstanceLimitsResult.h:75
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::DescribeEC2InstanceLimitsResult::DescribeEC2InstanceLimitsResult
DescribeEC2InstanceLimitsResult()
Aws::GameLift::Model::DescribeEC2InstanceLimitsResult::AddEC2InstanceLimits
DescribeEC2InstanceLimitsResult & AddEC2InstanceLimits(const EC2InstanceLimit &value)
Definition: DescribeEC2InstanceLimitsResult.h:70