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