/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include See Also:
AWS
* API Reference
The unique identifier of the manual snapshot to be deleted.
*Constraints: Must be the name of an existing snapshot that is in the
* available
, failed
, or cancelled
* state.
The unique identifier of the manual snapshot to be deleted.
*Constraints: Must be the name of an existing snapshot that is in the
* available
, failed
, or cancelled
* state.
The unique identifier of the manual snapshot to be deleted.
*Constraints: Must be the name of an existing snapshot that is in the
* available
, failed
, or cancelled
* state.
The unique identifier of the manual snapshot to be deleted.
*Constraints: Must be the name of an existing snapshot that is in the
* available
, failed
, or cancelled
* state.
The unique identifier of the manual snapshot to be deleted.
*Constraints: Must be the name of an existing snapshot that is in the
* available
, failed
, or cancelled
* state.
The unique identifier of the manual snapshot to be deleted.
*Constraints: Must be the name of an existing snapshot that is in the
* available
, failed
, or cancelled
* state.
The unique identifier of the manual snapshot to be deleted.
*Constraints: Must be the name of an existing snapshot that is in the
* available
, failed
, or cancelled
* state.
The unique identifier of the manual snapshot to be deleted.
*Constraints: Must be the name of an existing snapshot that is in the
* available
, failed
, or cancelled
* state.
The unique identifier of the cluster the snapshot was created from. This * parameter is required if your IAM user has a policy containing a snapshot * resource element that specifies anything other than * for the cluster name.
*Constraints: Must be the name of valid cluster.
*/ inline const Aws::String& GetSnapshotClusterIdentifier() const{ return m_snapshotClusterIdentifier; } /** *The unique identifier of the cluster the snapshot was created from. This * parameter is required if your IAM user has a policy containing a snapshot * resource element that specifies anything other than * for the cluster name.
*Constraints: Must be the name of valid cluster.
*/ inline bool SnapshotClusterIdentifierHasBeenSet() const { return m_snapshotClusterIdentifierHasBeenSet; } /** *The unique identifier of the cluster the snapshot was created from. This * parameter is required if your IAM user has a policy containing a snapshot * resource element that specifies anything other than * for the cluster name.
*Constraints: Must be the name of valid cluster.
*/ inline void SetSnapshotClusterIdentifier(const Aws::String& value) { m_snapshotClusterIdentifierHasBeenSet = true; m_snapshotClusterIdentifier = value; } /** *The unique identifier of the cluster the snapshot was created from. This * parameter is required if your IAM user has a policy containing a snapshot * resource element that specifies anything other than * for the cluster name.
*Constraints: Must be the name of valid cluster.
*/ inline void SetSnapshotClusterIdentifier(Aws::String&& value) { m_snapshotClusterIdentifierHasBeenSet = true; m_snapshotClusterIdentifier = std::move(value); } /** *The unique identifier of the cluster the snapshot was created from. This * parameter is required if your IAM user has a policy containing a snapshot * resource element that specifies anything other than * for the cluster name.
*Constraints: Must be the name of valid cluster.
*/ inline void SetSnapshotClusterIdentifier(const char* value) { m_snapshotClusterIdentifierHasBeenSet = true; m_snapshotClusterIdentifier.assign(value); } /** *The unique identifier of the cluster the snapshot was created from. This * parameter is required if your IAM user has a policy containing a snapshot * resource element that specifies anything other than * for the cluster name.
*Constraints: Must be the name of valid cluster.
*/ inline DeleteClusterSnapshotMessage& WithSnapshotClusterIdentifier(const Aws::String& value) { SetSnapshotClusterIdentifier(value); return *this;} /** *The unique identifier of the cluster the snapshot was created from. This * parameter is required if your IAM user has a policy containing a snapshot * resource element that specifies anything other than * for the cluster name.
*Constraints: Must be the name of valid cluster.
*/ inline DeleteClusterSnapshotMessage& WithSnapshotClusterIdentifier(Aws::String&& value) { SetSnapshotClusterIdentifier(std::move(value)); return *this;} /** *The unique identifier of the cluster the snapshot was created from. This * parameter is required if your IAM user has a policy containing a snapshot * resource element that specifies anything other than * for the cluster name.
*Constraints: Must be the name of valid cluster.
*/ inline DeleteClusterSnapshotMessage& WithSnapshotClusterIdentifier(const char* value) { SetSnapshotClusterIdentifier(value); return *this;} private: Aws::String m_snapshotIdentifier; bool m_snapshotIdentifierHasBeenSet = false; Aws::String m_snapshotClusterIdentifier; bool m_snapshotClusterIdentifierHasBeenSet = false; }; } // namespace Model } // namespace Redshift } // namespace Aws