AWS SDK for C++  1.9.106
AWS SDK for C++
DescribeLoadBasedAutoScalingResult.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<LoadBasedAutoScalingConfiguration>& GetLoadBasedAutoScalingConfigurations() const{ return m_loadBasedAutoScalingConfigurations; }
47 
52  inline void SetLoadBasedAutoScalingConfigurations(const Aws::Vector<LoadBasedAutoScalingConfiguration>& value) { m_loadBasedAutoScalingConfigurations = value; }
53 
58  inline void SetLoadBasedAutoScalingConfigurations(Aws::Vector<LoadBasedAutoScalingConfiguration>&& value) { m_loadBasedAutoScalingConfigurations = std::move(value); }
59 
64  inline DescribeLoadBasedAutoScalingResult& WithLoadBasedAutoScalingConfigurations(const Aws::Vector<LoadBasedAutoScalingConfiguration>& value) { SetLoadBasedAutoScalingConfigurations(value); return *this;}
65 
70  inline DescribeLoadBasedAutoScalingResult& WithLoadBasedAutoScalingConfigurations(Aws::Vector<LoadBasedAutoScalingConfiguration>&& value) { SetLoadBasedAutoScalingConfigurations(std::move(value)); return *this;}
71 
76  inline DescribeLoadBasedAutoScalingResult& AddLoadBasedAutoScalingConfigurations(const LoadBasedAutoScalingConfiguration& value) { m_loadBasedAutoScalingConfigurations.push_back(value); return *this; }
77 
82  inline DescribeLoadBasedAutoScalingResult& AddLoadBasedAutoScalingConfigurations(LoadBasedAutoScalingConfiguration&& value) { m_loadBasedAutoScalingConfigurations.push_back(std::move(value)); return *this; }
83 
84  private:
85 
86  Aws::Vector<LoadBasedAutoScalingConfiguration> m_loadBasedAutoScalingConfigurations;
87  };
88 
89 } // namespace Model
90 } // namespace OpsWorks
91 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingResult::DescribeLoadBasedAutoScalingResult
DescribeLoadBasedAutoScalingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingResult::GetLoadBasedAutoScalingConfigurations
const Aws::Vector< LoadBasedAutoScalingConfiguration > & GetLoadBasedAutoScalingConfigurations() const
Definition: DescribeLoadBasedAutoScalingResult.h:46
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::LoadBasedAutoScalingConfiguration
Definition: LoadBasedAutoScalingConfiguration.h:34
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingResult::operator=
DescribeLoadBasedAutoScalingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingResult::AddLoadBasedAutoScalingConfigurations
DescribeLoadBasedAutoScalingResult & AddLoadBasedAutoScalingConfigurations(LoadBasedAutoScalingConfiguration &&value)
Definition: DescribeLoadBasedAutoScalingResult.h:82
AWSVector.h
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingResult::SetLoadBasedAutoScalingConfigurations
void SetLoadBasedAutoScalingConfigurations(Aws::Vector< LoadBasedAutoScalingConfiguration > &&value)
Definition: DescribeLoadBasedAutoScalingResult.h:58
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingResult
Definition: DescribeLoadBasedAutoScalingResult.h:35
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingResult::DescribeLoadBasedAutoScalingResult
DescribeLoadBasedAutoScalingResult()
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingResult::AddLoadBasedAutoScalingConfigurations
DescribeLoadBasedAutoScalingResult & AddLoadBasedAutoScalingConfigurations(const LoadBasedAutoScalingConfiguration &value)
Definition: DescribeLoadBasedAutoScalingResult.h:76
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingResult::SetLoadBasedAutoScalingConfigurations
void SetLoadBasedAutoScalingConfigurations(const Aws::Vector< LoadBasedAutoScalingConfiguration > &value)
Definition: DescribeLoadBasedAutoScalingResult.h:52
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingResult::WithLoadBasedAutoScalingConfigurations
DescribeLoadBasedAutoScalingResult & WithLoadBasedAutoScalingConfigurations(Aws::Vector< LoadBasedAutoScalingConfiguration > &&value)
Definition: DescribeLoadBasedAutoScalingResult.h:70
LoadBasedAutoScalingConfiguration.h
Aws::OpsWorks::Model::DescribeLoadBasedAutoScalingResult::WithLoadBasedAutoScalingConfigurations
DescribeLoadBasedAutoScalingResult & WithLoadBasedAutoScalingConfigurations(const Aws::Vector< LoadBasedAutoScalingConfiguration > &value)
Definition: DescribeLoadBasedAutoScalingResult.h:64