89 lines
3.2 KiB
C++
89 lines
3.2 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/redshift/Redshift_EXPORTS.h>
|
|
#include <aws/redshift/RedshiftRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|
#include <aws/redshift/model/DeleteClusterSnapshotMessage.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Redshift
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_REDSHIFT_API BatchDeleteClusterSnapshotsRequest : public RedshiftRequest
|
|
{
|
|
public:
|
|
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::String SerializePayload() const override;
|
|
|
|
protected:
|
|
void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
|
|
|
|
public:
|
|
|
|
/**
|
|
* <p>A list of identifiers for the snapshots that you want to delete.</p>
|
|
*/
|
|
inline const Aws::Vector<DeleteClusterSnapshotMessage>& GetIdentifiers() const{ return m_identifiers; }
|
|
|
|
/**
|
|
* <p>A list of identifiers for the snapshots that you want to delete.</p>
|
|
*/
|
|
inline bool IdentifiersHasBeenSet() const { return m_identifiersHasBeenSet; }
|
|
|
|
/**
|
|
* <p>A list of identifiers for the snapshots that you want to delete.</p>
|
|
*/
|
|
inline void SetIdentifiers(const Aws::Vector<DeleteClusterSnapshotMessage>& value) { m_identifiersHasBeenSet = true; m_identifiers = value; }
|
|
|
|
/**
|
|
* <p>A list of identifiers for the snapshots that you want to delete.</p>
|
|
*/
|
|
inline void SetIdentifiers(Aws::Vector<DeleteClusterSnapshotMessage>&& value) { m_identifiersHasBeenSet = true; m_identifiers = std::move(value); }
|
|
|
|
/**
|
|
* <p>A list of identifiers for the snapshots that you want to delete.</p>
|
|
*/
|
|
inline BatchDeleteClusterSnapshotsRequest& WithIdentifiers(const Aws::Vector<DeleteClusterSnapshotMessage>& value) { SetIdentifiers(value); return *this;}
|
|
|
|
/**
|
|
* <p>A list of identifiers for the snapshots that you want to delete.</p>
|
|
*/
|
|
inline BatchDeleteClusterSnapshotsRequest& WithIdentifiers(Aws::Vector<DeleteClusterSnapshotMessage>&& value) { SetIdentifiers(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>A list of identifiers for the snapshots that you want to delete.</p>
|
|
*/
|
|
inline BatchDeleteClusterSnapshotsRequest& AddIdentifiers(const DeleteClusterSnapshotMessage& value) { m_identifiersHasBeenSet = true; m_identifiers.push_back(value); return *this; }
|
|
|
|
/**
|
|
* <p>A list of identifiers for the snapshots that you want to delete.</p>
|
|
*/
|
|
inline BatchDeleteClusterSnapshotsRequest& AddIdentifiers(DeleteClusterSnapshotMessage&& value) { m_identifiersHasBeenSet = true; m_identifiers.push_back(std::move(value)); return *this; }
|
|
|
|
private:
|
|
|
|
Aws::Vector<DeleteClusterSnapshotMessage> m_identifiers;
|
|
bool m_identifiersHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Redshift
|
|
} // namespace Aws
|