/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The storage capacity of an on-premises storage system resource (for example,
* a volume).See Also:
AWS
* API Reference
The amount of space that's being used in a storage system resource.
*/ inline long long GetUsed() const{ return m_used; } /** *The amount of space that's being used in a storage system resource.
*/ inline bool UsedHasBeenSet() const { return m_usedHasBeenSet; } /** *The amount of space that's being used in a storage system resource.
*/ inline void SetUsed(long long value) { m_usedHasBeenSet = true; m_used = value; } /** *The amount of space that's being used in a storage system resource.
*/ inline Capacity& WithUsed(long long value) { SetUsed(value); return *this;} /** *The total amount of space available in a storage system resource.
*/ inline long long GetProvisioned() const{ return m_provisioned; } /** *The total amount of space available in a storage system resource.
*/ inline bool ProvisionedHasBeenSet() const { return m_provisionedHasBeenSet; } /** *The total amount of space available in a storage system resource.
*/ inline void SetProvisioned(long long value) { m_provisionedHasBeenSet = true; m_provisioned = value; } /** *The total amount of space available in a storage system resource.
*/ inline Capacity& WithProvisioned(long long value) { SetProvisioned(value); return *this;} /** *The amount of space that's being used in a storage system resource without * accounting for compression or deduplication.
*/ inline long long GetLogicalUsed() const{ return m_logicalUsed; } /** *The amount of space that's being used in a storage system resource without * accounting for compression or deduplication.
*/ inline bool LogicalUsedHasBeenSet() const { return m_logicalUsedHasBeenSet; } /** *The amount of space that's being used in a storage system resource without * accounting for compression or deduplication.
*/ inline void SetLogicalUsed(long long value) { m_logicalUsedHasBeenSet = true; m_logicalUsed = value; } /** *The amount of space that's being used in a storage system resource without * accounting for compression or deduplication.
*/ inline Capacity& WithLogicalUsed(long long value) { SetLogicalUsed(value); return *this;} private: long long m_used; bool m_usedHasBeenSet = false; long long m_provisioned; bool m_provisionedHasBeenSet = false; long long m_logicalUsed; bool m_logicalUsedHasBeenSet = false; }; } // namespace Model } // namespace DataSync } // namespace Aws