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

Details about the connection between a Lambda function and an Amazon * EFS file system.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the Amazon EFS access point that provides * access to the file system.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the Amazon EFS access point that provides * access to the file system.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the Amazon EFS access point that provides * access to the file system.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon Resource Name (ARN) of the Amazon EFS access point that provides * access to the file system.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the Amazon EFS access point that provides * access to the file system.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the Amazon EFS access point that provides * access to the file system.

*/ inline FileSystemConfig& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the Amazon EFS access point that provides * access to the file system.

*/ inline FileSystemConfig& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the Amazon EFS access point that provides * access to the file system.

*/ inline FileSystemConfig& WithArn(const char* value) { SetArn(value); return *this;} /** *

The path where the function can access the file system, starting with * /mnt/.

*/ inline const Aws::String& GetLocalMountPath() const{ return m_localMountPath; } /** *

The path where the function can access the file system, starting with * /mnt/.

*/ inline bool LocalMountPathHasBeenSet() const { return m_localMountPathHasBeenSet; } /** *

The path where the function can access the file system, starting with * /mnt/.

*/ inline void SetLocalMountPath(const Aws::String& value) { m_localMountPathHasBeenSet = true; m_localMountPath = value; } /** *

The path where the function can access the file system, starting with * /mnt/.

*/ inline void SetLocalMountPath(Aws::String&& value) { m_localMountPathHasBeenSet = true; m_localMountPath = std::move(value); } /** *

The path where the function can access the file system, starting with * /mnt/.

*/ inline void SetLocalMountPath(const char* value) { m_localMountPathHasBeenSet = true; m_localMountPath.assign(value); } /** *

The path where the function can access the file system, starting with * /mnt/.

*/ inline FileSystemConfig& WithLocalMountPath(const Aws::String& value) { SetLocalMountPath(value); return *this;} /** *

The path where the function can access the file system, starting with * /mnt/.

*/ inline FileSystemConfig& WithLocalMountPath(Aws::String&& value) { SetLocalMountPath(std::move(value)); return *this;} /** *

The path where the function can access the file system, starting with * /mnt/.

*/ inline FileSystemConfig& WithLocalMountPath(const char* value) { SetLocalMountPath(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_localMountPath; bool m_localMountPathHasBeenSet = false; }; } // namespace Model } // namespace Lambda } // namespace Aws