7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/FSxRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/fsx/model/CreateFileSystemWindowsConfiguration.h>
12#include <aws/fsx/model/CreateFileSystemLustreConfiguration.h>
13#include <aws/fsx/model/StorageType.h>
14#include <aws/fsx/model/CreateFileSystemOpenZFSConfiguration.h>
15#include <aws/fsx/model/Tag.h>
17#include <aws/core/utils/UUID.h>
52 template<
typename BackupIdT = Aws::String>
53 void SetBackupId(BackupIdT&& value) { m_backupIdHasBeenSet =
true; m_backupId = std::forward<BackupIdT>(value); }
54 template<
typename BackupIdT = Aws::String>
66 template<
typename ClientRequestTokenT = Aws::String>
67 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
68 template<
typename ClientRequestTokenT = Aws::String>
86 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
87 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
88 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
90 template<
typename SubnetIdsT = Aws::String>
103 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
104 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
105 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
107 template<
typename SecurityGroupIdsT = Aws::String>
119 template<
typename TagsT = Aws::Vector<Tag>>
120 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
121 template<
typename TagsT = Aws::Vector<Tag>>
123 template<
typename TagsT = Tag>
133 template<
typename WindowsConfigurationT = CreateFileSystemWindowsConfiguration>
134 void SetWindowsConfiguration(WindowsConfigurationT&& value) { m_windowsConfigurationHasBeenSet =
true; m_windowsConfiguration = std::forward<WindowsConfigurationT>(value); }
135 template<
typename WindowsConfigurationT = CreateFileSystemWindowsConfiguration>
143 template<
typename LustreConfigurationT = CreateFileSystemLustreConfiguration>
144 void SetLustreConfiguration(LustreConfigurationT&& value) { m_lustreConfigurationHasBeenSet =
true; m_lustreConfiguration = std::forward<LustreConfigurationT>(value); }
145 template<
typename LustreConfigurationT = CreateFileSystemLustreConfiguration>
179 template<
typename KmsKeyIdT = Aws::String>
180 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
181 template<
typename KmsKeyIdT = Aws::String>
195 template<
typename FileSystemTypeVersionT = Aws::String>
196 void SetFileSystemTypeVersion(FileSystemTypeVersionT&& value) { m_fileSystemTypeVersionHasBeenSet =
true; m_fileSystemTypeVersion = std::forward<FileSystemTypeVersionT>(value); }
197 template<
typename FileSystemTypeVersionT = Aws::String>
207 template<
typename OpenZFSConfigurationT = CreateFileSystemOpenZFSConfiguration>
208 void SetOpenZFSConfiguration(OpenZFSConfigurationT&& value) { m_openZFSConfigurationHasBeenSet =
true; m_openZFSConfiguration = std::forward<OpenZFSConfigurationT>(value); }
209 template<
typename OpenZFSConfigurationT = CreateFileSystemOpenZFSConfiguration>
227 inline void SetStorageCapacity(
int value) { m_storageCapacityHasBeenSet =
true; m_storageCapacity = value; }
233 bool m_backupIdHasBeenSet =
false;
236 bool m_clientRequestTokenHasBeenSet =
true;
239 bool m_subnetIdsHasBeenSet =
false;
242 bool m_securityGroupIdsHasBeenSet =
false;
245 bool m_tagsHasBeenSet =
false;
247 CreateFileSystemWindowsConfiguration m_windowsConfiguration;
248 bool m_windowsConfigurationHasBeenSet =
false;
250 CreateFileSystemLustreConfiguration m_lustreConfiguration;
251 bool m_lustreConfigurationHasBeenSet =
false;
254 bool m_storageTypeHasBeenSet =
false;
257 bool m_kmsKeyIdHasBeenSet =
false;
260 bool m_fileSystemTypeVersionHasBeenSet =
false;
262 CreateFileSystemOpenZFSConfiguration m_openZFSConfiguration;
263 bool m_openZFSConfigurationHasBeenSet =
false;
265 int m_storageCapacity{0};
266 bool m_storageCapacityHasBeenSet =
false;
bool ClientRequestTokenHasBeenSet() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
CreateFileSystemFromBackupRequest & WithFileSystemTypeVersion(FileSystemTypeVersionT &&value)
bool StorageTypeHasBeenSet() const
CreateFileSystemFromBackupRequest & WithKmsKeyId(KmsKeyIdT &&value)
bool FileSystemTypeVersionHasBeenSet() const
CreateFileSystemFromBackupRequest & AddSecurityGroupIds(SecurityGroupIdsT &&value)
bool TagsHasBeenSet() const
StorageType GetStorageType() const
void SetStorageType(StorageType value)
void SetWindowsConfiguration(WindowsConfigurationT &&value)
bool KmsKeyIdHasBeenSet() const
bool LustreConfigurationHasBeenSet() const
void SetTags(TagsT &&value)
void SetFileSystemTypeVersion(FileSystemTypeVersionT &&value)
const Aws::String & GetBackupId() const
CreateFileSystemFromBackupRequest & AddSubnetIds(SubnetIdsT &&value)
const CreateFileSystemOpenZFSConfiguration & GetOpenZFSConfiguration() const
const CreateFileSystemWindowsConfiguration & GetWindowsConfiguration() const
void SetLustreConfiguration(LustreConfigurationT &&value)
CreateFileSystemFromBackupRequest & AddTags(TagsT &&value)
CreateFileSystemFromBackupRequest & WithSecurityGroupIds(SecurityGroupIdsT &&value)
virtual const char * GetServiceRequestName() const override
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
CreateFileSystemFromBackupRequest & WithStorageType(StorageType value)
void SetOpenZFSConfiguration(OpenZFSConfigurationT &&value)
const Aws::Vector< Tag > & GetTags() const
CreateFileSystemFromBackupRequest & WithOpenZFSConfiguration(OpenZFSConfigurationT &&value)
void SetSubnetIds(SubnetIdsT &&value)
CreateFileSystemFromBackupRequest & WithSubnetIds(SubnetIdsT &&value)
bool StorageCapacityHasBeenSet() const
CreateFileSystemFromBackupRequest & WithLustreConfiguration(LustreConfigurationT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
AWS_FSX_API Aws::String SerializePayload() const override
CreateFileSystemFromBackupRequest & WithBackupId(BackupIdT &&value)
bool BackupIdHasBeenSet() const
AWS_FSX_API CreateFileSystemFromBackupRequest()=default
void SetKmsKeyId(KmsKeyIdT &&value)
void SetBackupId(BackupIdT &&value)
int GetStorageCapacity() const
CreateFileSystemFromBackupRequest & WithClientRequestToken(ClientRequestTokenT &&value)
CreateFileSystemFromBackupRequest & WithTags(TagsT &&value)
bool WindowsConfigurationHasBeenSet() const
const CreateFileSystemLustreConfiguration & GetLustreConfiguration() const
bool SecurityGroupIdsHasBeenSet() const
CreateFileSystemFromBackupRequest & WithStorageCapacity(int value)
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool OpenZFSConfigurationHasBeenSet() const
const Aws::String & GetFileSystemTypeVersion() const
bool SubnetIdsHasBeenSet() const
const Aws::String & GetKmsKeyId() const
CreateFileSystemFromBackupRequest & WithWindowsConfiguration(WindowsConfigurationT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
void SetStorageCapacity(int value)
const Aws::String & GetClientRequestToken() const
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector