/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the backup that will be copied and created by the
* CopyBackupToRegion operation.See Also:
AWS
* API Reference
The date and time when both the source backup was created.
*/ inline const Aws::Utils::DateTime& GetCreateTimestamp() const{ return m_createTimestamp; } /** *The date and time when both the source backup was created.
*/ inline bool CreateTimestampHasBeenSet() const { return m_createTimestampHasBeenSet; } /** *The date and time when both the source backup was created.
*/ inline void SetCreateTimestamp(const Aws::Utils::DateTime& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = value; } /** *The date and time when both the source backup was created.
*/ inline void SetCreateTimestamp(Aws::Utils::DateTime&& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = std::move(value); } /** *The date and time when both the source backup was created.
*/ inline DestinationBackup& WithCreateTimestamp(const Aws::Utils::DateTime& value) { SetCreateTimestamp(value); return *this;} /** *The date and time when both the source backup was created.
*/ inline DestinationBackup& WithCreateTimestamp(Aws::Utils::DateTime&& value) { SetCreateTimestamp(std::move(value)); return *this;} /** *The AWS region that contains the source backup from which the new backup was * copied.
*/ inline const Aws::String& GetSourceRegion() const{ return m_sourceRegion; } /** *The AWS region that contains the source backup from which the new backup was * copied.
*/ inline bool SourceRegionHasBeenSet() const { return m_sourceRegionHasBeenSet; } /** *The AWS region that contains the source backup from which the new backup was * copied.
*/ inline void SetSourceRegion(const Aws::String& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = value; } /** *The AWS region that contains the source backup from which the new backup was * copied.
*/ inline void SetSourceRegion(Aws::String&& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = std::move(value); } /** *The AWS region that contains the source backup from which the new backup was * copied.
*/ inline void SetSourceRegion(const char* value) { m_sourceRegionHasBeenSet = true; m_sourceRegion.assign(value); } /** *The AWS region that contains the source backup from which the new backup was * copied.
*/ inline DestinationBackup& WithSourceRegion(const Aws::String& value) { SetSourceRegion(value); return *this;} /** *The AWS region that contains the source backup from which the new backup was * copied.
*/ inline DestinationBackup& WithSourceRegion(Aws::String&& value) { SetSourceRegion(std::move(value)); return *this;} /** *The AWS region that contains the source backup from which the new backup was * copied.
*/ inline DestinationBackup& WithSourceRegion(const char* value) { SetSourceRegion(value); return *this;} /** *The identifier (ID) of the source backup from which the new backup was * copied.
*/ inline const Aws::String& GetSourceBackup() const{ return m_sourceBackup; } /** *The identifier (ID) of the source backup from which the new backup was * copied.
*/ inline bool SourceBackupHasBeenSet() const { return m_sourceBackupHasBeenSet; } /** *The identifier (ID) of the source backup from which the new backup was * copied.
*/ inline void SetSourceBackup(const Aws::String& value) { m_sourceBackupHasBeenSet = true; m_sourceBackup = value; } /** *The identifier (ID) of the source backup from which the new backup was * copied.
*/ inline void SetSourceBackup(Aws::String&& value) { m_sourceBackupHasBeenSet = true; m_sourceBackup = std::move(value); } /** *The identifier (ID) of the source backup from which the new backup was * copied.
*/ inline void SetSourceBackup(const char* value) { m_sourceBackupHasBeenSet = true; m_sourceBackup.assign(value); } /** *The identifier (ID) of the source backup from which the new backup was * copied.
*/ inline DestinationBackup& WithSourceBackup(const Aws::String& value) { SetSourceBackup(value); return *this;} /** *The identifier (ID) of the source backup from which the new backup was * copied.
*/ inline DestinationBackup& WithSourceBackup(Aws::String&& value) { SetSourceBackup(std::move(value)); return *this;} /** *The identifier (ID) of the source backup from which the new backup was * copied.
*/ inline DestinationBackup& WithSourceBackup(const char* value) { SetSourceBackup(value); return *this;} /** *The identifier (ID) of the cluster containing the source backup from which * the new backup was copied.
*/ inline const Aws::String& GetSourceCluster() const{ return m_sourceCluster; } /** *The identifier (ID) of the cluster containing the source backup from which * the new backup was copied.
*/ inline bool SourceClusterHasBeenSet() const { return m_sourceClusterHasBeenSet; } /** *The identifier (ID) of the cluster containing the source backup from which * the new backup was copied.
*/ inline void SetSourceCluster(const Aws::String& value) { m_sourceClusterHasBeenSet = true; m_sourceCluster = value; } /** *The identifier (ID) of the cluster containing the source backup from which * the new backup was copied.
*/ inline void SetSourceCluster(Aws::String&& value) { m_sourceClusterHasBeenSet = true; m_sourceCluster = std::move(value); } /** *The identifier (ID) of the cluster containing the source backup from which * the new backup was copied.
*/ inline void SetSourceCluster(const char* value) { m_sourceClusterHasBeenSet = true; m_sourceCluster.assign(value); } /** *The identifier (ID) of the cluster containing the source backup from which * the new backup was copied.
*/ inline DestinationBackup& WithSourceCluster(const Aws::String& value) { SetSourceCluster(value); return *this;} /** *The identifier (ID) of the cluster containing the source backup from which * the new backup was copied.
*/ inline DestinationBackup& WithSourceCluster(Aws::String&& value) { SetSourceCluster(std::move(value)); return *this;} /** *The identifier (ID) of the cluster containing the source backup from which * the new backup was copied.
*/ inline DestinationBackup& WithSourceCluster(const char* value) { SetSourceCluster(value); return *this;} private: Aws::Utils::DateTime m_createTimestamp; bool m_createTimestampHasBeenSet = false; Aws::String m_sourceRegion; bool m_sourceRegionHasBeenSet = false; Aws::String m_sourceBackup; bool m_sourceBackupHasBeenSet = false; Aws::String m_sourceCluster; bool m_sourceClusterHasBeenSet = false; }; } // namespace Model } // namespace CloudHSMV2 } // namespace Aws