/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace RDS { namespace Model { class CreateDBProxyResult { public: AWS_RDS_API CreateDBProxyResult(); AWS_RDS_API CreateDBProxyResult(const Aws::AmazonWebServiceResult& result); AWS_RDS_API CreateDBProxyResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The DBProxy structure corresponding to the new proxy.

*/ inline const DBProxy& GetDBProxy() const{ return m_dBProxy; } /** *

The DBProxy structure corresponding to the new proxy.

*/ inline void SetDBProxy(const DBProxy& value) { m_dBProxy = value; } /** *

The DBProxy structure corresponding to the new proxy.

*/ inline void SetDBProxy(DBProxy&& value) { m_dBProxy = std::move(value); } /** *

The DBProxy structure corresponding to the new proxy.

*/ inline CreateDBProxyResult& WithDBProxy(const DBProxy& value) { SetDBProxy(value); return *this;} /** *

The DBProxy structure corresponding to the new proxy.

*/ inline CreateDBProxyResult& WithDBProxy(DBProxy&& value) { SetDBProxy(std::move(value)); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline CreateDBProxyResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline CreateDBProxyResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: DBProxy m_dBProxy; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace RDS } // namespace Aws