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

DescribeLocationNfsResponse

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the NFS location that was described.

*/ inline const Aws::String& GetLocationArn() const{ return m_locationArn; } /** *

The Amazon Resource Name (ARN) of the NFS location that was described.

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

The Amazon Resource Name (ARN) of the NFS location that was described.

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

The Amazon Resource Name (ARN) of the NFS location that was described.

*/ inline void SetLocationArn(const char* value) { m_locationArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the NFS location that was described.

*/ inline DescribeLocationNfsResult& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the NFS location that was described.

*/ inline DescribeLocationNfsResult& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the NFS location that was described.

*/ inline DescribeLocationNfsResult& WithLocationArn(const char* value) { SetLocationArn(value); return *this;} /** *

The URL of the source NFS location that was described.

*/ inline const Aws::String& GetLocationUri() const{ return m_locationUri; } /** *

The URL of the source NFS location that was described.

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

The URL of the source NFS location that was described.

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

The URL of the source NFS location that was described.

*/ inline void SetLocationUri(const char* value) { m_locationUri.assign(value); } /** *

The URL of the source NFS location that was described.

*/ inline DescribeLocationNfsResult& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;} /** *

The URL of the source NFS location that was described.

*/ inline DescribeLocationNfsResult& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;} /** *

The URL of the source NFS location that was described.

*/ inline DescribeLocationNfsResult& WithLocationUri(const char* value) { SetLocationUri(value); return *this;} inline const OnPremConfig& GetOnPremConfig() const{ return m_onPremConfig; } inline void SetOnPremConfig(const OnPremConfig& value) { m_onPremConfig = value; } inline void SetOnPremConfig(OnPremConfig&& value) { m_onPremConfig = std::move(value); } inline DescribeLocationNfsResult& WithOnPremConfig(const OnPremConfig& value) { SetOnPremConfig(value); return *this;} inline DescribeLocationNfsResult& WithOnPremConfig(OnPremConfig&& value) { SetOnPremConfig(std::move(value)); return *this;} /** *

The mount options that DataSync uses to mount your NFS share.

*/ inline const NfsMountOptions& GetMountOptions() const{ return m_mountOptions; } /** *

The mount options that DataSync uses to mount your NFS share.

*/ inline void SetMountOptions(const NfsMountOptions& value) { m_mountOptions = value; } /** *

The mount options that DataSync uses to mount your NFS share.

*/ inline void SetMountOptions(NfsMountOptions&& value) { m_mountOptions = std::move(value); } /** *

The mount options that DataSync uses to mount your NFS share.

*/ inline DescribeLocationNfsResult& WithMountOptions(const NfsMountOptions& value) { SetMountOptions(value); return *this;} /** *

The mount options that DataSync uses to mount your NFS share.

*/ inline DescribeLocationNfsResult& WithMountOptions(NfsMountOptions&& value) { SetMountOptions(std::move(value)); return *this;} /** *

The time that the NFS location was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The time that the NFS location was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

The time that the NFS location was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *

The time that the NFS location was created.

*/ inline DescribeLocationNfsResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The time that the NFS location was created.

*/ inline DescribeLocationNfsResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(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 DescribeLocationNfsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeLocationNfsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeLocationNfsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_locationArn; Aws::String m_locationUri; OnPremConfig m_onPremConfig; NfsMountOptions m_mountOptions; Aws::Utils::DateTime m_creationTime; Aws::String m_requestId; }; } // namespace Model } // namespace DataSync } // namespace Aws