/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about a volume that Linux processes in a container can
* access. When you define a volume, the IoT Greengrass Core software mounts the
* source files to the destination inside the container.See Also:
* AWS
* API Reference
The path to the physical volume in the file system.
*/ inline const Aws::String& GetSourcePath() const{ return m_sourcePath; } /** *The path to the physical volume in the file system.
*/ inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; } /** *The path to the physical volume in the file system.
*/ inline void SetSourcePath(const Aws::String& value) { m_sourcePathHasBeenSet = true; m_sourcePath = value; } /** *The path to the physical volume in the file system.
*/ inline void SetSourcePath(Aws::String&& value) { m_sourcePathHasBeenSet = true; m_sourcePath = std::move(value); } /** *The path to the physical volume in the file system.
*/ inline void SetSourcePath(const char* value) { m_sourcePathHasBeenSet = true; m_sourcePath.assign(value); } /** *The path to the physical volume in the file system.
*/ inline LambdaVolumeMount& WithSourcePath(const Aws::String& value) { SetSourcePath(value); return *this;} /** *The path to the physical volume in the file system.
*/ inline LambdaVolumeMount& WithSourcePath(Aws::String&& value) { SetSourcePath(std::move(value)); return *this;} /** *The path to the physical volume in the file system.
*/ inline LambdaVolumeMount& WithSourcePath(const char* value) { SetSourcePath(value); return *this;} /** *The path to the logical volume in the file system.
*/ inline const Aws::String& GetDestinationPath() const{ return m_destinationPath; } /** *The path to the logical volume in the file system.
*/ inline bool DestinationPathHasBeenSet() const { return m_destinationPathHasBeenSet; } /** *The path to the logical volume in the file system.
*/ inline void SetDestinationPath(const Aws::String& value) { m_destinationPathHasBeenSet = true; m_destinationPath = value; } /** *The path to the logical volume in the file system.
*/ inline void SetDestinationPath(Aws::String&& value) { m_destinationPathHasBeenSet = true; m_destinationPath = std::move(value); } /** *The path to the logical volume in the file system.
*/ inline void SetDestinationPath(const char* value) { m_destinationPathHasBeenSet = true; m_destinationPath.assign(value); } /** *The path to the logical volume in the file system.
*/ inline LambdaVolumeMount& WithDestinationPath(const Aws::String& value) { SetDestinationPath(value); return *this;} /** *The path to the logical volume in the file system.
*/ inline LambdaVolumeMount& WithDestinationPath(Aws::String&& value) { SetDestinationPath(std::move(value)); return *this;} /** *The path to the logical volume in the file system.
*/ inline LambdaVolumeMount& WithDestinationPath(const char* value) { SetDestinationPath(value); return *this;} /** *The permission to access the volume: read/only (ro
) or
* read/write (rw
).
Default: ro
The permission to access the volume: read/only (ro
) or
* read/write (rw
).
Default: ro
The permission to access the volume: read/only (ro
) or
* read/write (rw
).
Default: ro
The permission to access the volume: read/only (ro
) or
* read/write (rw
).
Default: ro
The permission to access the volume: read/only (ro
) or
* read/write (rw
).
Default: ro
The permission to access the volume: read/only (ro
) or
* read/write (rw
).
Default: ro
Whether or not to add the IoT Greengrass user group as an owner of the * volume.
Default: false
Whether or not to add the IoT Greengrass user group as an owner of the * volume.
Default: false
Whether or not to add the IoT Greengrass user group as an owner of the * volume.
Default: false
Whether or not to add the IoT Greengrass user group as an owner of the * volume.
Default: false