107 lines
4.1 KiB
C
107 lines
4.1 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
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p/><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterSnapshotMessage">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_RDS_API DeleteDBClusterSnapshotRequest : public RDSRequest
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
DeleteDBClusterSnapshotRequest();
|
|||
|
|
|
|||
|
|
// 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 "DeleteDBClusterSnapshot"; }
|
|||
|
|
|
|||
|
|
Aws::String SerializePayload() const override;
|
|||
|
|
|
|||
|
|
protected:
|
|||
|
|
void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
|
|||
|
|
|
|||
|
|
public:
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The identifier of the DB cluster snapshot to delete.</p> <p>Constraints: Must
|
|||
|
|
* be the name of an existing DB cluster snapshot in the <code>available</code>
|
|||
|
|
* state.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetDBClusterSnapshotIdentifier() const{ return m_dBClusterSnapshotIdentifier; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The identifier of the DB cluster snapshot to delete.</p> <p>Constraints: Must
|
|||
|
|
* be the name of an existing DB cluster snapshot in the <code>available</code>
|
|||
|
|
* state.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool DBClusterSnapshotIdentifierHasBeenSet() const { return m_dBClusterSnapshotIdentifierHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The identifier of the DB cluster snapshot to delete.</p> <p>Constraints: Must
|
|||
|
|
* be the name of an existing DB cluster snapshot in the <code>available</code>
|
|||
|
|
* state.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDBClusterSnapshotIdentifier(const Aws::String& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The identifier of the DB cluster snapshot to delete.</p> <p>Constraints: Must
|
|||
|
|
* be the name of an existing DB cluster snapshot in the <code>available</code>
|
|||
|
|
* state.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDBClusterSnapshotIdentifier(Aws::String&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The identifier of the DB cluster snapshot to delete.</p> <p>Constraints: Must
|
|||
|
|
* be the name of an existing DB cluster snapshot in the <code>available</code>
|
|||
|
|
* state.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDBClusterSnapshotIdentifier(const char* value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The identifier of the DB cluster snapshot to delete.</p> <p>Constraints: Must
|
|||
|
|
* be the name of an existing DB cluster snapshot in the <code>available</code>
|
|||
|
|
* state.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeleteDBClusterSnapshotRequest& WithDBClusterSnapshotIdentifier(const Aws::String& value) { SetDBClusterSnapshotIdentifier(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The identifier of the DB cluster snapshot to delete.</p> <p>Constraints: Must
|
|||
|
|
* be the name of an existing DB cluster snapshot in the <code>available</code>
|
|||
|
|
* state.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeleteDBClusterSnapshotRequest& WithDBClusterSnapshotIdentifier(Aws::String&& value) { SetDBClusterSnapshotIdentifier(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The identifier of the DB cluster snapshot to delete.</p> <p>Constraints: Must
|
|||
|
|
* be the name of an existing DB cluster snapshot in the <code>available</code>
|
|||
|
|
* state.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeleteDBClusterSnapshotRequest& WithDBClusterSnapshotIdentifier(const char* value) { SetDBClusterSnapshotIdentifier(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_dBClusterSnapshotIdentifier;
|
|||
|
|
bool m_dBClusterSnapshotIdentifierHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace RDS
|
|||
|
|
} // namespace Aws
|