/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Redshift { namespace Model { /** */ class BatchDeleteClusterSnapshotsRequest : public RedshiftRequest { public: AWS_REDSHIFT_API BatchDeleteClusterSnapshotsRequest(); // 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 "BatchDeleteClusterSnapshots"; } AWS_REDSHIFT_API Aws::String SerializePayload() const override; protected: AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

A list of identifiers for the snapshots that you want to delete.

*/ inline const Aws::Vector& GetIdentifiers() const{ return m_identifiers; } /** *

A list of identifiers for the snapshots that you want to delete.

*/ inline bool IdentifiersHasBeenSet() const { return m_identifiersHasBeenSet; } /** *

A list of identifiers for the snapshots that you want to delete.

*/ inline void SetIdentifiers(const Aws::Vector& value) { m_identifiersHasBeenSet = true; m_identifiers = value; } /** *

A list of identifiers for the snapshots that you want to delete.

*/ inline void SetIdentifiers(Aws::Vector&& value) { m_identifiersHasBeenSet = true; m_identifiers = std::move(value); } /** *

A list of identifiers for the snapshots that you want to delete.

*/ inline BatchDeleteClusterSnapshotsRequest& WithIdentifiers(const Aws::Vector& value) { SetIdentifiers(value); return *this;} /** *

A list of identifiers for the snapshots that you want to delete.

*/ inline BatchDeleteClusterSnapshotsRequest& WithIdentifiers(Aws::Vector&& value) { SetIdentifiers(std::move(value)); return *this;} /** *

A list of identifiers for the snapshots that you want to delete.

*/ inline BatchDeleteClusterSnapshotsRequest& AddIdentifiers(const DeleteClusterSnapshotMessage& value) { m_identifiersHasBeenSet = true; m_identifiers.push_back(value); return *this; } /** *

A list of identifiers for the snapshots that you want to delete.

*/ inline BatchDeleteClusterSnapshotsRequest& AddIdentifiers(DeleteClusterSnapshotMessage&& value) { m_identifiersHasBeenSet = true; m_identifiers.push_back(std::move(value)); return *this; } private: Aws::Vector m_identifiers; bool m_identifiersHasBeenSet = false; }; } // namespace Model } // namespace Redshift } // namespace Aws