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

Provides a description of a mount target.

See Also:

AWS * API Reference

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

AWS account ID that owns the resource.

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

AWS account ID that owns the resource.

*/ inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; } /** *

AWS account ID that owns the resource.

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

AWS account ID that owns the resource.

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

AWS account ID that owns the resource.

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

AWS account ID that owns the resource.

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

AWS account ID that owns the resource.

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

AWS account ID that owns the resource.

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

System-assigned mount target ID.

*/ inline const Aws::String& GetMountTargetId() const{ return m_mountTargetId; } /** *

System-assigned mount target ID.

*/ inline bool MountTargetIdHasBeenSet() const { return m_mountTargetIdHasBeenSet; } /** *

System-assigned mount target ID.

*/ inline void SetMountTargetId(const Aws::String& value) { m_mountTargetIdHasBeenSet = true; m_mountTargetId = value; } /** *

System-assigned mount target ID.

*/ inline void SetMountTargetId(Aws::String&& value) { m_mountTargetIdHasBeenSet = true; m_mountTargetId = std::move(value); } /** *

System-assigned mount target ID.

*/ inline void SetMountTargetId(const char* value) { m_mountTargetIdHasBeenSet = true; m_mountTargetId.assign(value); } /** *

System-assigned mount target ID.

*/ inline MountTargetDescription& WithMountTargetId(const Aws::String& value) { SetMountTargetId(value); return *this;} /** *

System-assigned mount target ID.

*/ inline MountTargetDescription& WithMountTargetId(Aws::String&& value) { SetMountTargetId(std::move(value)); return *this;} /** *

System-assigned mount target ID.

*/ inline MountTargetDescription& WithMountTargetId(const char* value) { SetMountTargetId(value); return *this;} /** *

The ID of the file system for which the mount target is intended.

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

The ID of the file system for which the mount target is intended.

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

The ID of the file system for which the mount target is intended.

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

The ID of the file system for which the mount target is intended.

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

The ID of the file system for which the mount target is intended.

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

The ID of the file system for which the mount target is intended.

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

The ID of the file system for which the mount target is intended.

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

The ID of the file system for which the mount target is intended.

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

The ID of the mount target's subnet.

*/ inline const Aws::String& GetSubnetId() const{ return m_subnetId; } /** *

The ID of the mount target's subnet.

*/ inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; } /** *

The ID of the mount target's subnet.

*/ inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; } /** *

The ID of the mount target's subnet.

*/ inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); } /** *

The ID of the mount target's subnet.

*/ inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); } /** *

The ID of the mount target's subnet.

*/ inline MountTargetDescription& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;} /** *

The ID of the mount target's subnet.

*/ inline MountTargetDescription& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;} /** *

The ID of the mount target's subnet.

*/ inline MountTargetDescription& WithSubnetId(const char* value) { SetSubnetId(value); return *this;} /** *

Lifecycle state of the mount target.

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

Lifecycle state of the mount target.

*/ inline bool LifeCycleStateHasBeenSet() const { return m_lifeCycleStateHasBeenSet; } /** *

Lifecycle state of the mount target.

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

Lifecycle state of the mount target.

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

Lifecycle state of the mount target.

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

Lifecycle state of the mount target.

*/ inline MountTargetDescription& WithLifeCycleState(LifeCycleState&& value) { SetLifeCycleState(std::move(value)); return *this;} /** *

Address at which the file system can be mounted by using the mount * target.

*/ inline const Aws::String& GetIpAddress() const{ return m_ipAddress; } /** *

Address at which the file system can be mounted by using the mount * target.

*/ inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; } /** *

Address at which the file system can be mounted by using the mount * target.

*/ inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; } /** *

Address at which the file system can be mounted by using the mount * target.

*/ inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); } /** *

Address at which the file system can be mounted by using the mount * target.

*/ inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); } /** *

Address at which the file system can be mounted by using the mount * target.

*/ inline MountTargetDescription& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;} /** *

Address at which the file system can be mounted by using the mount * target.

*/ inline MountTargetDescription& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;} /** *

Address at which the file system can be mounted by using the mount * target.

*/ inline MountTargetDescription& WithIpAddress(const char* value) { SetIpAddress(value); return *this;} /** *

The ID of the network interface that Amazon EFS created when it created the * mount target.

*/ inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; } /** *

The ID of the network interface that Amazon EFS created when it created the * mount target.

*/ inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; } /** *

The ID of the network interface that Amazon EFS created when it created the * mount target.

*/ inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; } /** *

The ID of the network interface that Amazon EFS created when it created the * mount target.

*/ inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); } /** *

The ID of the network interface that Amazon EFS created when it created the * mount target.

*/ inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); } /** *

The ID of the network interface that Amazon EFS created when it created the * mount target.

*/ inline MountTargetDescription& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;} /** *

The ID of the network interface that Amazon EFS created when it created the * mount target.

*/ inline MountTargetDescription& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;} /** *

The ID of the network interface that Amazon EFS created when it created the * mount target.

*/ inline MountTargetDescription& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;} /** *

The unique and consistent identifier of the Availability Zone (AZ) that the * mount target resides in. For example, use1-az1 is an AZ ID for the * us-east-1 Region and it has the same location in every AWS account.

*/ inline const Aws::String& GetAvailabilityZoneId() const{ return m_availabilityZoneId; } /** *

The unique and consistent identifier of the Availability Zone (AZ) that the * mount target resides in. For example, use1-az1 is an AZ ID for the * us-east-1 Region and it has the same location in every AWS account.

*/ inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; } /** *

The unique and consistent identifier of the Availability Zone (AZ) that the * mount target resides in. For example, use1-az1 is an AZ ID for the * us-east-1 Region and it has the same location in every AWS account.

*/ inline void SetAvailabilityZoneId(const Aws::String& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = value; } /** *

The unique and consistent identifier of the Availability Zone (AZ) that the * mount target resides in. For example, use1-az1 is an AZ ID for the * us-east-1 Region and it has the same location in every AWS account.

*/ inline void SetAvailabilityZoneId(Aws::String&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::move(value); } /** *

The unique and consistent identifier of the Availability Zone (AZ) that the * mount target resides in. For example, use1-az1 is an AZ ID for the * us-east-1 Region and it has the same location in every AWS account.

*/ inline void SetAvailabilityZoneId(const char* value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId.assign(value); } /** *

The unique and consistent identifier of the Availability Zone (AZ) that the * mount target resides in. For example, use1-az1 is an AZ ID for the * us-east-1 Region and it has the same location in every AWS account.

*/ inline MountTargetDescription& WithAvailabilityZoneId(const Aws::String& value) { SetAvailabilityZoneId(value); return *this;} /** *

The unique and consistent identifier of the Availability Zone (AZ) that the * mount target resides in. For example, use1-az1 is an AZ ID for the * us-east-1 Region and it has the same location in every AWS account.

*/ inline MountTargetDescription& WithAvailabilityZoneId(Aws::String&& value) { SetAvailabilityZoneId(std::move(value)); return *this;} /** *

The unique and consistent identifier of the Availability Zone (AZ) that the * mount target resides in. For example, use1-az1 is an AZ ID for the * us-east-1 Region and it has the same location in every AWS account.

*/ inline MountTargetDescription& WithAvailabilityZoneId(const char* value) { SetAvailabilityZoneId(value); return *this;} /** *

The name of the Availability Zone (AZ) that the mount target resides in. AZs * are independently mapped to names for each AWS account. For example, the * Availability Zone us-east-1a for your AWS account might not be the * same location as us-east-1a for another AWS account.

*/ inline const Aws::String& GetAvailabilityZoneName() const{ return m_availabilityZoneName; } /** *

The name of the Availability Zone (AZ) that the mount target resides in. AZs * are independently mapped to names for each AWS account. For example, the * Availability Zone us-east-1a for your AWS account might not be the * same location as us-east-1a for another AWS account.

*/ inline bool AvailabilityZoneNameHasBeenSet() const { return m_availabilityZoneNameHasBeenSet; } /** *

The name of the Availability Zone (AZ) that the mount target resides in. AZs * are independently mapped to names for each AWS account. For example, the * Availability Zone us-east-1a for your AWS account might not be the * same location as us-east-1a for another AWS account.

*/ inline void SetAvailabilityZoneName(const Aws::String& value) { m_availabilityZoneNameHasBeenSet = true; m_availabilityZoneName = value; } /** *

The name of the Availability Zone (AZ) that the mount target resides in. AZs * are independently mapped to names for each AWS account. For example, the * Availability Zone us-east-1a for your AWS account might not be the * same location as us-east-1a for another AWS account.

*/ inline void SetAvailabilityZoneName(Aws::String&& value) { m_availabilityZoneNameHasBeenSet = true; m_availabilityZoneName = std::move(value); } /** *

The name of the Availability Zone (AZ) that the mount target resides in. AZs * are independently mapped to names for each AWS account. For example, the * Availability Zone us-east-1a for your AWS account might not be the * same location as us-east-1a for another AWS account.

*/ inline void SetAvailabilityZoneName(const char* value) { m_availabilityZoneNameHasBeenSet = true; m_availabilityZoneName.assign(value); } /** *

The name of the Availability Zone (AZ) that the mount target resides in. AZs * are independently mapped to names for each AWS account. For example, the * Availability Zone us-east-1a for your AWS account might not be the * same location as us-east-1a for another AWS account.

*/ inline MountTargetDescription& WithAvailabilityZoneName(const Aws::String& value) { SetAvailabilityZoneName(value); return *this;} /** *

The name of the Availability Zone (AZ) that the mount target resides in. AZs * are independently mapped to names for each AWS account. For example, the * Availability Zone us-east-1a for your AWS account might not be the * same location as us-east-1a for another AWS account.

*/ inline MountTargetDescription& WithAvailabilityZoneName(Aws::String&& value) { SetAvailabilityZoneName(std::move(value)); return *this;} /** *

The name of the Availability Zone (AZ) that the mount target resides in. AZs * are independently mapped to names for each AWS account. For example, the * Availability Zone us-east-1a for your AWS account might not be the * same location as us-east-1a for another AWS account.

*/ inline MountTargetDescription& WithAvailabilityZoneName(const char* value) { SetAvailabilityZoneName(value); return *this;} /** *

The Virtual Private Cloud (VPC) ID that the mount target is configured * in.

*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *

The Virtual Private Cloud (VPC) ID that the mount target is configured * in.

*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *

The Virtual Private Cloud (VPC) ID that the mount target is configured * in.

*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *

The Virtual Private Cloud (VPC) ID that the mount target is configured * in.

*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *

The Virtual Private Cloud (VPC) ID that the mount target is configured * in.

*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *

The Virtual Private Cloud (VPC) ID that the mount target is configured * in.

*/ inline MountTargetDescription& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *

The Virtual Private Cloud (VPC) ID that the mount target is configured * in.

*/ inline MountTargetDescription& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *

The Virtual Private Cloud (VPC) ID that the mount target is configured * in.

*/ inline MountTargetDescription& WithVpcId(const char* value) { SetVpcId(value); return *this;} private: Aws::String m_ownerId; bool m_ownerIdHasBeenSet; Aws::String m_mountTargetId; bool m_mountTargetIdHasBeenSet; Aws::String m_fileSystemId; bool m_fileSystemIdHasBeenSet; Aws::String m_subnetId; bool m_subnetIdHasBeenSet; LifeCycleState m_lifeCycleState; bool m_lifeCycleStateHasBeenSet; Aws::String m_ipAddress; bool m_ipAddressHasBeenSet; Aws::String m_networkInterfaceId; bool m_networkInterfaceIdHasBeenSet; Aws::String m_availabilityZoneId; bool m_availabilityZoneIdHasBeenSet; Aws::String m_availabilityZoneName; bool m_availabilityZoneNameHasBeenSet; Aws::String m_vpcId; bool m_vpcIdHasBeenSet; }; } // namespace Model } // namespace EFS } // namespace Aws