/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Use to specify skipping a final backup, adding tags to a final backup, or
* bypassing the retention period of an FSx for ONTAP SnapLock Enterprise volume
* when deleting an FSx for ONTAP volume. See Also:
AWS
* API Reference
Set to true if you want to skip taking a final backup of the volume you are * deleting.
*/ inline bool GetSkipFinalBackup() const{ return m_skipFinalBackup; } /** *Set to true if you want to skip taking a final backup of the volume you are * deleting.
*/ inline bool SkipFinalBackupHasBeenSet() const { return m_skipFinalBackupHasBeenSet; } /** *Set to true if you want to skip taking a final backup of the volume you are * deleting.
*/ inline void SetSkipFinalBackup(bool value) { m_skipFinalBackupHasBeenSet = true; m_skipFinalBackup = value; } /** *Set to true if you want to skip taking a final backup of the volume you are * deleting.
*/ inline DeleteVolumeOntapConfiguration& WithSkipFinalBackup(bool value) { SetSkipFinalBackup(value); return *this;} inline const Aws::VectorSetting this to true
allows a SnapLock administrator to delete
* an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many
* (WORM) files. The IAM permission
* fsx:BypassSnaplockEnterpriseRetention
is also required to delete
* SnapLock Enterprise volumes with unexpired WORM files. The default value is
* false
.
For more information, see * Deleting a SnapLock volume .
*/ inline bool GetBypassSnaplockEnterpriseRetention() const{ return m_bypassSnaplockEnterpriseRetention; } /** *Setting this to true
allows a SnapLock administrator to delete
* an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many
* (WORM) files. The IAM permission
* fsx:BypassSnaplockEnterpriseRetention
is also required to delete
* SnapLock Enterprise volumes with unexpired WORM files. The default value is
* false
.
For more information, see * Deleting a SnapLock volume .
*/ inline bool BypassSnaplockEnterpriseRetentionHasBeenSet() const { return m_bypassSnaplockEnterpriseRetentionHasBeenSet; } /** *Setting this to true
allows a SnapLock administrator to delete
* an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many
* (WORM) files. The IAM permission
* fsx:BypassSnaplockEnterpriseRetention
is also required to delete
* SnapLock Enterprise volumes with unexpired WORM files. The default value is
* false
.
For more information, see * Deleting a SnapLock volume .
*/ inline void SetBypassSnaplockEnterpriseRetention(bool value) { m_bypassSnaplockEnterpriseRetentionHasBeenSet = true; m_bypassSnaplockEnterpriseRetention = value; } /** *Setting this to true
allows a SnapLock administrator to delete
* an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many
* (WORM) files. The IAM permission
* fsx:BypassSnaplockEnterpriseRetention
is also required to delete
* SnapLock Enterprise volumes with unexpired WORM files. The default value is
* false
.
For more information, see * Deleting a SnapLock volume .
*/ inline DeleteVolumeOntapConfiguration& WithBypassSnaplockEnterpriseRetention(bool value) { SetBypassSnaplockEnterpriseRetention(value); return *this;} private: bool m_skipFinalBackup; bool m_skipFinalBackupHasBeenSet = false; Aws::Vector