/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace FSx
{
namespace Model
{
/**
* The configuration for a Lustre MDT (Metadata Target) storage volume. The
* metadata on Amazon File Cache is managed by a Lustre Metadata Server (MDS) while
* the actual metadata is persisted on an MDT.
See Also:
AWS
* API Reference
*/
class FileCacheLustreMetadataConfiguration
{
public:
AWS_FSX_API FileCacheLustreMetadataConfiguration();
AWS_FSX_API FileCacheLustreMetadataConfiguration(Aws::Utils::Json::JsonView jsonValue);
AWS_FSX_API FileCacheLustreMetadataConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The storage capacity of the Lustre MDT (Metadata Target) storage volume in
* gibibytes (GiB). The only supported value is 2400
GiB.
*/
inline int GetStorageCapacity() const{ return m_storageCapacity; }
/**
* The storage capacity of the Lustre MDT (Metadata Target) storage volume in
* gibibytes (GiB). The only supported value is 2400
GiB.
*/
inline bool StorageCapacityHasBeenSet() const { return m_storageCapacityHasBeenSet; }
/**
* The storage capacity of the Lustre MDT (Metadata Target) storage volume in
* gibibytes (GiB). The only supported value is 2400
GiB.
*/
inline void SetStorageCapacity(int value) { m_storageCapacityHasBeenSet = true; m_storageCapacity = value; }
/**
* The storage capacity of the Lustre MDT (Metadata Target) storage volume in
* gibibytes (GiB). The only supported value is 2400
GiB.
*/
inline FileCacheLustreMetadataConfiguration& WithStorageCapacity(int value) { SetStorageCapacity(value); return *this;}
private:
int m_storageCapacity;
bool m_storageCapacityHasBeenSet = false;
};
} // namespace Model
} // namespace FSx
} // namespace Aws