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

Specifies the details for the file location for the file that's being used in * the workflow. Only applicable if you are using Amazon Elastic File Systems * (Amazon EFS) for storage.

See Also:

AWS * API Reference

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

The identifier of the file system, assigned by Amazon EFS.

*/ inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; } /** *

The identifier of the file system, assigned by Amazon EFS.

*/ inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; } /** *

The identifier of the file system, assigned by Amazon EFS.

*/ inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; } /** *

The identifier of the file system, assigned by Amazon EFS.

*/ inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); } /** *

The identifier of the file system, assigned by Amazon EFS.

*/ inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); } /** *

The identifier of the file system, assigned by Amazon EFS.

*/ inline EfsFileLocation& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;} /** *

The identifier of the file system, assigned by Amazon EFS.

*/ inline EfsFileLocation& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;} /** *

The identifier of the file system, assigned by Amazon EFS.

*/ inline EfsFileLocation& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;} /** *

The pathname for the folder being used by a workflow.

*/ inline const Aws::String& GetPath() const{ return m_path; } /** *

The pathname for the folder being used by a workflow.

*/ inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } /** *

The pathname for the folder being used by a workflow.

*/ inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; } /** *

The pathname for the folder being used by a workflow.

*/ inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } /** *

The pathname for the folder being used by a workflow.

*/ inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); } /** *

The pathname for the folder being used by a workflow.

*/ inline EfsFileLocation& WithPath(const Aws::String& value) { SetPath(value); return *this;} /** *

The pathname for the folder being used by a workflow.

*/ inline EfsFileLocation& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} /** *

The pathname for the folder being used by a workflow.

*/ inline EfsFileLocation& WithPath(const char* value) { SetPath(value); return *this;} private: Aws::String m_fileSystemId; bool m_fileSystemIdHasBeenSet = false; Aws::String m_path; bool m_pathHasBeenSet = false; }; } // namespace Model } // namespace Transfer } // namespace Aws