/** * 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 * Storage Gateway service Tape Gateway type on an Amazon Web Services Snow Family * device.

See Also:

AWS * API Reference

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

The maximum number of virtual tapes to store on one Snow Family device. Due * to physical resource limitations, this value must be set to 80 for Snowball * Edge.

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

The maximum number of virtual tapes to store on one Snow Family device. Due * to physical resource limitations, this value must be set to 80 for Snowball * Edge.

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

The maximum number of virtual tapes to store on one Snow Family device. Due * to physical resource limitations, this value must be set to 80 for Snowball * Edge.

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

The maximum number of virtual tapes to store on one Snow Family device. Due * to physical resource limitations, this value must be set to 80 for Snowball * Edge.

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

The scale unit of the virtual tapes on the device.

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

The scale unit of the virtual tapes on the device.

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

The scale unit of the virtual tapes on the device.

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

The scale unit of the virtual tapes on the device.

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

The scale unit of the virtual tapes on the device.

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

The scale unit of the virtual tapes on the device.

*/ inline TGWOnDeviceServiceConfiguration& 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