/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { /** *

Provides information about the directory on the Amazon EFS file system that * the access point exposes as the root directory to NFS clients using the access * point.

See Also:

AWS * API Reference

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

Specifies the POSIX IDs and permissions to apply to the access point's root * directory.

*/ inline const AwsEfsAccessPointRootDirectoryCreationInfoDetails& GetCreationInfo() const{ return m_creationInfo; } /** *

Specifies the POSIX IDs and permissions to apply to the access point's root * directory.

*/ inline bool CreationInfoHasBeenSet() const { return m_creationInfoHasBeenSet; } /** *

Specifies the POSIX IDs and permissions to apply to the access point's root * directory.

*/ inline void SetCreationInfo(const AwsEfsAccessPointRootDirectoryCreationInfoDetails& value) { m_creationInfoHasBeenSet = true; m_creationInfo = value; } /** *

Specifies the POSIX IDs and permissions to apply to the access point's root * directory.

*/ inline void SetCreationInfo(AwsEfsAccessPointRootDirectoryCreationInfoDetails&& value) { m_creationInfoHasBeenSet = true; m_creationInfo = std::move(value); } /** *

Specifies the POSIX IDs and permissions to apply to the access point's root * directory.

*/ inline AwsEfsAccessPointRootDirectoryDetails& WithCreationInfo(const AwsEfsAccessPointRootDirectoryCreationInfoDetails& value) { SetCreationInfo(value); return *this;} /** *

Specifies the POSIX IDs and permissions to apply to the access point's root * directory.

*/ inline AwsEfsAccessPointRootDirectoryDetails& WithCreationInfo(AwsEfsAccessPointRootDirectoryCreationInfoDetails&& value) { SetCreationInfo(std::move(value)); return *this;} /** *

Specifies the path on the Amazon EFS file system to expose as the root * directory to NFS clients using the access point to access the EFS file system. A * path can have up to four subdirectories. If the specified path does not exist, * you are required to provide CreationInfo.

*/ inline const Aws::String& GetPath() const{ return m_path; } /** *

Specifies the path on the Amazon EFS file system to expose as the root * directory to NFS clients using the access point to access the EFS file system. A * path can have up to four subdirectories. If the specified path does not exist, * you are required to provide CreationInfo.

*/ inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } /** *

Specifies the path on the Amazon EFS file system to expose as the root * directory to NFS clients using the access point to access the EFS file system. A * path can have up to four subdirectories. If the specified path does not exist, * you are required to provide CreationInfo.

*/ inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; } /** *

Specifies the path on the Amazon EFS file system to expose as the root * directory to NFS clients using the access point to access the EFS file system. A * path can have up to four subdirectories. If the specified path does not exist, * you are required to provide CreationInfo.

*/ inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } /** *

Specifies the path on the Amazon EFS file system to expose as the root * directory to NFS clients using the access point to access the EFS file system. A * path can have up to four subdirectories. If the specified path does not exist, * you are required to provide CreationInfo.

*/ inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); } /** *

Specifies the path on the Amazon EFS file system to expose as the root * directory to NFS clients using the access point to access the EFS file system. A * path can have up to four subdirectories. If the specified path does not exist, * you are required to provide CreationInfo.

*/ inline AwsEfsAccessPointRootDirectoryDetails& WithPath(const Aws::String& value) { SetPath(value); return *this;} /** *

Specifies the path on the Amazon EFS file system to expose as the root * directory to NFS clients using the access point to access the EFS file system. A * path can have up to four subdirectories. If the specified path does not exist, * you are required to provide CreationInfo.

*/ inline AwsEfsAccessPointRootDirectoryDetails& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} /** *

Specifies the path on the Amazon EFS file system to expose as the root * directory to NFS clients using the access point to access the EFS file system. A * path can have up to four subdirectories. If the specified path does not exist, * you are required to provide CreationInfo.

*/ inline AwsEfsAccessPointRootDirectoryDetails& WithPath(const char* value) { SetPath(value); return *this;} private: AwsEfsAccessPointRootDirectoryCreationInfoDetails m_creationInfo; bool m_creationInfoHasBeenSet = false; Aws::String m_path; bool m_pathHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws