/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The request object for the CreateFileSystemFromBackup
* operation.See Also:
AWS
* API Reference
A string of up to 63 ASCII characters that Amazon FSx uses to ensure * idempotent creation. This string is automatically filled on your behalf when you * use the Command Line Interface (CLI) or an Amazon Web Services SDK.
*/ inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } /** *A string of up to 63 ASCII characters that Amazon FSx uses to ensure * idempotent creation. This string is automatically filled on your behalf when you * use the Command Line Interface (CLI) or an Amazon Web Services SDK.
*/ inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } /** *A string of up to 63 ASCII characters that Amazon FSx uses to ensure * idempotent creation. This string is automatically filled on your behalf when you * use the Command Line Interface (CLI) or an Amazon Web Services SDK.
*/ inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } /** *A string of up to 63 ASCII characters that Amazon FSx uses to ensure * idempotent creation. This string is automatically filled on your behalf when you * use the Command Line Interface (CLI) or an Amazon Web Services SDK.
*/ inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } /** *A string of up to 63 ASCII characters that Amazon FSx uses to ensure * idempotent creation. This string is automatically filled on your behalf when you * use the Command Line Interface (CLI) or an Amazon Web Services SDK.
*/ inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } /** *A string of up to 63 ASCII characters that Amazon FSx uses to ensure * idempotent creation. This string is automatically filled on your behalf when you * use the Command Line Interface (CLI) or an Amazon Web Services SDK.
*/ inline CreateFileSystemFromBackupRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} /** *A string of up to 63 ASCII characters that Amazon FSx uses to ensure * idempotent creation. This string is automatically filled on your behalf when you * use the Command Line Interface (CLI) or an Amazon Web Services SDK.
*/ inline CreateFileSystemFromBackupRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} /** *A string of up to 63 ASCII characters that Amazon FSx uses to ensure * idempotent creation. This string is automatically filled on your behalf when you * use the Command Line Interface (CLI) or an Amazon Web Services SDK.
*/ inline CreateFileSystemFromBackupRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} /** *Specifies the IDs of the subnets that the file system will be accessible
* from. For Windows MULTI_AZ_1
file system deployment types, provide
* exactly two subnet IDs, one for the preferred file server and one for the
* standby file server. You specify one of these subnets as the preferred subnet
* using the WindowsConfiguration > PreferredSubnetID
property.
Windows SINGLE_AZ_1
and SINGLE_AZ_2
file system
* deployment types, Lustre file systems, and OpenZFS file systems provide exactly
* one subnet ID. The file server is launched in that subnet's Availability
* Zone.
Specifies the IDs of the subnets that the file system will be accessible
* from. For Windows MULTI_AZ_1
file system deployment types, provide
* exactly two subnet IDs, one for the preferred file server and one for the
* standby file server. You specify one of these subnets as the preferred subnet
* using the WindowsConfiguration > PreferredSubnetID
property.
Windows SINGLE_AZ_1
and SINGLE_AZ_2
file system
* deployment types, Lustre file systems, and OpenZFS file systems provide exactly
* one subnet ID. The file server is launched in that subnet's Availability
* Zone.
Specifies the IDs of the subnets that the file system will be accessible
* from. For Windows MULTI_AZ_1
file system deployment types, provide
* exactly two subnet IDs, one for the preferred file server and one for the
* standby file server. You specify one of these subnets as the preferred subnet
* using the WindowsConfiguration > PreferredSubnetID
property.
Windows SINGLE_AZ_1
and SINGLE_AZ_2
file system
* deployment types, Lustre file systems, and OpenZFS file systems provide exactly
* one subnet ID. The file server is launched in that subnet's Availability
* Zone.
Specifies the IDs of the subnets that the file system will be accessible
* from. For Windows MULTI_AZ_1
file system deployment types, provide
* exactly two subnet IDs, one for the preferred file server and one for the
* standby file server. You specify one of these subnets as the preferred subnet
* using the WindowsConfiguration > PreferredSubnetID
property.
Windows SINGLE_AZ_1
and SINGLE_AZ_2
file system
* deployment types, Lustre file systems, and OpenZFS file systems provide exactly
* one subnet ID. The file server is launched in that subnet's Availability
* Zone.
Specifies the IDs of the subnets that the file system will be accessible
* from. For Windows MULTI_AZ_1
file system deployment types, provide
* exactly two subnet IDs, one for the preferred file server and one for the
* standby file server. You specify one of these subnets as the preferred subnet
* using the WindowsConfiguration > PreferredSubnetID
property.
Windows SINGLE_AZ_1
and SINGLE_AZ_2
file system
* deployment types, Lustre file systems, and OpenZFS file systems provide exactly
* one subnet ID. The file server is launched in that subnet's Availability
* Zone.
Specifies the IDs of the subnets that the file system will be accessible
* from. For Windows MULTI_AZ_1
file system deployment types, provide
* exactly two subnet IDs, one for the preferred file server and one for the
* standby file server. You specify one of these subnets as the preferred subnet
* using the WindowsConfiguration > PreferredSubnetID
property.
Windows SINGLE_AZ_1
and SINGLE_AZ_2
file system
* deployment types, Lustre file systems, and OpenZFS file systems provide exactly
* one subnet ID. The file server is launched in that subnet's Availability
* Zone.
Specifies the IDs of the subnets that the file system will be accessible
* from. For Windows MULTI_AZ_1
file system deployment types, provide
* exactly two subnet IDs, one for the preferred file server and one for the
* standby file server. You specify one of these subnets as the preferred subnet
* using the WindowsConfiguration > PreferredSubnetID
property.
Windows SINGLE_AZ_1
and SINGLE_AZ_2
file system
* deployment types, Lustre file systems, and OpenZFS file systems provide exactly
* one subnet ID. The file server is launched in that subnet's Availability
* Zone.
Specifies the IDs of the subnets that the file system will be accessible
* from. For Windows MULTI_AZ_1
file system deployment types, provide
* exactly two subnet IDs, one for the preferred file server and one for the
* standby file server. You specify one of these subnets as the preferred subnet
* using the WindowsConfiguration > PreferredSubnetID
property.
Windows SINGLE_AZ_1
and SINGLE_AZ_2
file system
* deployment types, Lustre file systems, and OpenZFS file systems provide exactly
* one subnet ID. The file server is launched in that subnet's Availability
* Zone.
Specifies the IDs of the subnets that the file system will be accessible
* from. For Windows MULTI_AZ_1
file system deployment types, provide
* exactly two subnet IDs, one for the preferred file server and one for the
* standby file server. You specify one of these subnets as the preferred subnet
* using the WindowsConfiguration > PreferredSubnetID
property.
Windows SINGLE_AZ_1
and SINGLE_AZ_2
file system
* deployment types, Lustre file systems, and OpenZFS file systems provide exactly
* one subnet ID. The file server is launched in that subnet's Availability
* Zone.
A list of IDs for the security groups that apply to the specified network
* interfaces created for file system access. These security groups apply to all
* network interfaces. This value isn't returned in later
* DescribeFileSystem
requests.
A list of IDs for the security groups that apply to the specified network
* interfaces created for file system access. These security groups apply to all
* network interfaces. This value isn't returned in later
* DescribeFileSystem
requests.
A list of IDs for the security groups that apply to the specified network
* interfaces created for file system access. These security groups apply to all
* network interfaces. This value isn't returned in later
* DescribeFileSystem
requests.
A list of IDs for the security groups that apply to the specified network
* interfaces created for file system access. These security groups apply to all
* network interfaces. This value isn't returned in later
* DescribeFileSystem
requests.
A list of IDs for the security groups that apply to the specified network
* interfaces created for file system access. These security groups apply to all
* network interfaces. This value isn't returned in later
* DescribeFileSystem
requests.
A list of IDs for the security groups that apply to the specified network
* interfaces created for file system access. These security groups apply to all
* network interfaces. This value isn't returned in later
* DescribeFileSystem
requests.
A list of IDs for the security groups that apply to the specified network
* interfaces created for file system access. These security groups apply to all
* network interfaces. This value isn't returned in later
* DescribeFileSystem
requests.
A list of IDs for the security groups that apply to the specified network
* interfaces created for file system access. These security groups apply to all
* network interfaces. This value isn't returned in later
* DescribeFileSystem
requests.
A list of IDs for the security groups that apply to the specified network
* interfaces created for file system access. These security groups apply to all
* network interfaces. This value isn't returned in later
* DescribeFileSystem
requests.
The tags to be applied to the file system at file system creation. The key
* value of the Name
tag appears in the console as the file system
* name.
The tags to be applied to the file system at file system creation. The key
* value of the Name
tag appears in the console as the file system
* name.
The tags to be applied to the file system at file system creation. The key
* value of the Name
tag appears in the console as the file system
* name.
The tags to be applied to the file system at file system creation. The key
* value of the Name
tag appears in the console as the file system
* name.
The tags to be applied to the file system at file system creation. The key
* value of the Name
tag appears in the console as the file system
* name.
The tags to be applied to the file system at file system creation. The key
* value of the Name
tag appears in the console as the file system
* name.
The tags to be applied to the file system at file system creation. The key
* value of the Name
tag appears in the console as the file system
* name.
The tags to be applied to the file system at file system creation. The key
* value of the Name
tag appears in the console as the file system
* name.
The configuration for this Microsoft Windows file system.
*/ inline const CreateFileSystemWindowsConfiguration& GetWindowsConfiguration() const{ return m_windowsConfiguration; } /** *The configuration for this Microsoft Windows file system.
*/ inline bool WindowsConfigurationHasBeenSet() const { return m_windowsConfigurationHasBeenSet; } /** *The configuration for this Microsoft Windows file system.
*/ inline void SetWindowsConfiguration(const CreateFileSystemWindowsConfiguration& value) { m_windowsConfigurationHasBeenSet = true; m_windowsConfiguration = value; } /** *The configuration for this Microsoft Windows file system.
*/ inline void SetWindowsConfiguration(CreateFileSystemWindowsConfiguration&& value) { m_windowsConfigurationHasBeenSet = true; m_windowsConfiguration = std::move(value); } /** *The configuration for this Microsoft Windows file system.
*/ inline CreateFileSystemFromBackupRequest& WithWindowsConfiguration(const CreateFileSystemWindowsConfiguration& value) { SetWindowsConfiguration(value); return *this;} /** *The configuration for this Microsoft Windows file system.
*/ inline CreateFileSystemFromBackupRequest& WithWindowsConfiguration(CreateFileSystemWindowsConfiguration&& value) { SetWindowsConfiguration(std::move(value)); return *this;} inline const CreateFileSystemLustreConfiguration& GetLustreConfiguration() const{ return m_lustreConfiguration; } inline bool LustreConfigurationHasBeenSet() const { return m_lustreConfigurationHasBeenSet; } inline void SetLustreConfiguration(const CreateFileSystemLustreConfiguration& value) { m_lustreConfigurationHasBeenSet = true; m_lustreConfiguration = value; } inline void SetLustreConfiguration(CreateFileSystemLustreConfiguration&& value) { m_lustreConfigurationHasBeenSet = true; m_lustreConfiguration = std::move(value); } inline CreateFileSystemFromBackupRequest& WithLustreConfiguration(const CreateFileSystemLustreConfiguration& value) { SetLustreConfiguration(value); return *this;} inline CreateFileSystemFromBackupRequest& WithLustreConfiguration(CreateFileSystemLustreConfiguration&& value) { SetLustreConfiguration(std::move(value)); return *this;} /** *Sets the storage type for the Windows or OpenZFS file system that you're
* creating from a backup. Valid values are SSD
and
* HDD
.
Set to SSD
to use solid state
* drive storage. SSD is supported on all Windows and OpenZFS deployment types.
Set to HDD
to use hard disk drive storage. HDD is
* supported on SINGLE_AZ_2
and MULTI_AZ_1
FSx for
* Windows File Server file system deployment types.
The
* default value is SSD
.
HDD and SSD storage types have * different minimum storage capacity requirements. A restored file system's * storage capacity is tied to the file system that was backed up. You can create a * file system that uses HDD storage from a backup of a file system that used SSD * storage if the original SSD file system had a storage capacity of at least 2000 * GiB.
*/ inline const StorageType& GetStorageType() const{ return m_storageType; } /** *Sets the storage type for the Windows or OpenZFS file system that you're
* creating from a backup. Valid values are SSD
and
* HDD
.
Set to SSD
to use solid state
* drive storage. SSD is supported on all Windows and OpenZFS deployment types.
Set to HDD
to use hard disk drive storage. HDD is
* supported on SINGLE_AZ_2
and MULTI_AZ_1
FSx for
* Windows File Server file system deployment types.
The
* default value is SSD
.
HDD and SSD storage types have * different minimum storage capacity requirements. A restored file system's * storage capacity is tied to the file system that was backed up. You can create a * file system that uses HDD storage from a backup of a file system that used SSD * storage if the original SSD file system had a storage capacity of at least 2000 * GiB.
*/ inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; } /** *Sets the storage type for the Windows or OpenZFS file system that you're
* creating from a backup. Valid values are SSD
and
* HDD
.
Set to SSD
to use solid state
* drive storage. SSD is supported on all Windows and OpenZFS deployment types.
Set to HDD
to use hard disk drive storage. HDD is
* supported on SINGLE_AZ_2
and MULTI_AZ_1
FSx for
* Windows File Server file system deployment types.
The
* default value is SSD
.
HDD and SSD storage types have * different minimum storage capacity requirements. A restored file system's * storage capacity is tied to the file system that was backed up. You can create a * file system that uses HDD storage from a backup of a file system that used SSD * storage if the original SSD file system had a storage capacity of at least 2000 * GiB.
*/ inline void SetStorageType(const StorageType& value) { m_storageTypeHasBeenSet = true; m_storageType = value; } /** *Sets the storage type for the Windows or OpenZFS file system that you're
* creating from a backup. Valid values are SSD
and
* HDD
.
Set to SSD
to use solid state
* drive storage. SSD is supported on all Windows and OpenZFS deployment types.
Set to HDD
to use hard disk drive storage. HDD is
* supported on SINGLE_AZ_2
and MULTI_AZ_1
FSx for
* Windows File Server file system deployment types.
The
* default value is SSD
.
HDD and SSD storage types have * different minimum storage capacity requirements. A restored file system's * storage capacity is tied to the file system that was backed up. You can create a * file system that uses HDD storage from a backup of a file system that used SSD * storage if the original SSD file system had a storage capacity of at least 2000 * GiB.
*/ inline void SetStorageType(StorageType&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); } /** *Sets the storage type for the Windows or OpenZFS file system that you're
* creating from a backup. Valid values are SSD
and
* HDD
.
Set to SSD
to use solid state
* drive storage. SSD is supported on all Windows and OpenZFS deployment types.
Set to HDD
to use hard disk drive storage. HDD is
* supported on SINGLE_AZ_2
and MULTI_AZ_1
FSx for
* Windows File Server file system deployment types.
The
* default value is SSD
.
HDD and SSD storage types have * different minimum storage capacity requirements. A restored file system's * storage capacity is tied to the file system that was backed up. You can create a * file system that uses HDD storage from a backup of a file system that used SSD * storage if the original SSD file system had a storage capacity of at least 2000 * GiB.
*/ inline CreateFileSystemFromBackupRequest& WithStorageType(const StorageType& value) { SetStorageType(value); return *this;} /** *Sets the storage type for the Windows or OpenZFS file system that you're
* creating from a backup. Valid values are SSD
and
* HDD
.
Set to SSD
to use solid state
* drive storage. SSD is supported on all Windows and OpenZFS deployment types.
Set to HDD
to use hard disk drive storage. HDD is
* supported on SINGLE_AZ_2
and MULTI_AZ_1
FSx for
* Windows File Server file system deployment types.
The
* default value is SSD
.
HDD and SSD storage types have * different minimum storage capacity requirements. A restored file system's * storage capacity is tied to the file system that was backed up. You can create a * file system that uses HDD storage from a backup of a file system that used SSD * storage if the original SSD file system had a storage capacity of at least 2000 * GiB.
*/ inline CreateFileSystemFromBackupRequest& WithStorageType(StorageType&& value) { SetStorageType(std::move(value)); return *this;} inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } inline CreateFileSystemFromBackupRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} inline CreateFileSystemFromBackupRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} inline CreateFileSystemFromBackupRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** *Sets the version for the Amazon FSx for Lustre file system that you're
* creating from a backup. Valid values are 2.10
and
* 2.12
.
You don't need to specify
* FileSystemTypeVersion
because it will be applied using the backup's
* FileSystemTypeVersion
setting. If you choose to specify
* FileSystemTypeVersion
when creating from backup, the value must
* match the backup's FileSystemTypeVersion
setting.
Sets the version for the Amazon FSx for Lustre file system that you're
* creating from a backup. Valid values are 2.10
and
* 2.12
.
You don't need to specify
* FileSystemTypeVersion
because it will be applied using the backup's
* FileSystemTypeVersion
setting. If you choose to specify
* FileSystemTypeVersion
when creating from backup, the value must
* match the backup's FileSystemTypeVersion
setting.
Sets the version for the Amazon FSx for Lustre file system that you're
* creating from a backup. Valid values are 2.10
and
* 2.12
.
You don't need to specify
* FileSystemTypeVersion
because it will be applied using the backup's
* FileSystemTypeVersion
setting. If you choose to specify
* FileSystemTypeVersion
when creating from backup, the value must
* match the backup's FileSystemTypeVersion
setting.
Sets the version for the Amazon FSx for Lustre file system that you're
* creating from a backup. Valid values are 2.10
and
* 2.12
.
You don't need to specify
* FileSystemTypeVersion
because it will be applied using the backup's
* FileSystemTypeVersion
setting. If you choose to specify
* FileSystemTypeVersion
when creating from backup, the value must
* match the backup's FileSystemTypeVersion
setting.
Sets the version for the Amazon FSx for Lustre file system that you're
* creating from a backup. Valid values are 2.10
and
* 2.12
.
You don't need to specify
* FileSystemTypeVersion
because it will be applied using the backup's
* FileSystemTypeVersion
setting. If you choose to specify
* FileSystemTypeVersion
when creating from backup, the value must
* match the backup's FileSystemTypeVersion
setting.
Sets the version for the Amazon FSx for Lustre file system that you're
* creating from a backup. Valid values are 2.10
and
* 2.12
.
You don't need to specify
* FileSystemTypeVersion
because it will be applied using the backup's
* FileSystemTypeVersion
setting. If you choose to specify
* FileSystemTypeVersion
when creating from backup, the value must
* match the backup's FileSystemTypeVersion
setting.
Sets the version for the Amazon FSx for Lustre file system that you're
* creating from a backup. Valid values are 2.10
and
* 2.12
.
You don't need to specify
* FileSystemTypeVersion
because it will be applied using the backup's
* FileSystemTypeVersion
setting. If you choose to specify
* FileSystemTypeVersion
when creating from backup, the value must
* match the backup's FileSystemTypeVersion
setting.
Sets the version for the Amazon FSx for Lustre file system that you're
* creating from a backup. Valid values are 2.10
and
* 2.12
.
You don't need to specify
* FileSystemTypeVersion
because it will be applied using the backup's
* FileSystemTypeVersion
setting. If you choose to specify
* FileSystemTypeVersion
when creating from backup, the value must
* match the backup's FileSystemTypeVersion
setting.
The OpenZFS configuration for the file system that's being created.
*/ inline const CreateFileSystemOpenZFSConfiguration& GetOpenZFSConfiguration() const{ return m_openZFSConfiguration; } /** *The OpenZFS configuration for the file system that's being created.
*/ inline bool OpenZFSConfigurationHasBeenSet() const { return m_openZFSConfigurationHasBeenSet; } /** *The OpenZFS configuration for the file system that's being created.
*/ inline void SetOpenZFSConfiguration(const CreateFileSystemOpenZFSConfiguration& value) { m_openZFSConfigurationHasBeenSet = true; m_openZFSConfiguration = value; } /** *The OpenZFS configuration for the file system that's being created.
*/ inline void SetOpenZFSConfiguration(CreateFileSystemOpenZFSConfiguration&& value) { m_openZFSConfigurationHasBeenSet = true; m_openZFSConfiguration = std::move(value); } /** *The OpenZFS configuration for the file system that's being created.
*/ inline CreateFileSystemFromBackupRequest& WithOpenZFSConfiguration(const CreateFileSystemOpenZFSConfiguration& value) { SetOpenZFSConfiguration(value); return *this;} /** *The OpenZFS configuration for the file system that's being created.
*/ inline CreateFileSystemFromBackupRequest& WithOpenZFSConfiguration(CreateFileSystemOpenZFSConfiguration&& value) { SetOpenZFSConfiguration(std::move(value)); return *this;} /** *Sets the storage capacity of the OpenZFS file system that you're creating
* from a backup, in gibibytes (GiB). Valid values are from 64 GiB up to 524,288
* GiB (512 TiB). However, the value that you specify must be equal to or greater
* than the backup's storage capacity value. If you don't use the
* StorageCapacity
parameter, the default is the backup's
* StorageCapacity
value.
If used to create a file system other
* than OpenZFS, you must provide a value that matches the backup's
* StorageCapacity
value. If you provide any other value, Amazon FSx
* responds with a 400 Bad Request.
Sets the storage capacity of the OpenZFS file system that you're creating
* from a backup, in gibibytes (GiB). Valid values are from 64 GiB up to 524,288
* GiB (512 TiB). However, the value that you specify must be equal to or greater
* than the backup's storage capacity value. If you don't use the
* StorageCapacity
parameter, the default is the backup's
* StorageCapacity
value.
If used to create a file system other
* than OpenZFS, you must provide a value that matches the backup's
* StorageCapacity
value. If you provide any other value, Amazon FSx
* responds with a 400 Bad Request.
Sets the storage capacity of the OpenZFS file system that you're creating
* from a backup, in gibibytes (GiB). Valid values are from 64 GiB up to 524,288
* GiB (512 TiB). However, the value that you specify must be equal to or greater
* than the backup's storage capacity value. If you don't use the
* StorageCapacity
parameter, the default is the backup's
* StorageCapacity
value.
If used to create a file system other
* than OpenZFS, you must provide a value that matches the backup's
* StorageCapacity
value. If you provide any other value, Amazon FSx
* responds with a 400 Bad Request.
Sets the storage capacity of the OpenZFS file system that you're creating
* from a backup, in gibibytes (GiB). Valid values are from 64 GiB up to 524,288
* GiB (512 TiB). However, the value that you specify must be equal to or greater
* than the backup's storage capacity value. If you don't use the
* StorageCapacity
parameter, the default is the backup's
* StorageCapacity
value.
If used to create a file system other
* than OpenZFS, you must provide a value that matches the backup's
* StorageCapacity
value. If you provide any other value, Amazon FSx
* responds with a 400 Bad Request.