/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include DescribeLocationEfsResponseSee Also:
AWS
* API Reference
The ARN of the Amazon EFS file system location.
*/ inline const Aws::String& GetLocationArn() const{ return m_locationArn; } /** *The ARN of the Amazon EFS file system location.
*/ inline void SetLocationArn(const Aws::String& value) { m_locationArn = value; } /** *The ARN of the Amazon EFS file system location.
*/ inline void SetLocationArn(Aws::String&& value) { m_locationArn = std::move(value); } /** *The ARN of the Amazon EFS file system location.
*/ inline void SetLocationArn(const char* value) { m_locationArn.assign(value); } /** *The ARN of the Amazon EFS file system location.
*/ inline DescribeLocationEfsResult& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;} /** *The ARN of the Amazon EFS file system location.
*/ inline DescribeLocationEfsResult& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;} /** *The ARN of the Amazon EFS file system location.
*/ inline DescribeLocationEfsResult& WithLocationArn(const char* value) { SetLocationArn(value); return *this;} /** *The URL of the Amazon EFS file system location.
*/ inline const Aws::String& GetLocationUri() const{ return m_locationUri; } /** *The URL of the Amazon EFS file system location.
*/ inline void SetLocationUri(const Aws::String& value) { m_locationUri = value; } /** *The URL of the Amazon EFS file system location.
*/ inline void SetLocationUri(Aws::String&& value) { m_locationUri = std::move(value); } /** *The URL of the Amazon EFS file system location.
*/ inline void SetLocationUri(const char* value) { m_locationUri.assign(value); } /** *The URL of the Amazon EFS file system location.
*/ inline DescribeLocationEfsResult& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;} /** *The URL of the Amazon EFS file system location.
*/ inline DescribeLocationEfsResult& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;} /** *The URL of the Amazon EFS file system location.
*/ inline DescribeLocationEfsResult& WithLocationUri(const char* value) { SetLocationUri(value); return *this;} inline const Ec2Config& GetEc2Config() const{ return m_ec2Config; } inline void SetEc2Config(const Ec2Config& value) { m_ec2Config = value; } inline void SetEc2Config(Ec2Config&& value) { m_ec2Config = std::move(value); } inline DescribeLocationEfsResult& WithEc2Config(const Ec2Config& value) { SetEc2Config(value); return *this;} inline DescribeLocationEfsResult& WithEc2Config(Ec2Config&& value) { SetEc2Config(std::move(value)); return *this;} /** *The time that the location was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The time that the location was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *The time that the location was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *The time that the location was created.
*/ inline DescribeLocationEfsResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The time that the location was created.
*/ inline DescribeLocationEfsResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The ARN of the access point that DataSync uses to access the Amazon EFS file * system.
*/ inline const Aws::String& GetAccessPointArn() const{ return m_accessPointArn; } /** *The ARN of the access point that DataSync uses to access the Amazon EFS file * system.
*/ inline void SetAccessPointArn(const Aws::String& value) { m_accessPointArn = value; } /** *The ARN of the access point that DataSync uses to access the Amazon EFS file * system.
*/ inline void SetAccessPointArn(Aws::String&& value) { m_accessPointArn = std::move(value); } /** *The ARN of the access point that DataSync uses to access the Amazon EFS file * system.
*/ inline void SetAccessPointArn(const char* value) { m_accessPointArn.assign(value); } /** *The ARN of the access point that DataSync uses to access the Amazon EFS file * system.
*/ inline DescribeLocationEfsResult& WithAccessPointArn(const Aws::String& value) { SetAccessPointArn(value); return *this;} /** *The ARN of the access point that DataSync uses to access the Amazon EFS file * system.
*/ inline DescribeLocationEfsResult& WithAccessPointArn(Aws::String&& value) { SetAccessPointArn(std::move(value)); return *this;} /** *The ARN of the access point that DataSync uses to access the Amazon EFS file * system.
*/ inline DescribeLocationEfsResult& WithAccessPointArn(const char* value) { SetAccessPointArn(value); return *this;} /** *The Identity and Access Management (IAM) role that DataSync assumes when * mounting the Amazon EFS file system.
*/ inline const Aws::String& GetFileSystemAccessRoleArn() const{ return m_fileSystemAccessRoleArn; } /** *The Identity and Access Management (IAM) role that DataSync assumes when * mounting the Amazon EFS file system.
*/ inline void SetFileSystemAccessRoleArn(const Aws::String& value) { m_fileSystemAccessRoleArn = value; } /** *The Identity and Access Management (IAM) role that DataSync assumes when * mounting the Amazon EFS file system.
*/ inline void SetFileSystemAccessRoleArn(Aws::String&& value) { m_fileSystemAccessRoleArn = std::move(value); } /** *The Identity and Access Management (IAM) role that DataSync assumes when * mounting the Amazon EFS file system.
*/ inline void SetFileSystemAccessRoleArn(const char* value) { m_fileSystemAccessRoleArn.assign(value); } /** *The Identity and Access Management (IAM) role that DataSync assumes when * mounting the Amazon EFS file system.
*/ inline DescribeLocationEfsResult& WithFileSystemAccessRoleArn(const Aws::String& value) { SetFileSystemAccessRoleArn(value); return *this;} /** *The Identity and Access Management (IAM) role that DataSync assumes when * mounting the Amazon EFS file system.
*/ inline DescribeLocationEfsResult& WithFileSystemAccessRoleArn(Aws::String&& value) { SetFileSystemAccessRoleArn(std::move(value)); return *this;} /** *The Identity and Access Management (IAM) role that DataSync assumes when * mounting the Amazon EFS file system.
*/ inline DescribeLocationEfsResult& WithFileSystemAccessRoleArn(const char* value) { SetFileSystemAccessRoleArn(value); return *this;} /** *Describes whether DataSync uses Transport Layer Security (TLS) encryption * when copying data to or from the Amazon EFS file system.
*/ inline const EfsInTransitEncryption& GetInTransitEncryption() const{ return m_inTransitEncryption; } /** *Describes whether DataSync uses Transport Layer Security (TLS) encryption * when copying data to or from the Amazon EFS file system.
*/ inline void SetInTransitEncryption(const EfsInTransitEncryption& value) { m_inTransitEncryption = value; } /** *Describes whether DataSync uses Transport Layer Security (TLS) encryption * when copying data to or from the Amazon EFS file system.
*/ inline void SetInTransitEncryption(EfsInTransitEncryption&& value) { m_inTransitEncryption = std::move(value); } /** *Describes whether DataSync uses Transport Layer Security (TLS) encryption * when copying data to or from the Amazon EFS file system.
*/ inline DescribeLocationEfsResult& WithInTransitEncryption(const EfsInTransitEncryption& value) { SetInTransitEncryption(value); return *this;} /** *Describes whether DataSync uses Transport Layer Security (TLS) encryption * when copying data to or from the Amazon EFS file system.
*/ inline DescribeLocationEfsResult& WithInTransitEncryption(EfsInTransitEncryption&& value) { SetInTransitEncryption(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 DescribeLocationEfsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeLocationEfsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeLocationEfsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_locationArn; Aws::String m_locationUri; Ec2Config m_ec2Config; Aws::Utils::DateTime m_creationTime; Aws::String m_accessPointArn; Aws::String m_fileSystemAccessRoleArn; EfsInTransitEncryption m_inTransitEncryption; Aws::String m_requestId; }; } // namespace Model } // namespace DataSync } // namespace Aws