1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/rds/RDS_EXPORTS.h> 8 #include <aws/rds/model/DBProxyEndpoint.h> 9 #include <aws/rds/model/ResponseMetadata.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 { 28 class AWS_RDS_API CreateDBProxyEndpointResult 29 { 30 public: 31 CreateDBProxyEndpointResult(); 32 CreateDBProxyEndpointResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); 33 CreateDBProxyEndpointResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); 34 35 36 /** 37 * <p>The <code>DBProxyEndpoint</code> object that is created by the API operation. 38 * The DB proxy endpoint that you create might provide capabilities such as 39 * read/write or read-only operations, or using a different VPC than the proxy's 40 * default VPC.</p> 41 */ GetDBProxyEndpoint()42 inline const DBProxyEndpoint& GetDBProxyEndpoint() const{ return m_dBProxyEndpoint; } 43 44 /** 45 * <p>The <code>DBProxyEndpoint</code> object that is created by the API operation. 46 * The DB proxy endpoint that you create might provide capabilities such as 47 * read/write or read-only operations, or using a different VPC than the proxy's 48 * default VPC.</p> 49 */ SetDBProxyEndpoint(const DBProxyEndpoint & value)50 inline void SetDBProxyEndpoint(const DBProxyEndpoint& value) { m_dBProxyEndpoint = value; } 51 52 /** 53 * <p>The <code>DBProxyEndpoint</code> object that is created by the API operation. 54 * The DB proxy endpoint that you create might provide capabilities such as 55 * read/write or read-only operations, or using a different VPC than the proxy's 56 * default VPC.</p> 57 */ SetDBProxyEndpoint(DBProxyEndpoint && value)58 inline void SetDBProxyEndpoint(DBProxyEndpoint&& value) { m_dBProxyEndpoint = std::move(value); } 59 60 /** 61 * <p>The <code>DBProxyEndpoint</code> object that is created by the API operation. 62 * The DB proxy endpoint that you create might provide capabilities such as 63 * read/write or read-only operations, or using a different VPC than the proxy's 64 * default VPC.</p> 65 */ WithDBProxyEndpoint(const DBProxyEndpoint & value)66 inline CreateDBProxyEndpointResult& WithDBProxyEndpoint(const DBProxyEndpoint& value) { SetDBProxyEndpoint(value); return *this;} 67 68 /** 69 * <p>The <code>DBProxyEndpoint</code> object that is created by the API operation. 70 * The DB proxy endpoint that you create might provide capabilities such as 71 * read/write or read-only operations, or using a different VPC than the proxy's 72 * default VPC.</p> 73 */ WithDBProxyEndpoint(DBProxyEndpoint && value)74 inline CreateDBProxyEndpointResult& WithDBProxyEndpoint(DBProxyEndpoint&& value) { SetDBProxyEndpoint(std::move(value)); return *this;} 75 76 77 GetResponseMetadata()78 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } 79 80 SetResponseMetadata(const ResponseMetadata & value)81 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } 82 83 SetResponseMetadata(ResponseMetadata && value)84 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } 85 86 WithResponseMetadata(const ResponseMetadata & value)87 inline CreateDBProxyEndpointResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} 88 89 WithResponseMetadata(ResponseMetadata && value)90 inline CreateDBProxyEndpointResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} 91 92 private: 93 94 DBProxyEndpoint m_dBProxyEndpoint; 95 96 ResponseMetadata m_responseMetadata; 97 }; 98 99 } // namespace Model 100 } // namespace RDS 101 } // namespace Aws 102