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

The request object for DeleteFileSystem operation.

See * Also:

AWS * API Reference

*/ class DeleteFileSystemRequest : public FSxRequest { public: AWS_FSX_API DeleteFileSystemRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteFileSystem"; } AWS_FSX_API Aws::String SerializePayload() const override; AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the file system that you want to delete.

*/ inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; } /** *

The ID of the file system that you want to delete.

*/ inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; } /** *

The ID of the file system that you want to delete.

*/ inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; } /** *

The ID of the file system that you want to delete.

*/ inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); } /** *

The ID of the file system that you want to delete.

*/ inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); } /** *

The ID of the file system that you want to delete.

*/ inline DeleteFileSystemRequest& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;} /** *

The ID of the file system that you want to delete.

*/ inline DeleteFileSystemRequest& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;} /** *

The ID of the file system that you want to delete.

*/ inline DeleteFileSystemRequest& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;} /** *

A string of up to 63 ASCII characters that Amazon FSx uses to ensure * idempotent deletion. This token is automatically filled on your behalf when * using 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 deletion. This token is automatically filled on your behalf when * using 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 deletion. This token is automatically filled on your behalf when * using 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 deletion. This token is automatically filled on your behalf when * using 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 deletion. This token is automatically filled on your behalf when * using 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 deletion. This token is automatically filled on your behalf when * using the Command Line Interface (CLI) or an Amazon Web Services SDK.

*/ inline DeleteFileSystemRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} /** *

A string of up to 63 ASCII characters that Amazon FSx uses to ensure * idempotent deletion. This token is automatically filled on your behalf when * using the Command Line Interface (CLI) or an Amazon Web Services SDK.

*/ inline DeleteFileSystemRequest& 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 deletion. This token is automatically filled on your behalf when * using the Command Line Interface (CLI) or an Amazon Web Services SDK.

*/ inline DeleteFileSystemRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} inline const DeleteFileSystemWindowsConfiguration& GetWindowsConfiguration() const{ return m_windowsConfiguration; } inline bool WindowsConfigurationHasBeenSet() const { return m_windowsConfigurationHasBeenSet; } inline void SetWindowsConfiguration(const DeleteFileSystemWindowsConfiguration& value) { m_windowsConfigurationHasBeenSet = true; m_windowsConfiguration = value; } inline void SetWindowsConfiguration(DeleteFileSystemWindowsConfiguration&& value) { m_windowsConfigurationHasBeenSet = true; m_windowsConfiguration = std::move(value); } inline DeleteFileSystemRequest& WithWindowsConfiguration(const DeleteFileSystemWindowsConfiguration& value) { SetWindowsConfiguration(value); return *this;} inline DeleteFileSystemRequest& WithWindowsConfiguration(DeleteFileSystemWindowsConfiguration&& value) { SetWindowsConfiguration(std::move(value)); return *this;} inline const DeleteFileSystemLustreConfiguration& GetLustreConfiguration() const{ return m_lustreConfiguration; } inline bool LustreConfigurationHasBeenSet() const { return m_lustreConfigurationHasBeenSet; } inline void SetLustreConfiguration(const DeleteFileSystemLustreConfiguration& value) { m_lustreConfigurationHasBeenSet = true; m_lustreConfiguration = value; } inline void SetLustreConfiguration(DeleteFileSystemLustreConfiguration&& value) { m_lustreConfigurationHasBeenSet = true; m_lustreConfiguration = std::move(value); } inline DeleteFileSystemRequest& WithLustreConfiguration(const DeleteFileSystemLustreConfiguration& value) { SetLustreConfiguration(value); return *this;} inline DeleteFileSystemRequest& WithLustreConfiguration(DeleteFileSystemLustreConfiguration&& value) { SetLustreConfiguration(std::move(value)); return *this;} /** *

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

*/ inline const DeleteFileSystemOpenZFSConfiguration& GetOpenZFSConfiguration() const{ return m_openZFSConfiguration; } /** *

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

*/ inline bool OpenZFSConfigurationHasBeenSet() const { return m_openZFSConfigurationHasBeenSet; } /** *

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

*/ inline void SetOpenZFSConfiguration(const DeleteFileSystemOpenZFSConfiguration& value) { m_openZFSConfigurationHasBeenSet = true; m_openZFSConfiguration = value; } /** *

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

*/ inline void SetOpenZFSConfiguration(DeleteFileSystemOpenZFSConfiguration&& value) { m_openZFSConfigurationHasBeenSet = true; m_openZFSConfiguration = std::move(value); } /** *

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

*/ inline DeleteFileSystemRequest& WithOpenZFSConfiguration(const DeleteFileSystemOpenZFSConfiguration& value) { SetOpenZFSConfiguration(value); return *this;} /** *

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

*/ inline DeleteFileSystemRequest& WithOpenZFSConfiguration(DeleteFileSystemOpenZFSConfiguration&& value) { SetOpenZFSConfiguration(std::move(value)); return *this;} private: Aws::String m_fileSystemId; bool m_fileSystemIdHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; DeleteFileSystemWindowsConfiguration m_windowsConfiguration; bool m_windowsConfigurationHasBeenSet = false; DeleteFileSystemLustreConfiguration m_lustreConfiguration; bool m_lustreConfigurationHasBeenSet = false; DeleteFileSystemOpenZFSConfiguration m_openZFSConfiguration; bool m_openZFSConfigurationHasBeenSet = false; }; } // namespace Model } // namespace FSx } // namespace Aws