/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the storage for a user.See Also:
AWS
* API Reference
The amount of storage used, in bytes.
*/ inline long long GetStorageUtilizedInBytes() const{ return m_storageUtilizedInBytes; } /** *The amount of storage used, in bytes.
*/ inline bool StorageUtilizedInBytesHasBeenSet() const { return m_storageUtilizedInBytesHasBeenSet; } /** *The amount of storage used, in bytes.
*/ inline void SetStorageUtilizedInBytes(long long value) { m_storageUtilizedInBytesHasBeenSet = true; m_storageUtilizedInBytes = value; } /** *The amount of storage used, in bytes.
*/ inline UserStorageMetadata& WithStorageUtilizedInBytes(long long value) { SetStorageUtilizedInBytes(value); return *this;} /** *The storage for a user.
*/ inline const StorageRuleType& GetStorageRule() const{ return m_storageRule; } /** *The storage for a user.
*/ inline bool StorageRuleHasBeenSet() const { return m_storageRuleHasBeenSet; } /** *The storage for a user.
*/ inline void SetStorageRule(const StorageRuleType& value) { m_storageRuleHasBeenSet = true; m_storageRule = value; } /** *The storage for a user.
*/ inline void SetStorageRule(StorageRuleType&& value) { m_storageRuleHasBeenSet = true; m_storageRule = std::move(value); } /** *The storage for a user.
*/ inline UserStorageMetadata& WithStorageRule(const StorageRuleType& value) { SetStorageRule(value); return *this;} /** *The storage for a user.
*/ inline UserStorageMetadata& WithStorageRule(StorageRuleType&& value) { SetStorageRule(std::move(value)); return *this;} private: long long m_storageUtilizedInBytes; bool m_storageUtilizedInBytesHasBeenSet = false; StorageRuleType m_storageRule; bool m_storageRuleHasBeenSet = false; }; } // namespace Model } // namespace WorkDocs } // namespace Aws