/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The configuration object for Amazon FSx for Lustre file systems used in the
* UpdateFileSystem operation.See Also:
AWS
* API Reference
(Optional) The preferred start time to perform weekly maintenance, formatted * d:HH:MM in the UTC time zone. d is the weekday number, from 1 through 7, * beginning with Monday and ending with Sunday.
*/ inline const Aws::String& GetWeeklyMaintenanceStartTime() const{ return m_weeklyMaintenanceStartTime; } /** *(Optional) The preferred start time to perform weekly maintenance, formatted * d:HH:MM in the UTC time zone. d is the weekday number, from 1 through 7, * beginning with Monday and ending with Sunday.
*/ inline bool WeeklyMaintenanceStartTimeHasBeenSet() const { return m_weeklyMaintenanceStartTimeHasBeenSet; } /** *(Optional) The preferred start time to perform weekly maintenance, formatted * d:HH:MM in the UTC time zone. d is the weekday number, from 1 through 7, * beginning with Monday and ending with Sunday.
*/ inline void SetWeeklyMaintenanceStartTime(const Aws::String& value) { m_weeklyMaintenanceStartTimeHasBeenSet = true; m_weeklyMaintenanceStartTime = value; } /** *(Optional) The preferred start time to perform weekly maintenance, formatted * d:HH:MM in the UTC time zone. d is the weekday number, from 1 through 7, * beginning with Monday and ending with Sunday.
*/ inline void SetWeeklyMaintenanceStartTime(Aws::String&& value) { m_weeklyMaintenanceStartTimeHasBeenSet = true; m_weeklyMaintenanceStartTime = std::move(value); } /** *(Optional) The preferred start time to perform weekly maintenance, formatted * d:HH:MM in the UTC time zone. d is the weekday number, from 1 through 7, * beginning with Monday and ending with Sunday.
*/ inline void SetWeeklyMaintenanceStartTime(const char* value) { m_weeklyMaintenanceStartTimeHasBeenSet = true; m_weeklyMaintenanceStartTime.assign(value); } /** *(Optional) The preferred start time to perform weekly maintenance, formatted * d:HH:MM in the UTC time zone. d is the weekday number, from 1 through 7, * beginning with Monday and ending with Sunday.
*/ inline UpdateFileSystemLustreConfiguration& WithWeeklyMaintenanceStartTime(const Aws::String& value) { SetWeeklyMaintenanceStartTime(value); return *this;} /** *(Optional) The preferred start time to perform weekly maintenance, formatted * d:HH:MM in the UTC time zone. d is the weekday number, from 1 through 7, * beginning with Monday and ending with Sunday.
*/ inline UpdateFileSystemLustreConfiguration& WithWeeklyMaintenanceStartTime(Aws::String&& value) { SetWeeklyMaintenanceStartTime(std::move(value)); return *this;} /** *(Optional) The preferred start time to perform weekly maintenance, formatted * d:HH:MM in the UTC time zone. d is the weekday number, from 1 through 7, * beginning with Monday and ending with Sunday.
*/ inline UpdateFileSystemLustreConfiguration& WithWeeklyMaintenanceStartTime(const char* value) { SetWeeklyMaintenanceStartTime(value); return *this;} inline const Aws::String& GetDailyAutomaticBackupStartTime() const{ return m_dailyAutomaticBackupStartTime; } inline bool DailyAutomaticBackupStartTimeHasBeenSet() const { return m_dailyAutomaticBackupStartTimeHasBeenSet; } inline void SetDailyAutomaticBackupStartTime(const Aws::String& value) { m_dailyAutomaticBackupStartTimeHasBeenSet = true; m_dailyAutomaticBackupStartTime = value; } inline void SetDailyAutomaticBackupStartTime(Aws::String&& value) { m_dailyAutomaticBackupStartTimeHasBeenSet = true; m_dailyAutomaticBackupStartTime = std::move(value); } inline void SetDailyAutomaticBackupStartTime(const char* value) { m_dailyAutomaticBackupStartTimeHasBeenSet = true; m_dailyAutomaticBackupStartTime.assign(value); } inline UpdateFileSystemLustreConfiguration& WithDailyAutomaticBackupStartTime(const Aws::String& value) { SetDailyAutomaticBackupStartTime(value); return *this;} inline UpdateFileSystemLustreConfiguration& WithDailyAutomaticBackupStartTime(Aws::String&& value) { SetDailyAutomaticBackupStartTime(std::move(value)); return *this;} inline UpdateFileSystemLustreConfiguration& WithDailyAutomaticBackupStartTime(const char* value) { SetDailyAutomaticBackupStartTime(value); return *this;} inline int GetAutomaticBackupRetentionDays() const{ return m_automaticBackupRetentionDays; } inline bool AutomaticBackupRetentionDaysHasBeenSet() const { return m_automaticBackupRetentionDaysHasBeenSet; } inline void SetAutomaticBackupRetentionDays(int value) { m_automaticBackupRetentionDaysHasBeenSet = true; m_automaticBackupRetentionDays = value; } inline UpdateFileSystemLustreConfiguration& WithAutomaticBackupRetentionDays(int value) { SetAutomaticBackupRetentionDays(value); return *this;} /** * (Optional) When you create your file system, your existing S3 objects appear
* as file and directory listings. Use this property to choose how Amazon FSx keeps
* your file and directory listing up to date as you add or modify objects in your
* linked S3 bucket. AutoImportPolicy can have the following
* values:
NONE - (Default) AutoImport is off.
* Amazon FSx only updates file and directory listings from the linked S3 bucket
* when the file system is created. FSx does not update the file and directory
* listing for any new or changed objects after choosing this option.
NEW - AutoImport is on. Amazon FSx automatically imports
* directory listings of any new objects added to the linked S3 bucket that do not
* currently exist in the FSx file system.
* NEW_CHANGED - AutoImport is on. Amazon FSx automatically imports
* file and directory listings of any new objects added to the S3 bucket and any
* existing objects that are changed in the S3 bucket after you choose this option.
*
For more information, see Automatically * import updates from your S3 bucket.
*/ inline const AutoImportPolicyType& GetAutoImportPolicy() const{ return m_autoImportPolicy; } /** * (Optional) When you create your file system, your existing S3 objects appear
* as file and directory listings. Use this property to choose how Amazon FSx keeps
* your file and directory listing up to date as you add or modify objects in your
* linked S3 bucket. AutoImportPolicy can have the following
* values:
NONE - (Default) AutoImport is off.
* Amazon FSx only updates file and directory listings from the linked S3 bucket
* when the file system is created. FSx does not update the file and directory
* listing for any new or changed objects after choosing this option.
NEW - AutoImport is on. Amazon FSx automatically imports
* directory listings of any new objects added to the linked S3 bucket that do not
* currently exist in the FSx file system.
* NEW_CHANGED - AutoImport is on. Amazon FSx automatically imports
* file and directory listings of any new objects added to the S3 bucket and any
* existing objects that are changed in the S3 bucket after you choose this option.
*
For more information, see Automatically * import updates from your S3 bucket.
*/ inline bool AutoImportPolicyHasBeenSet() const { return m_autoImportPolicyHasBeenSet; } /** * (Optional) When you create your file system, your existing S3 objects appear
* as file and directory listings. Use this property to choose how Amazon FSx keeps
* your file and directory listing up to date as you add or modify objects in your
* linked S3 bucket. AutoImportPolicy can have the following
* values:
NONE - (Default) AutoImport is off.
* Amazon FSx only updates file and directory listings from the linked S3 bucket
* when the file system is created. FSx does not update the file and directory
* listing for any new or changed objects after choosing this option.
NEW - AutoImport is on. Amazon FSx automatically imports
* directory listings of any new objects added to the linked S3 bucket that do not
* currently exist in the FSx file system.
* NEW_CHANGED - AutoImport is on. Amazon FSx automatically imports
* file and directory listings of any new objects added to the S3 bucket and any
* existing objects that are changed in the S3 bucket after you choose this option.
*
For more information, see Automatically * import updates from your S3 bucket.
*/ inline void SetAutoImportPolicy(const AutoImportPolicyType& value) { m_autoImportPolicyHasBeenSet = true; m_autoImportPolicy = value; } /** * (Optional) When you create your file system, your existing S3 objects appear
* as file and directory listings. Use this property to choose how Amazon FSx keeps
* your file and directory listing up to date as you add or modify objects in your
* linked S3 bucket. AutoImportPolicy can have the following
* values:
NONE - (Default) AutoImport is off.
* Amazon FSx only updates file and directory listings from the linked S3 bucket
* when the file system is created. FSx does not update the file and directory
* listing for any new or changed objects after choosing this option.
NEW - AutoImport is on. Amazon FSx automatically imports
* directory listings of any new objects added to the linked S3 bucket that do not
* currently exist in the FSx file system.
* NEW_CHANGED - AutoImport is on. Amazon FSx automatically imports
* file and directory listings of any new objects added to the S3 bucket and any
* existing objects that are changed in the S3 bucket after you choose this option.
*
For more information, see Automatically * import updates from your S3 bucket.
*/ inline void SetAutoImportPolicy(AutoImportPolicyType&& value) { m_autoImportPolicyHasBeenSet = true; m_autoImportPolicy = std::move(value); } /** * (Optional) When you create your file system, your existing S3 objects appear
* as file and directory listings. Use this property to choose how Amazon FSx keeps
* your file and directory listing up to date as you add or modify objects in your
* linked S3 bucket. AutoImportPolicy can have the following
* values:
NONE - (Default) AutoImport is off.
* Amazon FSx only updates file and directory listings from the linked S3 bucket
* when the file system is created. FSx does not update the file and directory
* listing for any new or changed objects after choosing this option.
NEW - AutoImport is on. Amazon FSx automatically imports
* directory listings of any new objects added to the linked S3 bucket that do not
* currently exist in the FSx file system.
* NEW_CHANGED - AutoImport is on. Amazon FSx automatically imports
* file and directory listings of any new objects added to the S3 bucket and any
* existing objects that are changed in the S3 bucket after you choose this option.
*
For more information, see Automatically * import updates from your S3 bucket.
*/ inline UpdateFileSystemLustreConfiguration& WithAutoImportPolicy(const AutoImportPolicyType& value) { SetAutoImportPolicy(value); return *this;} /** * (Optional) When you create your file system, your existing S3 objects appear
* as file and directory listings. Use this property to choose how Amazon FSx keeps
* your file and directory listing up to date as you add or modify objects in your
* linked S3 bucket. AutoImportPolicy can have the following
* values:
NONE - (Default) AutoImport is off.
* Amazon FSx only updates file and directory listings from the linked S3 bucket
* when the file system is created. FSx does not update the file and directory
* listing for any new or changed objects after choosing this option.
NEW - AutoImport is on. Amazon FSx automatically imports
* directory listings of any new objects added to the linked S3 bucket that do not
* currently exist in the FSx file system.
* NEW_CHANGED - AutoImport is on. Amazon FSx automatically imports
* file and directory listings of any new objects added to the S3 bucket and any
* existing objects that are changed in the S3 bucket after you choose this option.
*
For more information, see Automatically * import updates from your S3 bucket.
*/ inline UpdateFileSystemLustreConfiguration& WithAutoImportPolicy(AutoImportPolicyType&& value) { SetAutoImportPolicy(std::move(value)); return *this;} private: Aws::String m_weeklyMaintenanceStartTime; bool m_weeklyMaintenanceStartTimeHasBeenSet; Aws::String m_dailyAutomaticBackupStartTime; bool m_dailyAutomaticBackupStartTimeHasBeenSet; int m_automaticBackupRetentionDays; bool m_automaticBackupRetentionDaysHasBeenSet; AutoImportPolicyType m_autoImportPolicy; bool m_autoImportPolicyHasBeenSet; }; } // namespace Model } // namespace FSx } // namespace Aws