/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The request object for the UpdateFileSystem
* operation.See Also:
AWS
* API Reference
Identifies the file system that you are updating.
*/ inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; } /** *Identifies the file system that you are updating.
*/ inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; } /** *Identifies the file system that you are updating.
*/ inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; } /** *Identifies the file system that you are updating.
*/ inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); } /** *Identifies the file system that you are updating.
*/ inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); } /** *Identifies the file system that you are updating.
*/ inline UpdateFileSystemRequest& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;} /** *Identifies the file system that you are updating.
*/ inline UpdateFileSystemRequest& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;} /** *Identifies the file system that you are updating.
*/ inline UpdateFileSystemRequest& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;} /** *A string of up to 64 ASCII characters that Amazon FSx uses to ensure * idempotent updates. This string is automatically filled on your behalf when you * use the AWS Command Line Interface (AWS CLI) or an AWS SDK.
*/ inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } /** *A string of up to 64 ASCII characters that Amazon FSx uses to ensure * idempotent updates. This string is automatically filled on your behalf when you * use the AWS Command Line Interface (AWS CLI) or an AWS SDK.
*/ inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } /** *A string of up to 64 ASCII characters that Amazon FSx uses to ensure * idempotent updates. This string is automatically filled on your behalf when you * use the AWS Command Line Interface (AWS CLI) or an AWS SDK.
*/ inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } /** *A string of up to 64 ASCII characters that Amazon FSx uses to ensure * idempotent updates. This string is automatically filled on your behalf when you * use the AWS Command Line Interface (AWS CLI) or an AWS SDK.
*/ inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } /** *A string of up to 64 ASCII characters that Amazon FSx uses to ensure * idempotent updates. This string is automatically filled on your behalf when you * use the AWS Command Line Interface (AWS CLI) or an AWS SDK.
*/ inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } /** *A string of up to 64 ASCII characters that Amazon FSx uses to ensure * idempotent updates. This string is automatically filled on your behalf when you * use the AWS Command Line Interface (AWS CLI) or an AWS SDK.
*/ inline UpdateFileSystemRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} /** *A string of up to 64 ASCII characters that Amazon FSx uses to ensure * idempotent updates. This string is automatically filled on your behalf when you * use the AWS Command Line Interface (AWS CLI) or an AWS SDK.
*/ inline UpdateFileSystemRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} /** *A string of up to 64 ASCII characters that Amazon FSx uses to ensure * idempotent updates. This string is automatically filled on your behalf when you * use the AWS Command Line Interface (AWS CLI) or an AWS SDK.
*/ inline UpdateFileSystemRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} /** *Use this parameter to increase the storage capacity of an Amazon FSx for * Windows File Server file system. Specifies the storage capacity target value, * GiB, for the file system you're updating. The storage capacity target value must * be at least 10 percent (%) greater than the current storage capacity value. In * order to increase storage capacity, the file system needs to have at least 16 * MB/s of throughput capacity. You cannot make a storage capacity increase request * if there is an existing storage capacity increase request in progress. For more * information, see Managing * Storage Capacity.
*/ inline int GetStorageCapacity() const{ return m_storageCapacity; } /** *Use this parameter to increase the storage capacity of an Amazon FSx for * Windows File Server file system. Specifies the storage capacity target value, * GiB, for the file system you're updating. The storage capacity target value must * be at least 10 percent (%) greater than the current storage capacity value. In * order to increase storage capacity, the file system needs to have at least 16 * MB/s of throughput capacity. You cannot make a storage capacity increase request * if there is an existing storage capacity increase request in progress. For more * information, see Managing * Storage Capacity.
*/ inline bool StorageCapacityHasBeenSet() const { return m_storageCapacityHasBeenSet; } /** *Use this parameter to increase the storage capacity of an Amazon FSx for * Windows File Server file system. Specifies the storage capacity target value, * GiB, for the file system you're updating. The storage capacity target value must * be at least 10 percent (%) greater than the current storage capacity value. In * order to increase storage capacity, the file system needs to have at least 16 * MB/s of throughput capacity. You cannot make a storage capacity increase request * if there is an existing storage capacity increase request in progress. For more * information, see Managing * Storage Capacity.
*/ inline void SetStorageCapacity(int value) { m_storageCapacityHasBeenSet = true; m_storageCapacity = value; } /** *Use this parameter to increase the storage capacity of an Amazon FSx for * Windows File Server file system. Specifies the storage capacity target value, * GiB, for the file system you're updating. The storage capacity target value must * be at least 10 percent (%) greater than the current storage capacity value. In * order to increase storage capacity, the file system needs to have at least 16 * MB/s of throughput capacity. You cannot make a storage capacity increase request * if there is an existing storage capacity increase request in progress. For more * information, see Managing * Storage Capacity.
*/ inline UpdateFileSystemRequest& WithStorageCapacity(int value) { SetStorageCapacity(value); return *this;} /** *The configuration updates for an Amazon FSx for Windows File Server file * system.
*/ inline const UpdateFileSystemWindowsConfiguration& GetWindowsConfiguration() const{ return m_windowsConfiguration; } /** *The configuration updates for an Amazon FSx for Windows File Server file * system.
*/ inline bool WindowsConfigurationHasBeenSet() const { return m_windowsConfigurationHasBeenSet; } /** *The configuration updates for an Amazon FSx for Windows File Server file * system.
*/ inline void SetWindowsConfiguration(const UpdateFileSystemWindowsConfiguration& value) { m_windowsConfigurationHasBeenSet = true; m_windowsConfiguration = value; } /** *The configuration updates for an Amazon FSx for Windows File Server file * system.
*/ inline void SetWindowsConfiguration(UpdateFileSystemWindowsConfiguration&& value) { m_windowsConfigurationHasBeenSet = true; m_windowsConfiguration = std::move(value); } /** *The configuration updates for an Amazon FSx for Windows File Server file * system.
*/ inline UpdateFileSystemRequest& WithWindowsConfiguration(const UpdateFileSystemWindowsConfiguration& value) { SetWindowsConfiguration(value); return *this;} /** *The configuration updates for an Amazon FSx for Windows File Server file * system.
*/ inline UpdateFileSystemRequest& WithWindowsConfiguration(UpdateFileSystemWindowsConfiguration&& value) { SetWindowsConfiguration(std::move(value)); return *this;} inline const UpdateFileSystemLustreConfiguration& GetLustreConfiguration() const{ return m_lustreConfiguration; } inline bool LustreConfigurationHasBeenSet() const { return m_lustreConfigurationHasBeenSet; } inline void SetLustreConfiguration(const UpdateFileSystemLustreConfiguration& value) { m_lustreConfigurationHasBeenSet = true; m_lustreConfiguration = value; } inline void SetLustreConfiguration(UpdateFileSystemLustreConfiguration&& value) { m_lustreConfigurationHasBeenSet = true; m_lustreConfiguration = std::move(value); } inline UpdateFileSystemRequest& WithLustreConfiguration(const UpdateFileSystemLustreConfiguration& value) { SetLustreConfiguration(value); return *this;} inline UpdateFileSystemRequest& WithLustreConfiguration(UpdateFileSystemLustreConfiguration&& value) { SetLustreConfiguration(std::move(value)); return *this;} private: Aws::String m_fileSystemId; bool m_fileSystemIdHasBeenSet; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet; int m_storageCapacity; bool m_storageCapacityHasBeenSet; UpdateFileSystemWindowsConfiguration m_windowsConfiguration; bool m_windowsConfigurationHasBeenSet; UpdateFileSystemLustreConfiguration m_lustreConfiguration; bool m_lustreConfigurationHasBeenSet; }; } // namespace Model } // namespace FSx } // namespace Aws