AWS SDK for C++  1.9.104
AWS SDK for C++
ModifyDBProxyResult.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 
40  inline const DBProxy& GetDBProxy() const{ return m_dBProxy; }
41 
46  inline void SetDBProxy(const DBProxy& value) { m_dBProxy = value; }
47 
52  inline void SetDBProxy(DBProxy&& value) { m_dBProxy = std::move(value); }
53 
58  inline ModifyDBProxyResult& WithDBProxy(const DBProxy& value) { SetDBProxy(value); return *this;}
59 
64  inline ModifyDBProxyResult& WithDBProxy(DBProxy&& value) { SetDBProxy(std::move(value)); return *this;}
65 
66 
67 
68  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
69 
70 
71  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
72 
73 
74  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
75 
76 
77  inline ModifyDBProxyResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
78 
79 
80  inline ModifyDBProxyResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
81 
82  private:
83 
84  DBProxy m_dBProxy;
85 
86  ResponseMetadata m_responseMetadata;
87  };
88 
89 } // namespace Model
90 } // namespace RDS
91 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RDS::Model::ModifyDBProxyResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ModifyDBProxyResult.h:74
DBProxy.h
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::ModifyDBProxyResult::SetDBProxy
void SetDBProxy(DBProxy &&value)
Definition: ModifyDBProxyResult.h:52
Aws::RDS::Model::ModifyDBProxyResult::GetDBProxy
const DBProxy & GetDBProxy() const
Definition: ModifyDBProxyResult.h:40
Aws::RDS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::RDS::Model::ModifyDBProxyResult::SetDBProxy
void SetDBProxy(const DBProxy &value)
Definition: ModifyDBProxyResult.h:46
Aws::RDS::Model::ModifyDBProxyResult
Definition: ModifyDBProxyResult.h:29
Aws::RDS::Model::ModifyDBProxyResult::operator=
ModifyDBProxyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::ModifyDBProxyResult::WithResponseMetadata
ModifyDBProxyResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: ModifyDBProxyResult.h:80
RDS_EXPORTS.h
Aws::RDS::Model::ModifyDBProxyResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ModifyDBProxyResult.h:68
Aws::RDS::Model::ModifyDBProxyResult::WithResponseMetadata
ModifyDBProxyResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: ModifyDBProxyResult.h:77
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DBProxy
Definition: DBProxy.h:38
Aws::RDS::Model::ModifyDBProxyResult::ModifyDBProxyResult
ModifyDBProxyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws
Definition: AccessManagementClient.h:15
ResponseMetadata.h
Aws::RDS::Model::ModifyDBProxyResult::WithDBProxy
ModifyDBProxyResult & WithDBProxy(const DBProxy &value)
Definition: ModifyDBProxyResult.h:58
Aws::RDS::Model::ModifyDBProxyResult::ModifyDBProxyResult
ModifyDBProxyResult()
Aws::RDS::Model::ModifyDBProxyResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ModifyDBProxyResult.h:71
Aws::RDS::Model::ModifyDBProxyResult::WithDBProxy
ModifyDBProxyResult & WithDBProxy(DBProxy &&value)
Definition: ModifyDBProxyResult.h:64