AWS SDK for C++  1.9.106
AWS SDK for C++
DescribeElasticLoadBalancersResult.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 OpsWorks
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
46  inline const Aws::Vector<ElasticLoadBalancer>& GetElasticLoadBalancers() const{ return m_elasticLoadBalancers; }
47 
52  inline void SetElasticLoadBalancers(const Aws::Vector<ElasticLoadBalancer>& value) { m_elasticLoadBalancers = value; }
53 
58  inline void SetElasticLoadBalancers(Aws::Vector<ElasticLoadBalancer>&& value) { m_elasticLoadBalancers = std::move(value); }
59 
64  inline DescribeElasticLoadBalancersResult& WithElasticLoadBalancers(const Aws::Vector<ElasticLoadBalancer>& value) { SetElasticLoadBalancers(value); return *this;}
65 
70  inline DescribeElasticLoadBalancersResult& WithElasticLoadBalancers(Aws::Vector<ElasticLoadBalancer>&& value) { SetElasticLoadBalancers(std::move(value)); return *this;}
71 
76  inline DescribeElasticLoadBalancersResult& AddElasticLoadBalancers(const ElasticLoadBalancer& value) { m_elasticLoadBalancers.push_back(value); return *this; }
77 
82  inline DescribeElasticLoadBalancersResult& AddElasticLoadBalancers(ElasticLoadBalancer&& value) { m_elasticLoadBalancers.push_back(std::move(value)); return *this; }
83 
84  private:
85 
86  Aws::Vector<ElasticLoadBalancer> m_elasticLoadBalancers;
87  };
88 
89 } // namespace Model
90 } // namespace OpsWorks
91 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::OpsWorks::Model::DescribeElasticLoadBalancersResult::WithElasticLoadBalancers
DescribeElasticLoadBalancersResult & WithElasticLoadBalancers(Aws::Vector< ElasticLoadBalancer > &&value)
Definition: DescribeElasticLoadBalancersResult.h:70
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::DescribeElasticLoadBalancersResult::SetElasticLoadBalancers
void SetElasticLoadBalancers(Aws::Vector< ElasticLoadBalancer > &&value)
Definition: DescribeElasticLoadBalancersResult.h:58
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::DescribeElasticLoadBalancersResult::operator=
DescribeElasticLoadBalancersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::OpsWorks::Model::DescribeElasticLoadBalancersResult::DescribeElasticLoadBalancersResult
DescribeElasticLoadBalancersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::OpsWorks::Model::DescribeElasticLoadBalancersResult::DescribeElasticLoadBalancersResult
DescribeElasticLoadBalancersResult()
Aws::OpsWorks::Model::DescribeElasticLoadBalancersResult::AddElasticLoadBalancers
DescribeElasticLoadBalancersResult & AddElasticLoadBalancers(ElasticLoadBalancer &&value)
Definition: DescribeElasticLoadBalancersResult.h:82
Aws::OpsWorks::Model::DescribeElasticLoadBalancersResult::AddElasticLoadBalancers
DescribeElasticLoadBalancersResult & AddElasticLoadBalancers(const ElasticLoadBalancer &value)
Definition: DescribeElasticLoadBalancersResult.h:76
Aws::OpsWorks::Model::DescribeElasticLoadBalancersResult::SetElasticLoadBalancers
void SetElasticLoadBalancers(const Aws::Vector< ElasticLoadBalancer > &value)
Definition: DescribeElasticLoadBalancersResult.h:52
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::ElasticLoadBalancer
Definition: ElasticLoadBalancer.h:33
Aws::OpsWorks::Model::DescribeElasticLoadBalancersResult
Definition: DescribeElasticLoadBalancersResult.h:35
ElasticLoadBalancer.h
Aws::OpsWorks::Model::DescribeElasticLoadBalancersResult::GetElasticLoadBalancers
const Aws::Vector< ElasticLoadBalancer > & GetElasticLoadBalancers() const
Definition: DescribeElasticLoadBalancersResult.h:46
Aws::OpsWorks::Model::DescribeElasticLoadBalancersResult::WithElasticLoadBalancers
DescribeElasticLoadBalancersResult & WithElasticLoadBalancers(const Aws::Vector< ElasticLoadBalancer > &value)
Definition: DescribeElasticLoadBalancersResult.h:64