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

The Network File System (NFS) configurations for mounting an Amazon FSx for * OpenZFS file system.

See Also:

AWS * API Reference

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

A list of configuration objects that contain the client and options for * mounting the OpenZFS file system.

*/ inline const Aws::Vector& GetClientConfigurations() const{ return m_clientConfigurations; } /** *

A list of configuration objects that contain the client and options for * mounting the OpenZFS file system.

*/ inline bool ClientConfigurationsHasBeenSet() const { return m_clientConfigurationsHasBeenSet; } /** *

A list of configuration objects that contain the client and options for * mounting the OpenZFS file system.

*/ inline void SetClientConfigurations(const Aws::Vector& value) { m_clientConfigurationsHasBeenSet = true; m_clientConfigurations = value; } /** *

A list of configuration objects that contain the client and options for * mounting the OpenZFS file system.

*/ inline void SetClientConfigurations(Aws::Vector&& value) { m_clientConfigurationsHasBeenSet = true; m_clientConfigurations = std::move(value); } /** *

A list of configuration objects that contain the client and options for * mounting the OpenZFS file system.

*/ inline OpenZFSNfsExport& WithClientConfigurations(const Aws::Vector& value) { SetClientConfigurations(value); return *this;} /** *

A list of configuration objects that contain the client and options for * mounting the OpenZFS file system.

*/ inline OpenZFSNfsExport& WithClientConfigurations(Aws::Vector&& value) { SetClientConfigurations(std::move(value)); return *this;} /** *

A list of configuration objects that contain the client and options for * mounting the OpenZFS file system.

*/ inline OpenZFSNfsExport& AddClientConfigurations(const OpenZFSClientConfiguration& value) { m_clientConfigurationsHasBeenSet = true; m_clientConfigurations.push_back(value); return *this; } /** *

A list of configuration objects that contain the client and options for * mounting the OpenZFS file system.

*/ inline OpenZFSNfsExport& AddClientConfigurations(OpenZFSClientConfiguration&& value) { m_clientConfigurationsHasBeenSet = true; m_clientConfigurations.push_back(std::move(value)); return *this; } private: Aws::Vector m_clientConfigurations; bool m_clientConfigurationsHasBeenSet = false; }; } // namespace Model } // namespace FSx } // namespace Aws