/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace FSx { namespace Model { /** *

The configuration object for the Microsoft Windows file system used in the * DeleteFileSystem operation.

See Also:

AWS * API Reference

*/ class AWS_FSX_API DeleteFileSystemWindowsConfiguration { public: DeleteFileSystemWindowsConfiguration(); DeleteFileSystemWindowsConfiguration(Aws::Utils::Json::JsonView jsonValue); DeleteFileSystemWindowsConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

By default, Amazon FSx for Windows takes a final backup on your behalf when * the DeleteFileSystem operation is invoked. Doing this helps protect * you from data loss, and we highly recommend taking the final backup. If you want * to skip this backup, use this flag to do so.

*/ inline bool GetSkipFinalBackup() const{ return m_skipFinalBackup; } /** *

By default, Amazon FSx for Windows takes a final backup on your behalf when * the DeleteFileSystem operation is invoked. Doing this helps protect * you from data loss, and we highly recommend taking the final backup. If you want * to skip this backup, use this flag to do so.

*/ inline bool SkipFinalBackupHasBeenSet() const { return m_skipFinalBackupHasBeenSet; } /** *

By default, Amazon FSx for Windows takes a final backup on your behalf when * the DeleteFileSystem operation is invoked. Doing this helps protect * you from data loss, and we highly recommend taking the final backup. If you want * to skip this backup, use this flag to do so.

*/ inline void SetSkipFinalBackup(bool value) { m_skipFinalBackupHasBeenSet = true; m_skipFinalBackup = value; } /** *

By default, Amazon FSx for Windows takes a final backup on your behalf when * the DeleteFileSystem operation is invoked. Doing this helps protect * you from data loss, and we highly recommend taking the final backup. If you want * to skip this backup, use this flag to do so.

*/ inline DeleteFileSystemWindowsConfiguration& WithSkipFinalBackup(bool value) { SetSkipFinalBackup(value); return *this;} /** *

A set of tags for your final backup.

*/ inline const Aws::Vector& GetFinalBackupTags() const{ return m_finalBackupTags; } /** *

A set of tags for your final backup.

*/ inline bool FinalBackupTagsHasBeenSet() const { return m_finalBackupTagsHasBeenSet; } /** *

A set of tags for your final backup.

*/ inline void SetFinalBackupTags(const Aws::Vector& value) { m_finalBackupTagsHasBeenSet = true; m_finalBackupTags = value; } /** *

A set of tags for your final backup.

*/ inline void SetFinalBackupTags(Aws::Vector&& value) { m_finalBackupTagsHasBeenSet = true; m_finalBackupTags = std::move(value); } /** *

A set of tags for your final backup.

*/ inline DeleteFileSystemWindowsConfiguration& WithFinalBackupTags(const Aws::Vector& value) { SetFinalBackupTags(value); return *this;} /** *

A set of tags for your final backup.

*/ inline DeleteFileSystemWindowsConfiguration& WithFinalBackupTags(Aws::Vector&& value) { SetFinalBackupTags(std::move(value)); return *this;} /** *

A set of tags for your final backup.

*/ inline DeleteFileSystemWindowsConfiguration& AddFinalBackupTags(const Tag& value) { m_finalBackupTagsHasBeenSet = true; m_finalBackupTags.push_back(value); return *this; } /** *

A set of tags for your final backup.

*/ inline DeleteFileSystemWindowsConfiguration& AddFinalBackupTags(Tag&& value) { m_finalBackupTagsHasBeenSet = true; m_finalBackupTags.push_back(std::move(value)); return *this; } private: bool m_skipFinalBackup; bool m_skipFinalBackupHasBeenSet; Aws::Vector m_finalBackupTags; bool m_finalBackupTagsHasBeenSet; }; } // namespace Model } // namespace FSx } // namespace Aws