/** * 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 MainframeModernization { namespace Model { /** *

Defines the storage configuration for an Amazon EFS file * system.

See Also:

AWS * API Reference

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

The file system identifier.

*/ inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; } /** *

The file system identifier.

*/ inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; } /** *

The file system identifier.

*/ inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; } /** *

The file system identifier.

*/ inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); } /** *

The file system identifier.

*/ inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); } /** *

The file system identifier.

*/ inline EfsStorageConfiguration& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;} /** *

The file system identifier.

*/ inline EfsStorageConfiguration& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;} /** *

The file system identifier.

*/ inline EfsStorageConfiguration& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;} /** *

The mount point for the file system.

*/ inline const Aws::String& GetMountPoint() const{ return m_mountPoint; } /** *

The mount point for the file system.

*/ inline bool MountPointHasBeenSet() const { return m_mountPointHasBeenSet; } /** *

The mount point for the file system.

*/ inline void SetMountPoint(const Aws::String& value) { m_mountPointHasBeenSet = true; m_mountPoint = value; } /** *

The mount point for the file system.

*/ inline void SetMountPoint(Aws::String&& value) { m_mountPointHasBeenSet = true; m_mountPoint = std::move(value); } /** *

The mount point for the file system.

*/ inline void SetMountPoint(const char* value) { m_mountPointHasBeenSet = true; m_mountPoint.assign(value); } /** *

The mount point for the file system.

*/ inline EfsStorageConfiguration& WithMountPoint(const Aws::String& value) { SetMountPoint(value); return *this;} /** *

The mount point for the file system.

*/ inline EfsStorageConfiguration& WithMountPoint(Aws::String&& value) { SetMountPoint(std::move(value)); return *this;} /** *

The mount point for the file system.

*/ inline EfsStorageConfiguration& WithMountPoint(const char* value) { SetMountPoint(value); return *this;} private: Aws::String m_fileSystemId; bool m_fileSystemIdHasBeenSet = false; Aws::String m_mountPoint; bool m_mountPointHasBeenSet = false; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws