/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the destination file system in the replication
* configuration.See Also:
AWS
* API Reference
Describes the status of the destination Amazon EFS file system.
The Paused
state occurs as a result of opting out of the source
* or destination Region after the replication configuration was created. To resume
* replication for the file system, you need to again opt in to the Amazon Web
* Services Region. For more information, see Managing
* Amazon Web Services Regions in the Amazon Web Services General Reference
* Guide.
The Error
state occurs when either the
* source or the destination file system (or both) is in a failed state and is
* unrecoverable. For more information, see Monitoring
* replication status in the Amazon EFS User Guide. You must delete the
* replication configuration, and then restore the most recent backup of the failed
* file system (either the source or the destination) to a new file system.
Describes the status of the destination Amazon EFS file system.
The Paused
state occurs as a result of opting out of the source
* or destination Region after the replication configuration was created. To resume
* replication for the file system, you need to again opt in to the Amazon Web
* Services Region. For more information, see Managing
* Amazon Web Services Regions in the Amazon Web Services General Reference
* Guide.
The Error
state occurs when either the
* source or the destination file system (or both) is in a failed state and is
* unrecoverable. For more information, see Monitoring
* replication status in the Amazon EFS User Guide. You must delete the
* replication configuration, and then restore the most recent backup of the failed
* file system (either the source or the destination) to a new file system.
Describes the status of the destination Amazon EFS file system.
The Paused
state occurs as a result of opting out of the source
* or destination Region after the replication configuration was created. To resume
* replication for the file system, you need to again opt in to the Amazon Web
* Services Region. For more information, see Managing
* Amazon Web Services Regions in the Amazon Web Services General Reference
* Guide.
The Error
state occurs when either the
* source or the destination file system (or both) is in a failed state and is
* unrecoverable. For more information, see Monitoring
* replication status in the Amazon EFS User Guide. You must delete the
* replication configuration, and then restore the most recent backup of the failed
* file system (either the source or the destination) to a new file system.
Describes the status of the destination Amazon EFS file system.
The Paused
state occurs as a result of opting out of the source
* or destination Region after the replication configuration was created. To resume
* replication for the file system, you need to again opt in to the Amazon Web
* Services Region. For more information, see Managing
* Amazon Web Services Regions in the Amazon Web Services General Reference
* Guide.
The Error
state occurs when either the
* source or the destination file system (or both) is in a failed state and is
* unrecoverable. For more information, see Monitoring
* replication status in the Amazon EFS User Guide. You must delete the
* replication configuration, and then restore the most recent backup of the failed
* file system (either the source or the destination) to a new file system.
Describes the status of the destination Amazon EFS file system.
The Paused
state occurs as a result of opting out of the source
* or destination Region after the replication configuration was created. To resume
* replication for the file system, you need to again opt in to the Amazon Web
* Services Region. For more information, see Managing
* Amazon Web Services Regions in the Amazon Web Services General Reference
* Guide.
The Error
state occurs when either the
* source or the destination file system (or both) is in a failed state and is
* unrecoverable. For more information, see Monitoring
* replication status in the Amazon EFS User Guide. You must delete the
* replication configuration, and then restore the most recent backup of the failed
* file system (either the source or the destination) to a new file system.
Describes the status of the destination Amazon EFS file system.
The Paused
state occurs as a result of opting out of the source
* or destination Region after the replication configuration was created. To resume
* replication for the file system, you need to again opt in to the Amazon Web
* Services Region. For more information, see Managing
* Amazon Web Services Regions in the Amazon Web Services General Reference
* Guide.
The Error
state occurs when either the
* source or the destination file system (or both) is in a failed state and is
* unrecoverable. For more information, see Monitoring
* replication status in the Amazon EFS User Guide. You must delete the
* replication configuration, and then restore the most recent backup of the failed
* file system (either the source or the destination) to a new file system.
The ID of the destination Amazon EFS file system.
*/ inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; } /** *The ID of the destination Amazon EFS file system.
*/ inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; } /** *The ID of the destination Amazon EFS file system.
*/ inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; } /** *The ID of the destination Amazon EFS file system.
*/ inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); } /** *The ID of the destination Amazon EFS file system.
*/ inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); } /** *The ID of the destination Amazon EFS file system.
*/ inline Destination& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;} /** *The ID of the destination Amazon EFS file system.
*/ inline Destination& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;} /** *The ID of the destination Amazon EFS file system.
*/ inline Destination& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;} /** *The Amazon Web Services Region in which the destination file system is * located.
*/ inline const Aws::String& GetRegion() const{ return m_region; } /** *The Amazon Web Services Region in which the destination file system is * located.
*/ inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } /** *The Amazon Web Services Region in which the destination file system is * located.
*/ inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } /** *The Amazon Web Services Region in which the destination file system is * located.
*/ inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } /** *The Amazon Web Services Region in which the destination file system is * located.
*/ inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } /** *The Amazon Web Services Region in which the destination file system is * located.
*/ inline Destination& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} /** *The Amazon Web Services Region in which the destination file system is * located.
*/ inline Destination& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} /** *The Amazon Web Services Region in which the destination file system is * located.
*/ inline Destination& WithRegion(const char* value) { SetRegion(value); return *this;} /** *The time when the most recent sync was successfully completed on the * destination file system. Any changes to data on the source file system that * occurred before this time have been successfully replicated to the destination * file system. Any changes that occurred after this time might not be fully * replicated.
*/ inline const Aws::Utils::DateTime& GetLastReplicatedTimestamp() const{ return m_lastReplicatedTimestamp; } /** *The time when the most recent sync was successfully completed on the * destination file system. Any changes to data on the source file system that * occurred before this time have been successfully replicated to the destination * file system. Any changes that occurred after this time might not be fully * replicated.
*/ inline bool LastReplicatedTimestampHasBeenSet() const { return m_lastReplicatedTimestampHasBeenSet; } /** *The time when the most recent sync was successfully completed on the * destination file system. Any changes to data on the source file system that * occurred before this time have been successfully replicated to the destination * file system. Any changes that occurred after this time might not be fully * replicated.
*/ inline void SetLastReplicatedTimestamp(const Aws::Utils::DateTime& value) { m_lastReplicatedTimestampHasBeenSet = true; m_lastReplicatedTimestamp = value; } /** *The time when the most recent sync was successfully completed on the * destination file system. Any changes to data on the source file system that * occurred before this time have been successfully replicated to the destination * file system. Any changes that occurred after this time might not be fully * replicated.
*/ inline void SetLastReplicatedTimestamp(Aws::Utils::DateTime&& value) { m_lastReplicatedTimestampHasBeenSet = true; m_lastReplicatedTimestamp = std::move(value); } /** *The time when the most recent sync was successfully completed on the * destination file system. Any changes to data on the source file system that * occurred before this time have been successfully replicated to the destination * file system. Any changes that occurred after this time might not be fully * replicated.
*/ inline Destination& WithLastReplicatedTimestamp(const Aws::Utils::DateTime& value) { SetLastReplicatedTimestamp(value); return *this;} /** *The time when the most recent sync was successfully completed on the * destination file system. Any changes to data on the source file system that * occurred before this time have been successfully replicated to the destination * file system. Any changes that occurred after this time might not be fully * replicated.
*/ inline Destination& WithLastReplicatedTimestamp(Aws::Utils::DateTime&& value) { SetLastReplicatedTimestamp(std::move(value)); return *this;} private: ReplicationStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_fileSystemId; bool m_fileSystemIdHasBeenSet = false; Aws::String m_region; bool m_regionHasBeenSet = false; Aws::Utils::DateTime m_lastReplicatedTimestamp; bool m_lastReplicatedTimestampHasBeenSet = false; }; } // namespace Model } // namespace EFS } // namespace Aws