/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CloudHSMV2 { namespace Model { class CopyBackupToRegionResult { public: AWS_CLOUDHSMV2_API CopyBackupToRegionResult(); AWS_CLOUDHSMV2_API CopyBackupToRegionResult(const Aws::AmazonWebServiceResult& result); AWS_CLOUDHSMV2_API 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;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CopyBackupToRegionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CopyBackupToRegionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CopyBackupToRegionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: DestinationBackup m_destinationBackup; Aws::String m_requestId; }; } // namespace Model } // namespace CloudHSMV2 } // namespace Aws