/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details for a volume mount point that's used in a container
* definition.See Also:
AWS API
* Reference
The name of the volume to mount. Must be a volume name referenced in the
* name
parameter of task definition volume
.
The name of the volume to mount. Must be a volume name referenced in the
* name
parameter of task definition volume
.
The name of the volume to mount. Must be a volume name referenced in the
* name
parameter of task definition volume
.
The name of the volume to mount. Must be a volume name referenced in the
* name
parameter of task definition volume
.
The name of the volume to mount. Must be a volume name referenced in the
* name
parameter of task definition volume
.
The name of the volume to mount. Must be a volume name referenced in the
* name
parameter of task definition volume
.
The name of the volume to mount. Must be a volume name referenced in the
* name
parameter of task definition volume
.
The name of the volume to mount. Must be a volume name referenced in the
* name
parameter of task definition volume
.
The path on the container to mount the host volume at.
*/ inline const Aws::String& GetContainerPath() const{ return m_containerPath; } /** *The path on the container to mount the host volume at.
*/ inline bool ContainerPathHasBeenSet() const { return m_containerPathHasBeenSet; } /** *The path on the container to mount the host volume at.
*/ inline void SetContainerPath(const Aws::String& value) { m_containerPathHasBeenSet = true; m_containerPath = value; } /** *The path on the container to mount the host volume at.
*/ inline void SetContainerPath(Aws::String&& value) { m_containerPathHasBeenSet = true; m_containerPath = std::move(value); } /** *The path on the container to mount the host volume at.
*/ inline void SetContainerPath(const char* value) { m_containerPathHasBeenSet = true; m_containerPath.assign(value); } /** *The path on the container to mount the host volume at.
*/ inline MountPoint& WithContainerPath(const Aws::String& value) { SetContainerPath(value); return *this;} /** *The path on the container to mount the host volume at.
*/ inline MountPoint& WithContainerPath(Aws::String&& value) { SetContainerPath(std::move(value)); return *this;} /** *The path on the container to mount the host volume at.
*/ inline MountPoint& WithContainerPath(const char* value) { SetContainerPath(value); return *this;} /** *If this value is true
, the container has read-only access to the
* volume. If this value is false
, then the container can write to the
* volume. The default value is false
.
If this value is true
, the container has read-only access to the
* volume. If this value is false
, then the container can write to the
* volume. The default value is false
.
If this value is true
, the container has read-only access to the
* volume. If this value is false
, then the container can write to the
* volume. The default value is false
.
If this value is true
, the container has read-only access to the
* volume. If this value is false
, then the container can write to the
* volume. The default value is false
.