AWS SDK for C++  1.9.104
AWS SDK for C++
CreateDBProxyResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace RDS
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const DBProxy& GetDBProxy() const{ return m_dBProxy; }
40 
44  inline void SetDBProxy(const DBProxy& value) { m_dBProxy = value; }
45 
49  inline void SetDBProxy(DBProxy&& value) { m_dBProxy = std::move(value); }
50 
54  inline CreateDBProxyResult& WithDBProxy(const DBProxy& value) { SetDBProxy(value); return *this;}
55 
59  inline CreateDBProxyResult& WithDBProxy(DBProxy&& value) { SetDBProxy(std::move(value)); return *this;}
60 
61 
62 
63  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
64 
65 
66  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
67 
68 
69  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
70 
71 
72  inline CreateDBProxyResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
73 
74 
75  inline CreateDBProxyResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
76 
77  private:
78 
79  DBProxy m_dBProxy;
80 
81  ResponseMetadata m_responseMetadata;
82  };
83 
84 } // namespace Model
85 } // namespace RDS
86 } // namespace Aws
Aws::RDS::Model::CreateDBProxyResult::WithDBProxy
CreateDBProxyResult & WithDBProxy(DBProxy &&value)
Definition: CreateDBProxyResult.h:59
Aws::RDS::Model::CreateDBProxyResult::WithDBProxy
CreateDBProxyResult & WithDBProxy(const DBProxy &value)
Definition: CreateDBProxyResult.h:54
Aws::RDS::Model::CreateDBProxyResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CreateDBProxyResult.h:63
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RDS::Model::CreateDBProxyResult::SetDBProxy
void SetDBProxy(DBProxy &&value)
Definition: CreateDBProxyResult.h:49
DBProxy.h
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::CreateDBProxyResult::WithResponseMetadata
CreateDBProxyResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: CreateDBProxyResult.h:75
Aws::RDS::Model::CreateDBProxyResult
Definition: CreateDBProxyResult.h:29
Aws::RDS::Model::CreateDBProxyResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CreateDBProxyResult.h:69
Aws::RDS::Model::CreateDBProxyResult::CreateDBProxyResult
CreateDBProxyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
RDS_EXPORTS.h
Aws::RDS::Model::CreateDBProxyResult::WithResponseMetadata
CreateDBProxyResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: CreateDBProxyResult.h:72
Aws::RDS::Model::CreateDBProxyResult::operator=
CreateDBProxyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::CreateDBProxyResult::SetDBProxy
void SetDBProxy(const DBProxy &value)
Definition: CreateDBProxyResult.h:44
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DBProxy
Definition: DBProxy.h:38
Aws
Definition: AccessManagementClient.h:15
ResponseMetadata.h
Aws::RDS::Model::CreateDBProxyResult::GetDBProxy
const DBProxy & GetDBProxy() const
Definition: CreateDBProxyResult.h:39
Aws::RDS::Model::CreateDBProxyResult::CreateDBProxyResult
CreateDBProxyResult()
Aws::RDS::Model::CreateDBProxyResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CreateDBProxyResult.h:66