/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
namespace Aws
{
namespace DocDB
{
namespace Model
{
/**
* Represents the input to DeleteDBClusterSnapshot.
See
* Also:
AWS
* API Reference
*/
class DeleteDBClusterSnapshotRequest : public DocDBRequest
{
public:
AWS_DOCDB_API 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_DOCDB_API Aws::String SerializePayload() const override;
protected:
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
public:
/**
* The identifier of the cluster snapshot to delete.
Constraints: Must be
* the name of an existing cluster snapshot in the available
* state.
*/
inline const Aws::String& GetDBClusterSnapshotIdentifier() const{ return m_dBClusterSnapshotIdentifier; }
/**
* The identifier of the cluster snapshot to delete.
Constraints: Must be
* the name of an existing cluster snapshot in the available
* state.
*/
inline bool DBClusterSnapshotIdentifierHasBeenSet() const { return m_dBClusterSnapshotIdentifierHasBeenSet; }
/**
* The identifier of the cluster snapshot to delete.
Constraints: Must be
* the name of an existing cluster snapshot in the available
* state.
*/
inline void SetDBClusterSnapshotIdentifier(const Aws::String& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = value; }
/**
* The identifier of the cluster snapshot to delete.
Constraints: Must be
* the name of an existing cluster snapshot in the available
* state.
*/
inline void SetDBClusterSnapshotIdentifier(Aws::String&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::move(value); }
/**
* The identifier of the cluster snapshot to delete.
Constraints: Must be
* the name of an existing cluster snapshot in the available
* state.
*/
inline void SetDBClusterSnapshotIdentifier(const char* value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier.assign(value); }
/**
* The identifier of the cluster snapshot to delete.
Constraints: Must be
* the name of an existing cluster snapshot in the available
* state.
*/
inline DeleteDBClusterSnapshotRequest& WithDBClusterSnapshotIdentifier(const Aws::String& value) { SetDBClusterSnapshotIdentifier(value); return *this;}
/**
* The identifier of the cluster snapshot to delete.
Constraints: Must be
* the name of an existing cluster snapshot in the available
* state.
*/
inline DeleteDBClusterSnapshotRequest& WithDBClusterSnapshotIdentifier(Aws::String&& value) { SetDBClusterSnapshotIdentifier(std::move(value)); return *this;}
/**
* The identifier of the cluster snapshot to delete.
Constraints: Must be
* the name of an existing cluster snapshot in the available
* state.
*/
inline DeleteDBClusterSnapshotRequest& WithDBClusterSnapshotIdentifier(const char* value) { SetDBClusterSnapshotIdentifier(value); return *this;}
private:
Aws::String m_dBClusterSnapshotIdentifier;
bool m_dBClusterSnapshotIdentifierHasBeenSet = false;
};
} // namespace Model
} // namespace DocDB
} // namespace Aws