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

Specifies the Network File System (NFS) protocol configuration that DataSync * uses to access your Amazon FSx for OpenZFS or Amazon FSx for NetApp ONTAP file * system.

See Also:

AWS * API Reference

*/ class FsxProtocolNfs { public: AWS_DATASYNC_API FsxProtocolNfs(); AWS_DATASYNC_API FsxProtocolNfs(Aws::Utils::Json::JsonView jsonValue); AWS_DATASYNC_API FsxProtocolNfs& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const; inline const NfsMountOptions& GetMountOptions() const{ return m_mountOptions; } inline bool MountOptionsHasBeenSet() const { return m_mountOptionsHasBeenSet; } inline void SetMountOptions(const NfsMountOptions& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = value; } inline void SetMountOptions(NfsMountOptions&& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = std::move(value); } inline FsxProtocolNfs& WithMountOptions(const NfsMountOptions& value) { SetMountOptions(value); return *this;} inline FsxProtocolNfs& WithMountOptions(NfsMountOptions&& value) { SetMountOptions(std::move(value)); return *this;} private: NfsMountOptions m_mountOptions; bool m_mountOptionsHasBeenSet = false; }; } // namespace Model } // namespace DataSync } // namespace Aws