AWS SDK for C++  1.9.108
AWS SDK for C++
RegisterDBProxyTargetsResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace RDS
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<DBProxyTarget>& GetDBProxyTargets() const{ return m_dBProxyTargets; }
42 
47  inline void SetDBProxyTargets(const Aws::Vector<DBProxyTarget>& value) { m_dBProxyTargets = value; }
48 
53  inline void SetDBProxyTargets(Aws::Vector<DBProxyTarget>&& value) { m_dBProxyTargets = std::move(value); }
54 
59  inline RegisterDBProxyTargetsResult& WithDBProxyTargets(const Aws::Vector<DBProxyTarget>& value) { SetDBProxyTargets(value); return *this;}
60 
65  inline RegisterDBProxyTargetsResult& WithDBProxyTargets(Aws::Vector<DBProxyTarget>&& value) { SetDBProxyTargets(std::move(value)); return *this;}
66 
71  inline RegisterDBProxyTargetsResult& AddDBProxyTargets(const DBProxyTarget& value) { m_dBProxyTargets.push_back(value); return *this; }
72 
77  inline RegisterDBProxyTargetsResult& AddDBProxyTargets(DBProxyTarget&& value) { m_dBProxyTargets.push_back(std::move(value)); return *this; }
78 
79 
80 
81  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
82 
83 
84  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
85 
86 
87  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
88 
89 
90  inline RegisterDBProxyTargetsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
91 
92 
93  inline RegisterDBProxyTargetsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
94 
95  private:
96 
97  Aws::Vector<DBProxyTarget> m_dBProxyTargets;
98 
99  ResponseMetadata m_responseMetadata;
100  };
101 
102 } // namespace Model
103 } // namespace RDS
104 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RDS::Model::RegisterDBProxyTargetsResult::operator=
RegisterDBProxyTargetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::DBProxyTarget
Definition: DBProxyTarget.h:39
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::RegisterDBProxyTargetsResult::GetDBProxyTargets
const Aws::Vector< DBProxyTarget > & GetDBProxyTargets() const
Definition: RegisterDBProxyTargetsResult.h:41
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::RegisterDBProxyTargetsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: RegisterDBProxyTargetsResult.h:84
Aws::RDS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSVector.h
Aws::RDS::Model::RegisterDBProxyTargetsResult
Definition: RegisterDBProxyTargetsResult.h:30
RDS_EXPORTS.h
Aws::RDS::Model::RegisterDBProxyTargetsResult::WithResponseMetadata
RegisterDBProxyTargetsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: RegisterDBProxyTargetsResult.h:90
Aws::RDS::Model::RegisterDBProxyTargetsResult::WithDBProxyTargets
RegisterDBProxyTargetsResult & WithDBProxyTargets(Aws::Vector< DBProxyTarget > &&value)
Definition: RegisterDBProxyTargetsResult.h:65
Aws::RDS::Model::RegisterDBProxyTargetsResult::WithDBProxyTargets
RegisterDBProxyTargetsResult & WithDBProxyTargets(const Aws::Vector< DBProxyTarget > &value)
Definition: RegisterDBProxyTargetsResult.h:59
Aws::RDS::Model::RegisterDBProxyTargetsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: RegisterDBProxyTargetsResult.h:81
Aws::RDS::Model::RegisterDBProxyTargetsResult::RegisterDBProxyTargetsResult
RegisterDBProxyTargetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::RegisterDBProxyTargetsResult::SetDBProxyTargets
void SetDBProxyTargets(const Aws::Vector< DBProxyTarget > &value)
Definition: RegisterDBProxyTargetsResult.h:47
ResponseMetadata.h
DBProxyTarget.h
Aws::RDS::Model::RegisterDBProxyTargetsResult::SetDBProxyTargets
void SetDBProxyTargets(Aws::Vector< DBProxyTarget > &&value)
Definition: RegisterDBProxyTargetsResult.h:53
Aws::RDS::Model::RegisterDBProxyTargetsResult::WithResponseMetadata
RegisterDBProxyTargetsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: RegisterDBProxyTargetsResult.h:93
Aws::RDS::Model::RegisterDBProxyTargetsResult::AddDBProxyTargets
RegisterDBProxyTargetsResult & AddDBProxyTargets(DBProxyTarget &&value)
Definition: RegisterDBProxyTargetsResult.h:77
Aws::RDS::Model::RegisterDBProxyTargetsResult::AddDBProxyTargets
RegisterDBProxyTargetsResult & AddDBProxyTargets(const DBProxyTarget &value)
Definition: RegisterDBProxyTargetsResult.h:71
Aws::RDS::Model::RegisterDBProxyTargetsResult::RegisterDBProxyTargetsResult
RegisterDBProxyTargetsResult()
Aws::RDS::Model::RegisterDBProxyTargetsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: RegisterDBProxyTargetsResult.h:87