/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */

#pragma once
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/redshift/RedshiftRequest.h>
#include <aws/redshift/Redshift_EXPORTS.h>
#include <aws/redshift/model/DeleteClusterSnapshotMessage.h>

#include <utility>

namespace Aws {
namespace Redshift {
namespace Model {

/**
 */
class BatchDeleteClusterSnapshotsRequest : public RedshiftRequest {
 public:
  AWS_REDSHIFT_API BatchDeleteClusterSnapshotsRequest() = default;

  // 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:
  ///@{
  /**
   * <p>A list of identifiers for the snapshots that you want to delete.</p>
   */
  inline const Aws::Vector<DeleteClusterSnapshotMessage>& GetIdentifiers() const { return m_identifiers; }
  inline bool IdentifiersHasBeenSet() const { return m_identifiersHasBeenSet; }
  template <typename IdentifiersT = Aws::Vector<DeleteClusterSnapshotMessage>>
  void SetIdentifiers(IdentifiersT&& value) {
    m_identifiersHasBeenSet = true;
    m_identifiers = std::forward<IdentifiersT>(value);
  }
  template <typename IdentifiersT = Aws::Vector<DeleteClusterSnapshotMessage>>
  BatchDeleteClusterSnapshotsRequest& WithIdentifiers(IdentifiersT&& value) {
    SetIdentifiers(std::forward<IdentifiersT>(value));
    return *this;
  }
  template <typename IdentifiersT = DeleteClusterSnapshotMessage>
  BatchDeleteClusterSnapshotsRequest& AddIdentifiers(IdentifiersT&& value) {
    m_identifiersHasBeenSet = true;
    m_identifiers.emplace_back(std::forward<IdentifiersT>(value));
    return *this;
  }
  ///@}
 private:
  Aws::Vector<DeleteClusterSnapshotMessage> m_identifiers;
  bool m_identifiersHasBeenSet = false;
};

}  // namespace Model
}  // namespace Redshift
}  // namespace Aws
