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

Provides a description of an EFS file system access point.

See * Also:

AWS * API Reference

*/ class CreateAccessPointResult { public: AWS_EFS_API CreateAccessPointResult(); AWS_EFS_API CreateAccessPointResult(const Aws::AmazonWebServiceResult& result); AWS_EFS_API CreateAccessPointResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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 void SetClientToken(const Aws::String& value) { m_clientToken = value; } /** *

The opaque string specified in the request to ensure idempotent creation.

*/ inline void SetClientToken(Aws::String&& value) { m_clientToken = std::move(value); } /** *

The opaque string specified in the request to ensure idempotent creation.

*/ inline void SetClientToken(const char* value) { m_clientToken.assign(value); } /** *

The opaque string specified in the request to ensure idempotent creation.

*/ inline CreateAccessPointResult& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

The opaque string specified in the request to ensure idempotent creation.

*/ inline CreateAccessPointResult& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

The opaque string specified in the request to ensure idempotent creation.

*/ inline CreateAccessPointResult& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

The name of the access point. This is the value of the Name * tag.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the access point. This is the value of the Name * tag.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the access point. This is the value of the Name * tag.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The name of the access point. This is the value of the Name * tag.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the access point. This is the value of the Name * tag.

*/ inline CreateAccessPointResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the access point. This is the value of the Name * tag.

*/ inline CreateAccessPointResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the access point. This is the value of the Name * tag.

*/ inline CreateAccessPointResult& WithName(const char* value) { SetName(value); return *this;} /** *

The tags associated with the access point, presented as an array of Tag * objects.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

The tags associated with the access point, presented as an array of Tag * objects.

*/ inline void SetTags(const Aws::Vector& value) { m_tags = value; } /** *

The tags associated with the access point, presented as an array of Tag * objects.

*/ inline void SetTags(Aws::Vector&& value) { m_tags = std::move(value); } /** *

The tags associated with the access point, presented as an array of Tag * objects.

*/ inline CreateAccessPointResult& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

The tags associated with the access point, presented as an array of Tag * objects.

*/ inline CreateAccessPointResult& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

The tags associated with the access point, presented as an array of Tag * objects.

*/ inline CreateAccessPointResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; } /** *

The tags associated with the access point, presented as an array of Tag * objects.

*/ inline CreateAccessPointResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; } /** *

The ID of the access point, assigned by Amazon EFS.

*/ inline const Aws::String& GetAccessPointId() const{ return m_accessPointId; } /** *

The ID of the access point, assigned by Amazon EFS.

*/ inline void SetAccessPointId(const Aws::String& value) { m_accessPointId = value; } /** *

The ID of the access point, assigned by Amazon EFS.

*/ inline void SetAccessPointId(Aws::String&& value) { m_accessPointId = std::move(value); } /** *

The ID of the access point, assigned by Amazon EFS.

*/ inline void SetAccessPointId(const char* value) { m_accessPointId.assign(value); } /** *

The ID of the access point, assigned by Amazon EFS.

*/ inline CreateAccessPointResult& WithAccessPointId(const Aws::String& value) { SetAccessPointId(value); return *this;} /** *

The ID of the access point, assigned by Amazon EFS.

*/ inline CreateAccessPointResult& WithAccessPointId(Aws::String&& value) { SetAccessPointId(std::move(value)); return *this;} /** *

The ID of the access point, assigned by Amazon EFS.

*/ inline CreateAccessPointResult& WithAccessPointId(const char* value) { SetAccessPointId(value); return *this;} /** *

The unique Amazon Resource Name (ARN) associated with the access point.

*/ inline const Aws::String& GetAccessPointArn() const{ return m_accessPointArn; } /** *

The unique Amazon Resource Name (ARN) associated with the access point.

*/ inline void SetAccessPointArn(const Aws::String& value) { m_accessPointArn = value; } /** *

The unique Amazon Resource Name (ARN) associated with the access point.

*/ inline void SetAccessPointArn(Aws::String&& value) { m_accessPointArn = std::move(value); } /** *

The unique Amazon Resource Name (ARN) associated with the access point.

*/ inline void SetAccessPointArn(const char* value) { m_accessPointArn.assign(value); } /** *

The unique Amazon Resource Name (ARN) associated with the access point.

*/ inline CreateAccessPointResult& WithAccessPointArn(const Aws::String& value) { SetAccessPointArn(value); return *this;} /** *

The unique Amazon Resource Name (ARN) associated with the access point.

*/ inline CreateAccessPointResult& WithAccessPointArn(Aws::String&& value) { SetAccessPointArn(std::move(value)); return *this;} /** *

The unique Amazon Resource Name (ARN) associated with the access point.

*/ inline CreateAccessPointResult& WithAccessPointArn(const char* value) { SetAccessPointArn(value); return *this;} /** *

The ID of the EFS file system that the access point applies to.

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

The ID of the EFS file system that the access point applies to.

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

The ID of the EFS file system that the access point applies to.

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

The ID of the EFS file system that the access point applies to.

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

The ID of the EFS file system that the access point applies to.

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

The ID of the EFS file system that the access point applies to.

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

The ID of the EFS file system that the access point applies to.

*/ inline CreateAccessPointResult& 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 PosixUser& 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 void SetPosixUser(const PosixUser& value) { 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(PosixUser&& value) { 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 CreateAccessPointResult& WithPosixUser(const PosixUser& 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 CreateAccessPointResult& WithPosixUser(PosixUser&& 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 RootDirectory& 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 void SetRootDirectory(const RootDirectory& value) { 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(RootDirectory&& value) { 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 CreateAccessPointResult& WithRootDirectory(const RootDirectory& 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 CreateAccessPointResult& WithRootDirectory(RootDirectory&& value) { SetRootDirectory(std::move(value)); return *this;} /** *

Identifies the Amazon Web Services account that owns the access point * resource.

*/ inline const Aws::String& GetOwnerId() const{ return m_ownerId; } /** *

Identifies the Amazon Web Services account that owns the access point * resource.

*/ inline void SetOwnerId(const Aws::String& value) { m_ownerId = value; } /** *

Identifies the Amazon Web Services account that owns the access point * resource.

*/ inline void SetOwnerId(Aws::String&& value) { m_ownerId = std::move(value); } /** *

Identifies the Amazon Web Services account that owns the access point * resource.

*/ inline void SetOwnerId(const char* value) { m_ownerId.assign(value); } /** *

Identifies the Amazon Web Services account that owns the access point * resource.

*/ inline CreateAccessPointResult& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;} /** *

Identifies the Amazon Web Services account that owns the access point * resource.

*/ inline CreateAccessPointResult& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;} /** *

Identifies the Amazon Web Services account that owns the access point * resource.

*/ inline CreateAccessPointResult& WithOwnerId(const char* value) { SetOwnerId(value); return *this;} /** *

Identifies the lifecycle phase of the access point.

*/ inline const LifeCycleState& GetLifeCycleState() const{ return m_lifeCycleState; } /** *

Identifies the lifecycle phase of the access point.

*/ inline void SetLifeCycleState(const LifeCycleState& value) { m_lifeCycleState = value; } /** *

Identifies the lifecycle phase of the access point.

*/ inline void SetLifeCycleState(LifeCycleState&& value) { m_lifeCycleState = std::move(value); } /** *

Identifies the lifecycle phase of the access point.

*/ inline CreateAccessPointResult& WithLifeCycleState(const LifeCycleState& value) { SetLifeCycleState(value); return *this;} /** *

Identifies the lifecycle phase of the access point.

*/ inline CreateAccessPointResult& WithLifeCycleState(LifeCycleState&& value) { SetLifeCycleState(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateAccessPointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateAccessPointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateAccessPointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_clientToken; Aws::String m_name; Aws::Vector m_tags; Aws::String m_accessPointId; Aws::String m_accessPointArn; Aws::String m_fileSystemId; PosixUser m_posixUser; RootDirectory m_rootDirectory; Aws::String m_ownerId; LifeCycleState m_lifeCycleState; Aws::String m_requestId; }; } // namespace Model } // namespace EFS } // namespace Aws