/**
* 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 identifier for the source snapshot.
Constraints:
Must be the identifier for a valid automated snapshot whose state is
* available
.
The identifier for the source snapshot.
Constraints:
Must be the identifier for a valid automated snapshot whose state is
* available
.
The identifier for the source snapshot.
Constraints:
Must be the identifier for a valid automated snapshot whose state is
* available
.
The identifier for the source snapshot.
Constraints:
Must be the identifier for a valid automated snapshot whose state is
* available
.
The identifier for the source snapshot.
Constraints:
Must be the identifier for a valid automated snapshot whose state is
* available
.
The identifier for the source snapshot.
Constraints:
Must be the identifier for a valid automated snapshot whose state is
* available
.
The identifier for the source snapshot.
Constraints:
Must be the identifier for a valid automated snapshot whose state is
* available
.
The identifier for the source snapshot.
Constraints:
Must be the identifier for a valid automated snapshot whose state is
* available
.
The identifier of the cluster the source 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 identifier for a valid cluster.
*The identifier of the cluster the source 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 identifier for a valid cluster.
*The identifier of the cluster the source 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 identifier for a valid cluster.
*The identifier of the cluster the source 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 identifier for a valid cluster.
*The identifier of the cluster the source 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 identifier for a valid cluster.
*The identifier of the cluster the source 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 identifier for a valid cluster.
*The identifier of the cluster the source 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 identifier for a valid cluster.
*The identifier of the cluster the source 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 identifier for a valid cluster.
*The identifier given to the new manual snapshot.
Constraints:
Cannot be null, empty, or blank.
Must contain from 1 * to 255 alphanumeric characters or hyphens.
First character * must be a letter.
Cannot end with a hyphen or contain two * consecutive hyphens.
Must be unique for the Amazon Web * Services account that is making the request.
The identifier given to the new manual snapshot.
Constraints:
Cannot be null, empty, or blank.
Must contain from 1 * to 255 alphanumeric characters or hyphens.
First character * must be a letter.
Cannot end with a hyphen or contain two * consecutive hyphens.
Must be unique for the Amazon Web * Services account that is making the request.
The identifier given to the new manual snapshot.
Constraints:
Cannot be null, empty, or blank.
Must contain from 1 * to 255 alphanumeric characters or hyphens.
First character * must be a letter.
Cannot end with a hyphen or contain two * consecutive hyphens.
Must be unique for the Amazon Web * Services account that is making the request.
The identifier given to the new manual snapshot.
Constraints:
Cannot be null, empty, or blank.
Must contain from 1 * to 255 alphanumeric characters or hyphens.
First character * must be a letter.
Cannot end with a hyphen or contain two * consecutive hyphens.
Must be unique for the Amazon Web * Services account that is making the request.
The identifier given to the new manual snapshot.
Constraints:
Cannot be null, empty, or blank.
Must contain from 1 * to 255 alphanumeric characters or hyphens.
First character * must be a letter.
Cannot end with a hyphen or contain two * consecutive hyphens.
Must be unique for the Amazon Web * Services account that is making the request.
The identifier given to the new manual snapshot.
Constraints:
Cannot be null, empty, or blank.
Must contain from 1 * to 255 alphanumeric characters or hyphens.
First character * must be a letter.
Cannot end with a hyphen or contain two * consecutive hyphens.
Must be unique for the Amazon Web * Services account that is making the request.
The identifier given to the new manual snapshot.
Constraints:
Cannot be null, empty, or blank.
Must contain from 1 * to 255 alphanumeric characters or hyphens.
First character * must be a letter.
Cannot end with a hyphen or contain two * consecutive hyphens.
Must be unique for the Amazon Web * Services account that is making the request.
The identifier given to the new manual snapshot.
Constraints:
Cannot be null, empty, or blank.
Must contain from 1 * to 255 alphanumeric characters or hyphens.
First character * must be a letter.
Cannot end with a hyphen or contain two * consecutive hyphens.
Must be unique for the Amazon Web * Services account that is making the request.
The number of days that a manual snapshot is retained. If the value is -1, * the manual snapshot is retained indefinitely.
The value must be either * -1 or an integer between 1 and 3,653.
The default value is -1.
*/ inline int GetManualSnapshotRetentionPeriod() const{ return m_manualSnapshotRetentionPeriod; } /** *The number of days that a manual snapshot is retained. If the value is -1, * the manual snapshot is retained indefinitely.
The value must be either * -1 or an integer between 1 and 3,653.
The default value is -1.
*/ inline bool ManualSnapshotRetentionPeriodHasBeenSet() const { return m_manualSnapshotRetentionPeriodHasBeenSet; } /** *The number of days that a manual snapshot is retained. If the value is -1, * the manual snapshot is retained indefinitely.
The value must be either * -1 or an integer between 1 and 3,653.
The default value is -1.
*/ inline void SetManualSnapshotRetentionPeriod(int value) { m_manualSnapshotRetentionPeriodHasBeenSet = true; m_manualSnapshotRetentionPeriod = value; } /** *The number of days that a manual snapshot is retained. If the value is -1, * the manual snapshot is retained indefinitely.
The value must be either * -1 or an integer between 1 and 3,653.
The default value is -1.
*/ inline CopyClusterSnapshotRequest& WithManualSnapshotRetentionPeriod(int value) { SetManualSnapshotRetentionPeriod(value); return *this;} private: Aws::String m_sourceSnapshotIdentifier; bool m_sourceSnapshotIdentifierHasBeenSet = false; Aws::String m_sourceSnapshotClusterIdentifier; bool m_sourceSnapshotClusterIdentifierHasBeenSet = false; Aws::String m_targetSnapshotIdentifier; bool m_targetSnapshotIdentifierHasBeenSet = false; int m_manualSnapshotRetentionPeriod; bool m_manualSnapshotRetentionPeriodHasBeenSet = false; }; } // namespace Model } // namespace Redshift } // namespace Aws