AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateFileSystemLustreConfiguration.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fsx/model/LustreDeploymentType.h>
10#include <aws/fsx/model/AutoImportPolicyType.h>
11#include <aws/fsx/model/DriveCacheType.h>
12#include <aws/fsx/model/DataCompressionType.h>
13#include <aws/fsx/model/LustreLogCreateConfiguration.h>
14#include <aws/fsx/model/LustreRootSquashConfiguration.h>
15#include <aws/fsx/model/CreateFileSystemLustreMetadataConfiguration.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace FSx
29{
30namespace Model
31{
32
44 {
45 public:
50
51
53
58 inline const Aws::String& GetWeeklyMaintenanceStartTime() const{ return m_weeklyMaintenanceStartTime; }
59 inline bool WeeklyMaintenanceStartTimeHasBeenSet() const { return m_weeklyMaintenanceStartTimeHasBeenSet; }
60 inline void SetWeeklyMaintenanceStartTime(const Aws::String& value) { m_weeklyMaintenanceStartTimeHasBeenSet = true; m_weeklyMaintenanceStartTime = value; }
61 inline void SetWeeklyMaintenanceStartTime(Aws::String&& value) { m_weeklyMaintenanceStartTimeHasBeenSet = true; m_weeklyMaintenanceStartTime = std::move(value); }
62 inline void SetWeeklyMaintenanceStartTime(const char* value) { m_weeklyMaintenanceStartTimeHasBeenSet = true; m_weeklyMaintenanceStartTime.assign(value); }
67
69
79 inline const Aws::String& GetImportPath() const{ return m_importPath; }
80 inline bool ImportPathHasBeenSet() const { return m_importPathHasBeenSet; }
81 inline void SetImportPath(const Aws::String& value) { m_importPathHasBeenSet = true; m_importPath = value; }
82 inline void SetImportPath(Aws::String&& value) { m_importPathHasBeenSet = true; m_importPath = std::move(value); }
83 inline void SetImportPath(const char* value) { m_importPathHasBeenSet = true; m_importPath.assign(value); }
84 inline CreateFileSystemLustreConfiguration& WithImportPath(const Aws::String& value) { SetImportPath(value); return *this;}
85 inline CreateFileSystemLustreConfiguration& WithImportPath(Aws::String&& value) { SetImportPath(std::move(value)); return *this;}
86 inline CreateFileSystemLustreConfiguration& WithImportPath(const char* value) { SetImportPath(value); return *this;}
88
90
109 inline const Aws::String& GetExportPath() const{ return m_exportPath; }
110 inline bool ExportPathHasBeenSet() const { return m_exportPathHasBeenSet; }
111 inline void SetExportPath(const Aws::String& value) { m_exportPathHasBeenSet = true; m_exportPath = value; }
112 inline void SetExportPath(Aws::String&& value) { m_exportPathHasBeenSet = true; m_exportPath = std::move(value); }
113 inline void SetExportPath(const char* value) { m_exportPathHasBeenSet = true; m_exportPath.assign(value); }
115 inline CreateFileSystemLustreConfiguration& WithExportPath(Aws::String&& value) { SetExportPath(std::move(value)); return *this;}
116 inline CreateFileSystemLustreConfiguration& WithExportPath(const char* value) { SetExportPath(value); return *this;}
118
120
130 inline int GetImportedFileChunkSize() const{ return m_importedFileChunkSize; }
131 inline bool ImportedFileChunkSizeHasBeenSet() const { return m_importedFileChunkSizeHasBeenSet; }
132 inline void SetImportedFileChunkSize(int value) { m_importedFileChunkSizeHasBeenSet = true; m_importedFileChunkSize = value; }
135
137
169 inline const LustreDeploymentType& GetDeploymentType() const{ return m_deploymentType; }
170 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
171 inline void SetDeploymentType(const LustreDeploymentType& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; }
172 inline void SetDeploymentType(LustreDeploymentType&& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = std::move(value); }
176
178
202 inline const AutoImportPolicyType& GetAutoImportPolicy() const{ return m_autoImportPolicy; }
203 inline bool AutoImportPolicyHasBeenSet() const { return m_autoImportPolicyHasBeenSet; }
204 inline void SetAutoImportPolicy(const AutoImportPolicyType& value) { m_autoImportPolicyHasBeenSet = true; m_autoImportPolicy = value; }
205 inline void SetAutoImportPolicy(AutoImportPolicyType&& value) { m_autoImportPolicyHasBeenSet = true; m_autoImportPolicy = std::move(value); }
209
211
225 inline int GetPerUnitStorageThroughput() const{ return m_perUnitStorageThroughput; }
226 inline bool PerUnitStorageThroughputHasBeenSet() const { return m_perUnitStorageThroughputHasBeenSet; }
227 inline void SetPerUnitStorageThroughput(int value) { m_perUnitStorageThroughputHasBeenSet = true; m_perUnitStorageThroughput = value; }
230
232
233 inline const Aws::String& GetDailyAutomaticBackupStartTime() const{ return m_dailyAutomaticBackupStartTime; }
234 inline bool DailyAutomaticBackupStartTimeHasBeenSet() const { return m_dailyAutomaticBackupStartTimeHasBeenSet; }
235 inline void SetDailyAutomaticBackupStartTime(const Aws::String& value) { m_dailyAutomaticBackupStartTimeHasBeenSet = true; m_dailyAutomaticBackupStartTime = value; }
236 inline void SetDailyAutomaticBackupStartTime(Aws::String&& value) { m_dailyAutomaticBackupStartTimeHasBeenSet = true; m_dailyAutomaticBackupStartTime = std::move(value); }
237 inline void SetDailyAutomaticBackupStartTime(const char* value) { m_dailyAutomaticBackupStartTimeHasBeenSet = true; m_dailyAutomaticBackupStartTime.assign(value); }
242
244
249 inline int GetAutomaticBackupRetentionDays() const{ return m_automaticBackupRetentionDays; }
250 inline bool AutomaticBackupRetentionDaysHasBeenSet() const { return m_automaticBackupRetentionDaysHasBeenSet; }
251 inline void SetAutomaticBackupRetentionDays(int value) { m_automaticBackupRetentionDaysHasBeenSet = true; m_automaticBackupRetentionDays = value; }
254
256
270 inline bool GetCopyTagsToBackups() const{ return m_copyTagsToBackups; }
271 inline bool CopyTagsToBackupsHasBeenSet() const { return m_copyTagsToBackupsHasBeenSet; }
272 inline void SetCopyTagsToBackups(bool value) { m_copyTagsToBackupsHasBeenSet = true; m_copyTagsToBackups = value; }
275
277
285 inline const DriveCacheType& GetDriveCacheType() const{ return m_driveCacheType; }
286 inline bool DriveCacheTypeHasBeenSet() const { return m_driveCacheTypeHasBeenSet; }
287 inline void SetDriveCacheType(const DriveCacheType& value) { m_driveCacheTypeHasBeenSet = true; m_driveCacheType = value; }
288 inline void SetDriveCacheType(DriveCacheType&& value) { m_driveCacheTypeHasBeenSet = true; m_driveCacheType = std::move(value); }
292
294
304 inline const DataCompressionType& GetDataCompressionType() const{ return m_dataCompressionType; }
305 inline bool DataCompressionTypeHasBeenSet() const { return m_dataCompressionTypeHasBeenSet; }
306 inline void SetDataCompressionType(const DataCompressionType& value) { m_dataCompressionTypeHasBeenSet = true; m_dataCompressionType = value; }
307 inline void SetDataCompressionType(DataCompressionType&& value) { m_dataCompressionTypeHasBeenSet = true; m_dataCompressionType = std::move(value); }
311
313
319 inline const LustreLogCreateConfiguration& GetLogConfiguration() const{ return m_logConfiguration; }
320 inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; }
321 inline void SetLogConfiguration(const LustreLogCreateConfiguration& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = value; }
322 inline void SetLogConfiguration(LustreLogCreateConfiguration&& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = std::move(value); }
326
328
333 inline const LustreRootSquashConfiguration& GetRootSquashConfiguration() const{ return m_rootSquashConfiguration; }
334 inline bool RootSquashConfigurationHasBeenSet() const { return m_rootSquashConfigurationHasBeenSet; }
335 inline void SetRootSquashConfiguration(const LustreRootSquashConfiguration& value) { m_rootSquashConfigurationHasBeenSet = true; m_rootSquashConfiguration = value; }
336 inline void SetRootSquashConfiguration(LustreRootSquashConfiguration&& value) { m_rootSquashConfigurationHasBeenSet = true; m_rootSquashConfiguration = std::move(value); }
340
342
346 inline const CreateFileSystemLustreMetadataConfiguration& GetMetadataConfiguration() const{ return m_metadataConfiguration; }
347 inline bool MetadataConfigurationHasBeenSet() const { return m_metadataConfigurationHasBeenSet; }
348 inline void SetMetadataConfiguration(const CreateFileSystemLustreMetadataConfiguration& value) { m_metadataConfigurationHasBeenSet = true; m_metadataConfiguration = value; }
349 inline void SetMetadataConfiguration(CreateFileSystemLustreMetadataConfiguration&& value) { m_metadataConfigurationHasBeenSet = true; m_metadataConfiguration = std::move(value); }
353 private:
354
355 Aws::String m_weeklyMaintenanceStartTime;
356 bool m_weeklyMaintenanceStartTimeHasBeenSet = false;
357
358 Aws::String m_importPath;
359 bool m_importPathHasBeenSet = false;
360
361 Aws::String m_exportPath;
362 bool m_exportPathHasBeenSet = false;
363
364 int m_importedFileChunkSize;
365 bool m_importedFileChunkSizeHasBeenSet = false;
366
367 LustreDeploymentType m_deploymentType;
368 bool m_deploymentTypeHasBeenSet = false;
369
370 AutoImportPolicyType m_autoImportPolicy;
371 bool m_autoImportPolicyHasBeenSet = false;
372
373 int m_perUnitStorageThroughput;
374 bool m_perUnitStorageThroughputHasBeenSet = false;
375
376 Aws::String m_dailyAutomaticBackupStartTime;
377 bool m_dailyAutomaticBackupStartTimeHasBeenSet = false;
378
379 int m_automaticBackupRetentionDays;
380 bool m_automaticBackupRetentionDaysHasBeenSet = false;
381
382 bool m_copyTagsToBackups;
383 bool m_copyTagsToBackupsHasBeenSet = false;
384
385 DriveCacheType m_driveCacheType;
386 bool m_driveCacheTypeHasBeenSet = false;
387
388 DataCompressionType m_dataCompressionType;
389 bool m_dataCompressionTypeHasBeenSet = false;
390
391 LustreLogCreateConfiguration m_logConfiguration;
392 bool m_logConfigurationHasBeenSet = false;
393
394 LustreRootSquashConfiguration m_rootSquashConfiguration;
395 bool m_rootSquashConfigurationHasBeenSet = false;
396
397 CreateFileSystemLustreMetadataConfiguration m_metadataConfiguration;
398 bool m_metadataConfigurationHasBeenSet = false;
399 };
400
401} // namespace Model
402} // namespace FSx
403} // namespace Aws
CreateFileSystemLustreConfiguration & WithDriveCacheType(DriveCacheType &&value)
CreateFileSystemLustreConfiguration & WithDailyAutomaticBackupStartTime(const char *value)
void SetRootSquashConfiguration(const LustreRootSquashConfiguration &value)
CreateFileSystemLustreConfiguration & WithAutoImportPolicy(AutoImportPolicyType &&value)
CreateFileSystemLustreConfiguration & WithExportPath(const Aws::String &value)
CreateFileSystemLustreConfiguration & WithImportedFileChunkSize(int value)
CreateFileSystemLustreConfiguration & WithDriveCacheType(const DriveCacheType &value)
const LustreRootSquashConfiguration & GetRootSquashConfiguration() const
CreateFileSystemLustreConfiguration & WithLogConfiguration(LustreLogCreateConfiguration &&value)
void SetMetadataConfiguration(const CreateFileSystemLustreMetadataConfiguration &value)
CreateFileSystemLustreConfiguration & WithImportPath(Aws::String &&value)
CreateFileSystemLustreConfiguration & WithImportPath(const char *value)
CreateFileSystemLustreConfiguration & WithCopyTagsToBackups(bool value)
CreateFileSystemLustreConfiguration & WithExportPath(Aws::String &&value)
CreateFileSystemLustreConfiguration & WithWeeklyMaintenanceStartTime(const Aws::String &value)
CreateFileSystemLustreConfiguration & WithDailyAutomaticBackupStartTime(const Aws::String &value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
CreateFileSystemLustreConfiguration & WithWeeklyMaintenanceStartTime(Aws::String &&value)
CreateFileSystemLustreConfiguration & WithWeeklyMaintenanceStartTime(const char *value)
CreateFileSystemLustreConfiguration & WithLogConfiguration(const LustreLogCreateConfiguration &value)
CreateFileSystemLustreConfiguration & WithRootSquashConfiguration(LustreRootSquashConfiguration &&value)
CreateFileSystemLustreConfiguration & WithAutomaticBackupRetentionDays(int value)
const CreateFileSystemLustreMetadataConfiguration & GetMetadataConfiguration() const
void SetMetadataConfiguration(CreateFileSystemLustreMetadataConfiguration &&value)
CreateFileSystemLustreConfiguration & WithMetadataConfiguration(const CreateFileSystemLustreMetadataConfiguration &value)
CreateFileSystemLustreConfiguration & WithImportPath(const Aws::String &value)
CreateFileSystemLustreConfiguration & WithDailyAutomaticBackupStartTime(Aws::String &&value)
CreateFileSystemLustreConfiguration & WithDataCompressionType(DataCompressionType &&value)
CreateFileSystemLustreConfiguration & WithDeploymentType(LustreDeploymentType &&value)
void SetRootSquashConfiguration(LustreRootSquashConfiguration &&value)
CreateFileSystemLustreConfiguration & WithDeploymentType(const LustreDeploymentType &value)
CreateFileSystemLustreConfiguration & WithAutoImportPolicy(const AutoImportPolicyType &value)
AWS_FSX_API CreateFileSystemLustreConfiguration(Aws::Utils::Json::JsonView jsonValue)
CreateFileSystemLustreConfiguration & WithDataCompressionType(const DataCompressionType &value)
CreateFileSystemLustreConfiguration & WithPerUnitStorageThroughput(int value)
CreateFileSystemLustreConfiguration & WithExportPath(const char *value)
CreateFileSystemLustreConfiguration & WithMetadataConfiguration(CreateFileSystemLustreMetadataConfiguration &&value)
void SetLogConfiguration(const LustreLogCreateConfiguration &value)
AWS_FSX_API CreateFileSystemLustreConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateFileSystemLustreConfiguration & WithRootSquashConfiguration(const LustreRootSquashConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue