/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */

#pragma once
#include <aws/core/http/HttpResponse.h>
#include <aws/rds/RDS_EXPORTS.h>
#include <aws/rds/model/DBProxyEndpoint.h>
#include <aws/rds/model/ResponseMetadata.h>

#include <utility>

namespace Aws {
template <typename RESULT_TYPE>
class AmazonWebServiceResult;

namespace Utils {
namespace Xml {
class XmlDocument;
}  // namespace Xml
}  // namespace Utils
namespace RDS {
namespace Model {
class CreateDBProxyEndpointResult {
 public:
  AWS_RDS_API CreateDBProxyEndpointResult() = default;
  AWS_RDS_API CreateDBProxyEndpointResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
  AWS_RDS_API CreateDBProxyEndpointResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);

  ///@{
  /**
   * <p>The <code>DBProxyEndpoint</code> object that is created by the API operation.
   * The DB proxy endpoint that you create might provide capabilities such as
   * read/write or read-only operations, or using a different VPC than the proxy's
   * default VPC.</p>
   */
  inline const DBProxyEndpoint& GetDBProxyEndpoint() const { return m_dBProxyEndpoint; }
  template <typename DBProxyEndpointT = DBProxyEndpoint>
  void SetDBProxyEndpoint(DBProxyEndpointT&& value) {
    m_dBProxyEndpointHasBeenSet = true;
    m_dBProxyEndpoint = std::forward<DBProxyEndpointT>(value);
  }
  template <typename DBProxyEndpointT = DBProxyEndpoint>
  CreateDBProxyEndpointResult& WithDBProxyEndpoint(DBProxyEndpointT&& value) {
    SetDBProxyEndpoint(std::forward<DBProxyEndpointT>(value));
    return *this;
  }
  ///@}

  ///@{

  inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
  template <typename ResponseMetadataT = ResponseMetadata>
  void SetResponseMetadata(ResponseMetadataT&& value) {
    m_responseMetadataHasBeenSet = true;
    m_responseMetadata = std::forward<ResponseMetadataT>(value);
  }
  template <typename ResponseMetadataT = ResponseMetadata>
  CreateDBProxyEndpointResult& WithResponseMetadata(ResponseMetadataT&& value) {
    SetResponseMetadata(std::forward<ResponseMetadataT>(value));
    return *this;
  }
  ///@}
  inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }

 private:
  DBProxyEndpoint m_dBProxyEndpoint;

  ResponseMetadata m_responseMetadata;
  Aws::Http::HttpResponseCode m_HttpResponseCode;
  bool m_dBProxyEndpointHasBeenSet = false;
  bool m_responseMetadataHasBeenSet = false;
};

}  // namespace Model
}  // namespace RDS
}  // namespace Aws
