/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about an Amazon EFS access point. See
* Also:
AWS
* API Reference
The ID of the Amazon EFS access point.
*/ inline const Aws::String& GetAccessPointId() const{ return m_accessPointId; } /** *The ID of the Amazon EFS access point.
*/ inline bool AccessPointIdHasBeenSet() const { return m_accessPointIdHasBeenSet; } /** *The ID of the Amazon EFS access point.
*/ inline void SetAccessPointId(const Aws::String& value) { m_accessPointIdHasBeenSet = true; m_accessPointId = value; } /** *The ID of the Amazon EFS access point.
*/ inline void SetAccessPointId(Aws::String&& value) { m_accessPointIdHasBeenSet = true; m_accessPointId = std::move(value); } /** *The ID of the Amazon EFS access point.
*/ inline void SetAccessPointId(const char* value) { m_accessPointIdHasBeenSet = true; m_accessPointId.assign(value); } /** *The ID of the Amazon EFS access point.
*/ inline AwsEfsAccessPointDetails& WithAccessPointId(const Aws::String& value) { SetAccessPointId(value); return *this;} /** *The ID of the Amazon EFS access point.
*/ inline AwsEfsAccessPointDetails& WithAccessPointId(Aws::String&& value) { SetAccessPointId(std::move(value)); return *this;} /** *The ID of the Amazon EFS access point.
*/ inline AwsEfsAccessPointDetails& WithAccessPointId(const char* value) { SetAccessPointId(value); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon EFS access point.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the Amazon EFS access point.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the Amazon EFS access point.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the Amazon EFS access point.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the Amazon EFS access point.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the Amazon EFS access point.
*/ inline AwsEfsAccessPointDetails& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon EFS access point.
*/ inline AwsEfsAccessPointDetails& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon EFS access point.
*/ inline AwsEfsAccessPointDetails& WithArn(const char* value) { SetArn(value); return *this;} /** *The opaque string specified in the request to ensure idempotent creation. *
*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *The opaque string specified in the request to ensure idempotent creation. *
*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *The opaque string specified in the request to ensure idempotent creation. *
*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *The opaque string specified in the request to ensure idempotent creation. *
*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *The opaque string specified in the request to ensure idempotent creation. *
*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *The opaque string specified in the request to ensure idempotent creation. *
*/ inline AwsEfsAccessPointDetails& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *The opaque string specified in the request to ensure idempotent creation. *
*/ inline AwsEfsAccessPointDetails& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *The opaque string specified in the request to ensure idempotent creation. *
*/ inline AwsEfsAccessPointDetails& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *The ID of the Amazon EFS file system that the access point applies to.
*/ inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; } /** *The ID of the Amazon EFS file system that the access point applies to.
*/ inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; } /** *The ID of the Amazon EFS file system that the access point applies to.
*/ inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; } /** *The ID of the Amazon EFS file system that the access point applies to.
*/ inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); } /** *The ID of the Amazon EFS file system that the access point applies to.
*/ inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); } /** *The ID of the Amazon EFS file system that the access point applies to.
*/ inline AwsEfsAccessPointDetails& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;} /** *The ID of the Amazon EFS file system that the access point applies to.
*/ inline AwsEfsAccessPointDetails& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;} /** *The ID of the Amazon EFS file system that the access point applies to.
*/ inline AwsEfsAccessPointDetails& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;} /** *The full POSIX identity, including the user ID, group ID, and secondary group * IDs on the access point, that is used for all file operations by NFS clients * using the access point.
*/ inline const AwsEfsAccessPointPosixUserDetails& GetPosixUser() const{ return m_posixUser; } /** *The full POSIX identity, including the user ID, group ID, and secondary group * IDs on the access point, that is used for all file operations by NFS clients * using the access point.
*/ inline bool PosixUserHasBeenSet() const { return m_posixUserHasBeenSet; } /** *The full POSIX identity, including the user ID, group ID, and secondary group * IDs on the access point, that is used for all file operations by NFS clients * using the access point.
*/ inline void SetPosixUser(const AwsEfsAccessPointPosixUserDetails& value) { m_posixUserHasBeenSet = true; m_posixUser = value; } /** *The full POSIX identity, including the user ID, group ID, and secondary group * IDs on the access point, that is used for all file operations by NFS clients * using the access point.
*/ inline void SetPosixUser(AwsEfsAccessPointPosixUserDetails&& value) { m_posixUserHasBeenSet = true; m_posixUser = std::move(value); } /** *The full POSIX identity, including the user ID, group ID, and secondary group * IDs on the access point, that is used for all file operations by NFS clients * using the access point.
*/ inline AwsEfsAccessPointDetails& WithPosixUser(const AwsEfsAccessPointPosixUserDetails& value) { SetPosixUser(value); return *this;} /** *The full POSIX identity, including the user ID, group ID, and secondary group * IDs on the access point, that is used for all file operations by NFS clients * using the access point.
*/ inline AwsEfsAccessPointDetails& WithPosixUser(AwsEfsAccessPointPosixUserDetails&& value) { SetPosixUser(std::move(value)); return *this;} /** *The directory on the Amazon EFS file system that the access point exposes as * the root directory to NFS clients using the access point.
*/ inline const AwsEfsAccessPointRootDirectoryDetails& GetRootDirectory() const{ return m_rootDirectory; } /** *The directory on the Amazon EFS file system that the access point exposes as * the root directory to NFS clients using the access point.
*/ inline bool RootDirectoryHasBeenSet() const { return m_rootDirectoryHasBeenSet; } /** *The directory on the Amazon EFS file system that the access point exposes as * the root directory to NFS clients using the access point.
*/ inline void SetRootDirectory(const AwsEfsAccessPointRootDirectoryDetails& value) { m_rootDirectoryHasBeenSet = true; m_rootDirectory = value; } /** *The directory on the Amazon EFS file system that the access point exposes as * the root directory to NFS clients using the access point.
*/ inline void SetRootDirectory(AwsEfsAccessPointRootDirectoryDetails&& value) { m_rootDirectoryHasBeenSet = true; m_rootDirectory = std::move(value); } /** *The directory on the Amazon EFS file system that the access point exposes as * the root directory to NFS clients using the access point.
*/ inline AwsEfsAccessPointDetails& WithRootDirectory(const AwsEfsAccessPointRootDirectoryDetails& value) { SetRootDirectory(value); return *this;} /** *The directory on the Amazon EFS file system that the access point exposes as * the root directory to NFS clients using the access point.
*/ inline AwsEfsAccessPointDetails& WithRootDirectory(AwsEfsAccessPointRootDirectoryDetails&& value) { SetRootDirectory(std::move(value)); return *this;} private: Aws::String m_accessPointId; bool m_accessPointIdHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::String m_fileSystemId; bool m_fileSystemIdHasBeenSet = false; AwsEfsAccessPointPosixUserDetails m_posixUser; bool m_posixUserHasBeenSet = false; AwsEfsAccessPointRootDirectoryDetails m_rootDirectory; bool m_rootDirectoryHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws