/**
* 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; }
inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
inline FileSystemConfig& WithArn(const Aws::String& value) { SetArn(value); return *this;}
inline FileSystemConfig& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
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; }
inline bool LocalMountPathHasBeenSet() const { return m_localMountPathHasBeenSet; }
inline void SetLocalMountPath(const Aws::String& value) { m_localMountPathHasBeenSet = true; m_localMountPath = value; }
inline void SetLocalMountPath(Aws::String&& value) { m_localMountPathHasBeenSet = true; m_localMountPath = std::move(value); }
inline void SetLocalMountPath(const char* value) { m_localMountPathHasBeenSet = true; m_localMountPath.assign(value); }
inline FileSystemConfig& WithLocalMountPath(const Aws::String& value) { SetLocalMountPath(value); return *this;}
inline FileSystemConfig& WithLocalMountPath(Aws::String&& value) { SetLocalMountPath(std::move(value)); return *this;}
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