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

An Amazon FSx for NetApp ONTAP file system has the following endpoints that * are used to access data or to manage the file system using the NetApp ONTAP CLI, * REST API, or NetApp SnapMirror.

See Also:

AWS * API Reference

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

An endpoint for managing your file system by setting up NetApp SnapMirror * with other ONTAP systems.

*/ inline const FileSystemEndpoint& GetIntercluster() const{ return m_intercluster; } /** *

An endpoint for managing your file system by setting up NetApp SnapMirror * with other ONTAP systems.

*/ inline bool InterclusterHasBeenSet() const { return m_interclusterHasBeenSet; } /** *

An endpoint for managing your file system by setting up NetApp SnapMirror * with other ONTAP systems.

*/ inline void SetIntercluster(const FileSystemEndpoint& value) { m_interclusterHasBeenSet = true; m_intercluster = value; } /** *

An endpoint for managing your file system by setting up NetApp SnapMirror * with other ONTAP systems.

*/ inline void SetIntercluster(FileSystemEndpoint&& value) { m_interclusterHasBeenSet = true; m_intercluster = std::move(value); } /** *

An endpoint for managing your file system by setting up NetApp SnapMirror * with other ONTAP systems.

*/ inline FileSystemEndpoints& WithIntercluster(const FileSystemEndpoint& value) { SetIntercluster(value); return *this;} /** *

An endpoint for managing your file system by setting up NetApp SnapMirror * with other ONTAP systems.

*/ inline FileSystemEndpoints& WithIntercluster(FileSystemEndpoint&& value) { SetIntercluster(std::move(value)); return *this;} /** *

An endpoint for managing your file system using the NetApp ONTAP CLI and * NetApp ONTAP API.

*/ inline const FileSystemEndpoint& GetManagement() const{ return m_management; } /** *

An endpoint for managing your file system using the NetApp ONTAP CLI and * NetApp ONTAP API.

*/ inline bool ManagementHasBeenSet() const { return m_managementHasBeenSet; } /** *

An endpoint for managing your file system using the NetApp ONTAP CLI and * NetApp ONTAP API.

*/ inline void SetManagement(const FileSystemEndpoint& value) { m_managementHasBeenSet = true; m_management = value; } /** *

An endpoint for managing your file system using the NetApp ONTAP CLI and * NetApp ONTAP API.

*/ inline void SetManagement(FileSystemEndpoint&& value) { m_managementHasBeenSet = true; m_management = std::move(value); } /** *

An endpoint for managing your file system using the NetApp ONTAP CLI and * NetApp ONTAP API.

*/ inline FileSystemEndpoints& WithManagement(const FileSystemEndpoint& value) { SetManagement(value); return *this;} /** *

An endpoint for managing your file system using the NetApp ONTAP CLI and * NetApp ONTAP API.

*/ inline FileSystemEndpoints& WithManagement(FileSystemEndpoint&& value) { SetManagement(std::move(value)); return *this;} private: FileSystemEndpoint m_intercluster; bool m_interclusterHasBeenSet = false; FileSystemEndpoint m_management; bool m_managementHasBeenSet = false; }; } // namespace Model } // namespace FSx } // namespace Aws