/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CloudHSMV2 { namespace Model { class AWS_CLOUDHSMV2_API CopyBackupToRegionResult { public: CopyBackupToRegionResult(); CopyBackupToRegionResult(const Aws::AmazonWebServiceResult& result); CopyBackupToRegionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information on the backup that will be copied to the destination region, * including CreateTimestamp, SourceBackup, SourceCluster, and Source Region. * CreateTimestamp of the destination backup will be the same as that of the source * backup.

You will need to use the sourceBackupID returned in * this operation to use the DescribeBackups operation on the backup that * will be copied to the destination region.

*/ inline const DestinationBackup& GetDestinationBackup() const{ return m_destinationBackup; } /** *

Information on the backup that will be copied to the destination region, * including CreateTimestamp, SourceBackup, SourceCluster, and Source Region. * CreateTimestamp of the destination backup will be the same as that of the source * backup.

You will need to use the sourceBackupID returned in * this operation to use the DescribeBackups operation on the backup that * will be copied to the destination region.

*/ inline void SetDestinationBackup(const DestinationBackup& value) { m_destinationBackup = value; } /** *

Information on the backup that will be copied to the destination region, * including CreateTimestamp, SourceBackup, SourceCluster, and Source Region. * CreateTimestamp of the destination backup will be the same as that of the source * backup.

You will need to use the sourceBackupID returned in * this operation to use the DescribeBackups operation on the backup that * will be copied to the destination region.

*/ inline void SetDestinationBackup(DestinationBackup&& value) { m_destinationBackup = std::move(value); } /** *

Information on the backup that will be copied to the destination region, * including CreateTimestamp, SourceBackup, SourceCluster, and Source Region. * CreateTimestamp of the destination backup will be the same as that of the source * backup.

You will need to use the sourceBackupID returned in * this operation to use the DescribeBackups operation on the backup that * will be copied to the destination region.

*/ inline CopyBackupToRegionResult& WithDestinationBackup(const DestinationBackup& value) { SetDestinationBackup(value); return *this;} /** *

Information on the backup that will be copied to the destination region, * including CreateTimestamp, SourceBackup, SourceCluster, and Source Region. * CreateTimestamp of the destination backup will be the same as that of the source * backup.

You will need to use the sourceBackupID returned in * this operation to use the DescribeBackups operation on the backup that * will be copied to the destination region.

*/ inline CopyBackupToRegionResult& WithDestinationBackup(DestinationBackup&& value) { SetDestinationBackup(std::move(value)); return *this;} private: DestinationBackup m_destinationBackup; }; } // namespace Model } // namespace CloudHSMV2 } // namespace Aws