/**
* 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 DB cluster identifier of the DB cluster to be backtracked. This parameter * is stored as a lowercase string.
Constraints:
Must * contain from 1 to 63 alphanumeric characters or hyphens.
First * character must be a letter.
Can't end with a hyphen or contain * two consecutive hyphens.
Example: my-cluster1
*
The DB cluster identifier of the DB cluster to be backtracked. This parameter * is stored as a lowercase string.
Constraints:
Must * contain from 1 to 63 alphanumeric characters or hyphens.
First * character must be a letter.
Can't end with a hyphen or contain * two consecutive hyphens.
Example: my-cluster1
*
The DB cluster identifier of the DB cluster to be backtracked. This parameter * is stored as a lowercase string.
Constraints:
Must * contain from 1 to 63 alphanumeric characters or hyphens.
First * character must be a letter.
Can't end with a hyphen or contain * two consecutive hyphens.
Example: my-cluster1
*
The DB cluster identifier of the DB cluster to be backtracked. This parameter * is stored as a lowercase string.
Constraints:
Must * contain from 1 to 63 alphanumeric characters or hyphens.
First * character must be a letter.
Can't end with a hyphen or contain * two consecutive hyphens.
Example: my-cluster1
*
The DB cluster identifier of the DB cluster to be backtracked. This parameter * is stored as a lowercase string.
Constraints:
Must * contain from 1 to 63 alphanumeric characters or hyphens.
First * character must be a letter.
Can't end with a hyphen or contain * two consecutive hyphens.
Example: my-cluster1
*
The DB cluster identifier of the DB cluster to be backtracked. This parameter * is stored as a lowercase string.
Constraints:
Must * contain from 1 to 63 alphanumeric characters or hyphens.
First * character must be a letter.
Can't end with a hyphen or contain * two consecutive hyphens.
Example: my-cluster1
*
The DB cluster identifier of the DB cluster to be backtracked. This parameter * is stored as a lowercase string.
Constraints:
Must * contain from 1 to 63 alphanumeric characters or hyphens.
First * character must be a letter.
Can't end with a hyphen or contain * two consecutive hyphens.
Example: my-cluster1
*
The DB cluster identifier of the DB cluster to be backtracked. This parameter * is stored as a lowercase string.
Constraints:
Must * contain from 1 to 63 alphanumeric characters or hyphens.
First * character must be a letter.
Can't end with a hyphen or contain * two consecutive hyphens.
Example: my-cluster1
*
The timestamp of the time to backtrack the DB cluster to, specified in ISO * 8601 format. For more information about ISO 8601, see the ISO8601 Wikipedia page.
*If the specified time isn't a consistent time for the DB cluster, * Aurora automatically chooses the nearest possible consistent time for the DB * cluster.
Constraints:
Must contain a valid ISO * 8601 timestamp.
Can't contain a timestamp set in the * future.
Example: 2017-07-08T18:00Z
The timestamp of the time to backtrack the DB cluster to, specified in ISO * 8601 format. For more information about ISO 8601, see the ISO8601 Wikipedia page.
*If the specified time isn't a consistent time for the DB cluster, * Aurora automatically chooses the nearest possible consistent time for the DB * cluster.
Constraints:
Must contain a valid ISO * 8601 timestamp.
Can't contain a timestamp set in the * future.
Example: 2017-07-08T18:00Z
The timestamp of the time to backtrack the DB cluster to, specified in ISO * 8601 format. For more information about ISO 8601, see the ISO8601 Wikipedia page.
*If the specified time isn't a consistent time for the DB cluster, * Aurora automatically chooses the nearest possible consistent time for the DB * cluster.
Constraints:
Must contain a valid ISO * 8601 timestamp.
Can't contain a timestamp set in the * future.
Example: 2017-07-08T18:00Z
The timestamp of the time to backtrack the DB cluster to, specified in ISO * 8601 format. For more information about ISO 8601, see the ISO8601 Wikipedia page.
*If the specified time isn't a consistent time for the DB cluster, * Aurora automatically chooses the nearest possible consistent time for the DB * cluster.
Constraints:
Must contain a valid ISO * 8601 timestamp.
Can't contain a timestamp set in the * future.
Example: 2017-07-08T18:00Z
The timestamp of the time to backtrack the DB cluster to, specified in ISO * 8601 format. For more information about ISO 8601, see the ISO8601 Wikipedia page.
*If the specified time isn't a consistent time for the DB cluster, * Aurora automatically chooses the nearest possible consistent time for the DB * cluster.
Constraints:
Must contain a valid ISO * 8601 timestamp.
Can't contain a timestamp set in the * future.
Example: 2017-07-08T18:00Z
The timestamp of the time to backtrack the DB cluster to, specified in ISO * 8601 format. For more information about ISO 8601, see the ISO8601 Wikipedia page.
*If the specified time isn't a consistent time for the DB cluster, * Aurora automatically chooses the nearest possible consistent time for the DB * cluster.
Constraints:
Must contain a valid ISO * 8601 timestamp.
Can't contain a timestamp set in the * future.
Example: 2017-07-08T18:00Z
A value that indicates whether to force the DB cluster to backtrack when * binary logging is enabled. Otherwise, an error occurs when binary logging is * enabled.
*/ inline bool GetForce() const{ return m_force; } /** *A value that indicates whether to force the DB cluster to backtrack when * binary logging is enabled. Otherwise, an error occurs when binary logging is * enabled.
*/ inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; } /** *A value that indicates whether to force the DB cluster to backtrack when * binary logging is enabled. Otherwise, an error occurs when binary logging is * enabled.
*/ inline void SetForce(bool value) { m_forceHasBeenSet = true; m_force = value; } /** *A value that indicates whether to force the DB cluster to backtrack when * binary logging is enabled. Otherwise, an error occurs when binary logging is * enabled.
*/ inline BacktrackDBClusterRequest& WithForce(bool value) { SetForce(value); return *this;} /** *A value that indicates whether to backtrack the DB cluster to the earliest * possible backtrack time when BacktrackTo is set to a timestamp earlier * than the earliest backtrack time. When this parameter is disabled and * BacktrackTo is set to a timestamp earlier than the earliest backtrack * time, an error occurs.
*/ inline bool GetUseEarliestTimeOnPointInTimeUnavailable() const{ return m_useEarliestTimeOnPointInTimeUnavailable; } /** *A value that indicates whether to backtrack the DB cluster to the earliest * possible backtrack time when BacktrackTo is set to a timestamp earlier * than the earliest backtrack time. When this parameter is disabled and * BacktrackTo is set to a timestamp earlier than the earliest backtrack * time, an error occurs.
*/ inline bool UseEarliestTimeOnPointInTimeUnavailableHasBeenSet() const { return m_useEarliestTimeOnPointInTimeUnavailableHasBeenSet; } /** *A value that indicates whether to backtrack the DB cluster to the earliest * possible backtrack time when BacktrackTo is set to a timestamp earlier * than the earliest backtrack time. When this parameter is disabled and * BacktrackTo is set to a timestamp earlier than the earliest backtrack * time, an error occurs.
*/ inline void SetUseEarliestTimeOnPointInTimeUnavailable(bool value) { m_useEarliestTimeOnPointInTimeUnavailableHasBeenSet = true; m_useEarliestTimeOnPointInTimeUnavailable = value; } /** *A value that indicates whether to backtrack the DB cluster to the earliest * possible backtrack time when BacktrackTo is set to a timestamp earlier * than the earliest backtrack time. When this parameter is disabled and * BacktrackTo is set to a timestamp earlier than the earliest backtrack * time, an error occurs.
*/ inline BacktrackDBClusterRequest& WithUseEarliestTimeOnPointInTimeUnavailable(bool value) { SetUseEarliestTimeOnPointInTimeUnavailable(value); return *this;} private: Aws::String m_dBClusterIdentifier; bool m_dBClusterIdentifierHasBeenSet = false; Aws::Utils::DateTime m_backtrackTo; bool m_backtrackToHasBeenSet = false; bool m_force; bool m_forceHasBeenSet = false; bool m_useEarliestTimeOnPointInTimeUnavailable; bool m_useEarliestTimeOnPointInTimeUnavailableHasBeenSet = false; }; } // namespace Model } // namespace RDS } // namespace Aws