/** * 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 Neptune { namespace Model { /** */ class DeleteDBClusterSnapshotRequest : public NeptuneRequest { public: AWS_NEPTUNE_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_NEPTUNE_API Aws::String SerializePayload() const override; protected: AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The identifier of the DB cluster snapshot to delete.

Constraints: Must * be the name of an existing DB cluster snapshot in the available * state.

*/ inline const Aws::String& GetDBClusterSnapshotIdentifier() const{ return m_dBClusterSnapshotIdentifier; } /** *

The identifier of the DB cluster snapshot to delete.

Constraints: Must * be the name of an existing DB cluster snapshot in the available * state.

*/ inline bool DBClusterSnapshotIdentifierHasBeenSet() const { return m_dBClusterSnapshotIdentifierHasBeenSet; } /** *

The identifier of the DB cluster snapshot to delete.

Constraints: Must * be the name of an existing DB cluster snapshot in the available * state.

*/ inline void SetDBClusterSnapshotIdentifier(const Aws::String& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = value; } /** *

The identifier of the DB cluster snapshot to delete.

Constraints: Must * be the name of an existing DB cluster snapshot in the available * state.

*/ inline void SetDBClusterSnapshotIdentifier(Aws::String&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::move(value); } /** *

The identifier of the DB cluster snapshot to delete.

Constraints: Must * be the name of an existing DB cluster snapshot in the available * state.

*/ inline void SetDBClusterSnapshotIdentifier(const char* value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier.assign(value); } /** *

The identifier of the DB cluster snapshot to delete.

Constraints: Must * be the name of an existing DB cluster snapshot in the available * state.

*/ inline DeleteDBClusterSnapshotRequest& WithDBClusterSnapshotIdentifier(const Aws::String& value) { SetDBClusterSnapshotIdentifier(value); return *this;} /** *

The identifier of the DB cluster snapshot to delete.

Constraints: Must * be the name of an existing DB cluster snapshot in the available * state.

*/ inline DeleteDBClusterSnapshotRequest& WithDBClusterSnapshotIdentifier(Aws::String&& value) { SetDBClusterSnapshotIdentifier(std::move(value)); return *this;} /** *

The identifier of the DB cluster snapshot to delete.

Constraints: Must * be the name of an existing DB 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 Neptune } // namespace Aws