/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A mount point for the data volumes in the container.See Also:
* AWS
* API Reference
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 AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails& WithContainerPath(const Aws::String& value) { SetContainerPath(value); return *this;} /** *The path on the container to mount the host volume at.
*/ inline AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails& WithContainerPath(Aws::String&& value) { SetContainerPath(std::move(value)); return *this;} /** *The path on the container to mount the host volume at.
*/ inline AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails& WithContainerPath(const char* value) { SetContainerPath(value); return *this;} /** *Whether the container has read-only access to the volume.
*/ inline bool GetReadOnly() const{ return m_readOnly; } /** *Whether the container has read-only access to the volume.
*/ inline bool ReadOnlyHasBeenSet() const { return m_readOnlyHasBeenSet; } /** *Whether the container has read-only access to the volume.
*/ inline void SetReadOnly(bool value) { m_readOnlyHasBeenSet = true; m_readOnly = value; } /** *Whether the container has read-only access to the volume.
*/ inline AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails& WithReadOnly(bool value) { SetReadOnly(value); return *this;} /** *The name of the volume to mount. Must match the name of a volume listed in
* VolumeDetails
for the task definition.
The name of the volume to mount. Must match the name of a volume listed in
* VolumeDetails
for the task definition.
The name of the volume to mount. Must match the name of a volume listed in
* VolumeDetails
for the task definition.
The name of the volume to mount. Must match the name of a volume listed in
* VolumeDetails
for the task definition.
The name of the volume to mount. Must match the name of a volume listed in
* VolumeDetails
for the task definition.
The name of the volume to mount. Must match the name of a volume listed in
* VolumeDetails
for the task definition.
The name of the volume to mount. Must match the name of a volume listed in
* VolumeDetails
for the task definition.
The name of the volume to mount. Must match the name of a volume listed in
* VolumeDetails
for the task definition.