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

An object that represents the metadata and configuration settings for the NFS * (Network File System) service on an Amazon Web Services Snow Family * device.

See Also:

AWS * API Reference

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

The maximum NFS storage for one Snow Family device.

*/ inline int GetStorageLimit() const{ return m_storageLimit; } /** *

The maximum NFS storage for one Snow Family device.

*/ inline bool StorageLimitHasBeenSet() const { return m_storageLimitHasBeenSet; } /** *

The maximum NFS storage for one Snow Family device.

*/ inline void SetStorageLimit(int value) { m_storageLimitHasBeenSet = true; m_storageLimit = value; } /** *

The maximum NFS storage for one Snow Family device.

*/ inline NFSOnDeviceServiceConfiguration& WithStorageLimit(int value) { SetStorageLimit(value); return *this;} /** *

The scale unit of the NFS storage on the device.

Valid values: TB.

*/ inline const StorageUnit& GetStorageUnit() const{ return m_storageUnit; } /** *

The scale unit of the NFS storage on the device.

Valid values: TB.

*/ inline bool StorageUnitHasBeenSet() const { return m_storageUnitHasBeenSet; } /** *

The scale unit of the NFS storage on the device.

Valid values: TB.

*/ inline void SetStorageUnit(const StorageUnit& value) { m_storageUnitHasBeenSet = true; m_storageUnit = value; } /** *

The scale unit of the NFS storage on the device.

Valid values: TB.

*/ inline void SetStorageUnit(StorageUnit&& value) { m_storageUnitHasBeenSet = true; m_storageUnit = std::move(value); } /** *

The scale unit of the NFS storage on the device.

Valid values: TB.

*/ inline NFSOnDeviceServiceConfiguration& WithStorageUnit(const StorageUnit& value) { SetStorageUnit(value); return *this;} /** *

The scale unit of the NFS storage on the device.

Valid values: TB.

*/ inline NFSOnDeviceServiceConfiguration& WithStorageUnit(StorageUnit&& value) { SetStorageUnit(std::move(value)); return *this;} private: int m_storageLimit; bool m_storageLimitHasBeenSet = false; StorageUnit m_storageUnit; bool m_storageUnitHasBeenSet = false; }; } // namespace Model } // namespace Snowball } // namespace Aws