/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 a mount target.

See Also:

AWS * API Reference

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

AWS account ID that owns the resource.

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

AWS account ID that owns the resource.

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

AWS account ID that owns the resource.

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

AWS account ID that owns the resource.

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

AWS account ID that owns the resource.

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

AWS account ID that owns the resource.

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

AWS account ID that owns the resource.

*/ inline CreateMountTargetResult& 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 void SetMountTargetId(const Aws::String& value) { m_mountTargetId = value; } /** *

System-assigned mount target ID.

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

System-assigned mount target ID.

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

System-assigned mount target ID.

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

System-assigned mount target ID.

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

System-assigned mount target ID.

*/ inline CreateMountTargetResult& 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 void SetFileSystemId(const Aws::String& value) { m_fileSystemId = value; } /** *

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

*/ inline void SetFileSystemId(Aws::String&& value) { 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_fileSystemId.assign(value); } /** *

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

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

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

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

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

*/ inline CreateMountTargetResult& 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 void SetSubnetId(const Aws::String& value) { m_subnetId = value; } /** *

The ID of the mount target's subnet.

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

The ID of the mount target's subnet.

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

The ID of the mount target's subnet.

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

The ID of the mount target's subnet.

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

The ID of the mount target's subnet.

*/ inline CreateMountTargetResult& 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 void SetLifeCycleState(const LifeCycleState& value) { m_lifeCycleState = value; } /** *

Lifecycle state of the mount target.

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

Lifecycle state of the mount target.

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

Lifecycle state of the mount target.

*/ inline CreateMountTargetResult& 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 void SetIpAddress(const Aws::String& value) { m_ipAddress = value; } /** *

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

*/ inline void SetIpAddress(Aws::String&& value) { 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_ipAddress.assign(value); } /** *

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

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

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

*/ inline CreateMountTargetResult& 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 CreateMountTargetResult& 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 void SetNetworkInterfaceId(const Aws::String& value) { 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_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_networkInterfaceId.assign(value); } /** *

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

*/ inline CreateMountTargetResult& 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 CreateMountTargetResult& 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 CreateMountTargetResult& 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 void SetAvailabilityZoneId(const Aws::String& value) { 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_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_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 CreateMountTargetResult& 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 CreateMountTargetResult& 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 CreateMountTargetResult& 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 void SetAvailabilityZoneName(const Aws::String& value) { 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_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_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 CreateMountTargetResult& 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 CreateMountTargetResult& 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 CreateMountTargetResult& 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 void SetVpcId(const Aws::String& value) { m_vpcId = value; } /** *

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

*/ inline void SetVpcId(Aws::String&& value) { 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_vpcId.assign(value); } /** *

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

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

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

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

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

*/ inline CreateMountTargetResult& WithVpcId(const char* value) { SetVpcId(value); return *this;} private: Aws::String m_ownerId; Aws::String m_mountTargetId; Aws::String m_fileSystemId; Aws::String m_subnetId; LifeCycleState m_lifeCycleState; Aws::String m_ipAddress; Aws::String m_networkInterfaceId; Aws::String m_availabilityZoneId; Aws::String m_availabilityZoneName; Aws::String m_vpcId; }; } // namespace Model } // namespace EFS } // namespace Aws