88 lines
2.5 KiB
C++
88 lines
2.5 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/rds/RDS_EXPORTS.h>
|
|
#include <aws/rds/RDSRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace RDS
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_RDS_API DeleteDBProxyRequest : public RDSRequest
|
|
{
|
|
public:
|
|
DeleteDBProxyRequest();
|
|
|
|
// Service request name is the Operation name which will send this request out,
|
|
// each operation should has unique request name, so that we can get operation's name from this request.
|
|
// Note: this is not true for response, multiple operations may have the same response name,
|
|
// so we can not get operation's name from response.
|
|
inline virtual const char* GetServiceRequestName() const override { return "DeleteDBProxy"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
protected:
|
|
void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
|
|
|
|
public:
|
|
|
|
/**
|
|
* <p>The name of the DB proxy to delete.</p>
|
|
*/
|
|
inline const Aws::String& GetDBProxyName() const{ return m_dBProxyName; }
|
|
|
|
/**
|
|
* <p>The name of the DB proxy to delete.</p>
|
|
*/
|
|
inline bool DBProxyNameHasBeenSet() const { return m_dBProxyNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the DB proxy to delete.</p>
|
|
*/
|
|
inline void SetDBProxyName(const Aws::String& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = value; }
|
|
|
|
/**
|
|
* <p>The name of the DB proxy to delete.</p>
|
|
*/
|
|
inline void SetDBProxyName(Aws::String&& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the DB proxy to delete.</p>
|
|
*/
|
|
inline void SetDBProxyName(const char* value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the DB proxy to delete.</p>
|
|
*/
|
|
inline DeleteDBProxyRequest& WithDBProxyName(const Aws::String& value) { SetDBProxyName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the DB proxy to delete.</p>
|
|
*/
|
|
inline DeleteDBProxyRequest& WithDBProxyName(Aws::String&& value) { SetDBProxyName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the DB proxy to delete.</p>
|
|
*/
|
|
inline DeleteDBProxyRequest& WithDBProxyName(const char* value) { SetDBProxyName(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_dBProxyName;
|
|
bool m_dBProxyNameHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace RDS
|
|
} // namespace Aws
|