/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The configuration for the Amazon FSx for OpenZFS file system. See
* Also:
AWS
* API Reference
A Boolean value indicating whether tags on the file system should be copied
* to backups. If it's set to true
, all tags on the file system are
* copied to all automatic backups and any user-initiated backups where the user
* doesn't specify any tags. If this value is true
and you specify one
* or more tags, only the specified tags are copied to backups. If you specify one
* or more tags when creating a user-initiated backup, no tags are copied from the
* file system, regardless of this value.
A Boolean value indicating whether tags on the file system should be copied
* to backups. If it's set to true
, all tags on the file system are
* copied to all automatic backups and any user-initiated backups where the user
* doesn't specify any tags. If this value is true
and you specify one
* or more tags, only the specified tags are copied to backups. If you specify one
* or more tags when creating a user-initiated backup, no tags are copied from the
* file system, regardless of this value.
A Boolean value indicating whether tags on the file system should be copied
* to backups. If it's set to true
, all tags on the file system are
* copied to all automatic backups and any user-initiated backups where the user
* doesn't specify any tags. If this value is true
and you specify one
* or more tags, only the specified tags are copied to backups. If you specify one
* or more tags when creating a user-initiated backup, no tags are copied from the
* file system, regardless of this value.
A Boolean value indicating whether tags on the file system should be copied
* to backups. If it's set to true
, all tags on the file system are
* copied to all automatic backups and any user-initiated backups where the user
* doesn't specify any tags. If this value is true
and you specify one
* or more tags, only the specified tags are copied to backups. If you specify one
* or more tags when creating a user-initiated backup, no tags are copied from the
* file system, regardless of this value.
A Boolean value indicating whether tags for the volume should be copied to
* snapshots. This value defaults to false
. If it's set to
* true
, all tags for the volume are copied to snapshots where the
* user doesn't specify tags. If this value is true
and you specify
* one or more tags, only the specified tags are copied to snapshots. If you
* specify one or more tags when creating the snapshot, no tags are copied from the
* volume, regardless of this value.
A Boolean value indicating whether tags for the volume should be copied to
* snapshots. This value defaults to false
. If it's set to
* true
, all tags for the volume are copied to snapshots where the
* user doesn't specify tags. If this value is true
and you specify
* one or more tags, only the specified tags are copied to snapshots. If you
* specify one or more tags when creating the snapshot, no tags are copied from the
* volume, regardless of this value.
A Boolean value indicating whether tags for the volume should be copied to
* snapshots. This value defaults to false
. If it's set to
* true
, all tags for the volume are copied to snapshots where the
* user doesn't specify tags. If this value is true
and you specify
* one or more tags, only the specified tags are copied to snapshots. If you
* specify one or more tags when creating the snapshot, no tags are copied from the
* volume, regardless of this value.
A Boolean value indicating whether tags for the volume should be copied to
* snapshots. This value defaults to false
. If it's set to
* true
, all tags for the volume are copied to snapshots where the
* user doesn't specify tags. If this value is true
and you specify
* one or more tags, only the specified tags are copied to snapshots. If you
* specify one or more tags when creating the snapshot, no tags are copied from the
* volume, regardless of this value.
Specifies the file-system deployment type. Amazon FSx for OpenZFS
* supports
SINGLE_AZ_1
and SINGLE_AZ_2
.
Specifies the file-system deployment type. Amazon FSx for OpenZFS
* supports
SINGLE_AZ_1
and SINGLE_AZ_2
.
Specifies the file-system deployment type. Amazon FSx for OpenZFS
* supports
SINGLE_AZ_1
and SINGLE_AZ_2
.
Specifies the file-system deployment type. Amazon FSx for OpenZFS
* supports
SINGLE_AZ_1
and SINGLE_AZ_2
.
Specifies the file-system deployment type. Amazon FSx for OpenZFS
* supports
SINGLE_AZ_1
and SINGLE_AZ_2
.
Specifies the file-system deployment type. Amazon FSx for OpenZFS
* supports
SINGLE_AZ_1
and SINGLE_AZ_2
.
The throughput of an Amazon FSx file system, measured in megabytes per second * (MBps).
*/ inline int GetThroughputCapacity() const{ return m_throughputCapacity; } /** *The throughput of an Amazon FSx file system, measured in megabytes per second * (MBps).
*/ inline bool ThroughputCapacityHasBeenSet() const { return m_throughputCapacityHasBeenSet; } /** *The throughput of an Amazon FSx file system, measured in megabytes per second * (MBps).
*/ inline void SetThroughputCapacity(int value) { m_throughputCapacityHasBeenSet = true; m_throughputCapacity = value; } /** *The throughput of an Amazon FSx file system, measured in megabytes per second * (MBps).
*/ inline OpenZFSFileSystemConfiguration& WithThroughputCapacity(int value) { SetThroughputCapacity(value); return *this;} inline const Aws::String& GetWeeklyMaintenanceStartTime() const{ return m_weeklyMaintenanceStartTime; } inline bool WeeklyMaintenanceStartTimeHasBeenSet() const { return m_weeklyMaintenanceStartTimeHasBeenSet; } inline void SetWeeklyMaintenanceStartTime(const Aws::String& value) { m_weeklyMaintenanceStartTimeHasBeenSet = true; m_weeklyMaintenanceStartTime = value; } inline void SetWeeklyMaintenanceStartTime(Aws::String&& value) { m_weeklyMaintenanceStartTimeHasBeenSet = true; m_weeklyMaintenanceStartTime = std::move(value); } inline void SetWeeklyMaintenanceStartTime(const char* value) { m_weeklyMaintenanceStartTimeHasBeenSet = true; m_weeklyMaintenanceStartTime.assign(value); } inline OpenZFSFileSystemConfiguration& WithWeeklyMaintenanceStartTime(const Aws::String& value) { SetWeeklyMaintenanceStartTime(value); return *this;} inline OpenZFSFileSystemConfiguration& WithWeeklyMaintenanceStartTime(Aws::String&& value) { SetWeeklyMaintenanceStartTime(std::move(value)); return *this;} inline OpenZFSFileSystemConfiguration& WithWeeklyMaintenanceStartTime(const char* value) { SetWeeklyMaintenanceStartTime(value); return *this;} inline const DiskIopsConfiguration& GetDiskIopsConfiguration() const{ return m_diskIopsConfiguration; } inline bool DiskIopsConfigurationHasBeenSet() const { return m_diskIopsConfigurationHasBeenSet; } inline void SetDiskIopsConfiguration(const DiskIopsConfiguration& value) { m_diskIopsConfigurationHasBeenSet = true; m_diskIopsConfiguration = value; } inline void SetDiskIopsConfiguration(DiskIopsConfiguration&& value) { m_diskIopsConfigurationHasBeenSet = true; m_diskIopsConfiguration = std::move(value); } inline OpenZFSFileSystemConfiguration& WithDiskIopsConfiguration(const DiskIopsConfiguration& value) { SetDiskIopsConfiguration(value); return *this;} inline OpenZFSFileSystemConfiguration& WithDiskIopsConfiguration(DiskIopsConfiguration&& value) { SetDiskIopsConfiguration(std::move(value)); return *this;} /** *The ID of the root volume of the OpenZFS file system.
*/ inline const Aws::String& GetRootVolumeId() const{ return m_rootVolumeId; } /** *The ID of the root volume of the OpenZFS file system.
*/ inline bool RootVolumeIdHasBeenSet() const { return m_rootVolumeIdHasBeenSet; } /** *The ID of the root volume of the OpenZFS file system.
*/ inline void SetRootVolumeId(const Aws::String& value) { m_rootVolumeIdHasBeenSet = true; m_rootVolumeId = value; } /** *The ID of the root volume of the OpenZFS file system.
*/ inline void SetRootVolumeId(Aws::String&& value) { m_rootVolumeIdHasBeenSet = true; m_rootVolumeId = std::move(value); } /** *The ID of the root volume of the OpenZFS file system.
*/ inline void SetRootVolumeId(const char* value) { m_rootVolumeIdHasBeenSet = true; m_rootVolumeId.assign(value); } /** *The ID of the root volume of the OpenZFS file system.
*/ inline OpenZFSFileSystemConfiguration& WithRootVolumeId(const Aws::String& value) { SetRootVolumeId(value); return *this;} /** *The ID of the root volume of the OpenZFS file system.
*/ inline OpenZFSFileSystemConfiguration& WithRootVolumeId(Aws::String&& value) { SetRootVolumeId(std::move(value)); return *this;} /** *The ID of the root volume of the OpenZFS file system.
*/ inline OpenZFSFileSystemConfiguration& WithRootVolumeId(const char* value) { SetRootVolumeId(value); return *this;} private: int m_automaticBackupRetentionDays; bool m_automaticBackupRetentionDaysHasBeenSet = false; bool m_copyTagsToBackups; bool m_copyTagsToBackupsHasBeenSet = false; bool m_copyTagsToVolumes; bool m_copyTagsToVolumesHasBeenSet = false; Aws::String m_dailyAutomaticBackupStartTime; bool m_dailyAutomaticBackupStartTimeHasBeenSet = false; OpenZFSDeploymentType m_deploymentType; bool m_deploymentTypeHasBeenSet = false; int m_throughputCapacity; bool m_throughputCapacityHasBeenSet = false; Aws::String m_weeklyMaintenanceStartTime; bool m_weeklyMaintenanceStartTimeHasBeenSet = false; DiskIopsConfiguration m_diskIopsConfiguration; bool m_diskIopsConfigurationHasBeenSet = false; Aws::String m_rootVolumeId; bool m_rootVolumeIdHasBeenSet = false; }; } // namespace Model } // namespace FSx } // namespace Aws