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

Provides information about the settings that Amazon EFS uses to create the * root directory when a client connects to an access point.

See * Also:

AWS * API Reference

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

Specifies the POSIX group ID to apply to the root directory.

*/ inline const Aws::String& GetOwnerGid() const{ return m_ownerGid; } /** *

Specifies the POSIX group ID to apply to the root directory.

*/ inline bool OwnerGidHasBeenSet() const { return m_ownerGidHasBeenSet; } /** *

Specifies the POSIX group ID to apply to the root directory.

*/ inline void SetOwnerGid(const Aws::String& value) { m_ownerGidHasBeenSet = true; m_ownerGid = value; } /** *

Specifies the POSIX group ID to apply to the root directory.

*/ inline void SetOwnerGid(Aws::String&& value) { m_ownerGidHasBeenSet = true; m_ownerGid = std::move(value); } /** *

Specifies the POSIX group ID to apply to the root directory.

*/ inline void SetOwnerGid(const char* value) { m_ownerGidHasBeenSet = true; m_ownerGid.assign(value); } /** *

Specifies the POSIX group ID to apply to the root directory.

*/ inline AwsEfsAccessPointRootDirectoryCreationInfoDetails& WithOwnerGid(const Aws::String& value) { SetOwnerGid(value); return *this;} /** *

Specifies the POSIX group ID to apply to the root directory.

*/ inline AwsEfsAccessPointRootDirectoryCreationInfoDetails& WithOwnerGid(Aws::String&& value) { SetOwnerGid(std::move(value)); return *this;} /** *

Specifies the POSIX group ID to apply to the root directory.

*/ inline AwsEfsAccessPointRootDirectoryCreationInfoDetails& WithOwnerGid(const char* value) { SetOwnerGid(value); return *this;} /** *

Specifies the POSIX user ID to apply to the root directory.

*/ inline const Aws::String& GetOwnerUid() const{ return m_ownerUid; } /** *

Specifies the POSIX user ID to apply to the root directory.

*/ inline bool OwnerUidHasBeenSet() const { return m_ownerUidHasBeenSet; } /** *

Specifies the POSIX user ID to apply to the root directory.

*/ inline void SetOwnerUid(const Aws::String& value) { m_ownerUidHasBeenSet = true; m_ownerUid = value; } /** *

Specifies the POSIX user ID to apply to the root directory.

*/ inline void SetOwnerUid(Aws::String&& value) { m_ownerUidHasBeenSet = true; m_ownerUid = std::move(value); } /** *

Specifies the POSIX user ID to apply to the root directory.

*/ inline void SetOwnerUid(const char* value) { m_ownerUidHasBeenSet = true; m_ownerUid.assign(value); } /** *

Specifies the POSIX user ID to apply to the root directory.

*/ inline AwsEfsAccessPointRootDirectoryCreationInfoDetails& WithOwnerUid(const Aws::String& value) { SetOwnerUid(value); return *this;} /** *

Specifies the POSIX user ID to apply to the root directory.

*/ inline AwsEfsAccessPointRootDirectoryCreationInfoDetails& WithOwnerUid(Aws::String&& value) { SetOwnerUid(std::move(value)); return *this;} /** *

Specifies the POSIX user ID to apply to the root directory.

*/ inline AwsEfsAccessPointRootDirectoryCreationInfoDetails& WithOwnerUid(const char* value) { SetOwnerUid(value); return *this;} /** *

Specifies the POSIX permissions to apply to the root directory, in the format * of an octal number representing the file's mode bits.

*/ inline const Aws::String& GetPermissions() const{ return m_permissions; } /** *

Specifies the POSIX permissions to apply to the root directory, in the format * of an octal number representing the file's mode bits.

*/ inline bool PermissionsHasBeenSet() const { return m_permissionsHasBeenSet; } /** *

Specifies the POSIX permissions to apply to the root directory, in the format * of an octal number representing the file's mode bits.

*/ inline void SetPermissions(const Aws::String& value) { m_permissionsHasBeenSet = true; m_permissions = value; } /** *

Specifies the POSIX permissions to apply to the root directory, in the format * of an octal number representing the file's mode bits.

*/ inline void SetPermissions(Aws::String&& value) { m_permissionsHasBeenSet = true; m_permissions = std::move(value); } /** *

Specifies the POSIX permissions to apply to the root directory, in the format * of an octal number representing the file's mode bits.

*/ inline void SetPermissions(const char* value) { m_permissionsHasBeenSet = true; m_permissions.assign(value); } /** *

Specifies the POSIX permissions to apply to the root directory, in the format * of an octal number representing the file's mode bits.

*/ inline AwsEfsAccessPointRootDirectoryCreationInfoDetails& WithPermissions(const Aws::String& value) { SetPermissions(value); return *this;} /** *

Specifies the POSIX permissions to apply to the root directory, in the format * of an octal number representing the file's mode bits.

*/ inline AwsEfsAccessPointRootDirectoryCreationInfoDetails& WithPermissions(Aws::String&& value) { SetPermissions(std::move(value)); return *this;} /** *

Specifies the POSIX permissions to apply to the root directory, in the format * of an octal number representing the file's mode bits.

*/ inline AwsEfsAccessPointRootDirectoryCreationInfoDetails& WithPermissions(const char* value) { SetPermissions(value); return *this;} private: Aws::String m_ownerGid; bool m_ownerGidHasBeenSet = false; Aws::String m_ownerUid; bool m_ownerUidHasBeenSet = false; Aws::String m_permissions; bool m_permissionsHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws