7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename SourceVolumeT = Aws::String>
49 void SetSourceVolume(SourceVolumeT&& value) { m_sourceVolumeHasBeenSet =
true; m_sourceVolume = std::forward<SourceVolumeT>(value); }
50 template<
typename SourceVolumeT = Aws::String>
60 template<
typename ContainerPathT = Aws::String>
61 void SetContainerPath(ContainerPathT&& value) { m_containerPathHasBeenSet =
true; m_containerPath = std::forward<ContainerPathT>(value); }
62 template<
typename ContainerPathT = Aws::String>
74 inline void SetReadOnly(
bool value) { m_readOnlyHasBeenSet =
true; m_readOnly = value; }
80 bool m_sourceVolumeHasBeenSet =
false;
83 bool m_containerPathHasBeenSet =
false;
85 bool m_readOnly{
false};
86 bool m_readOnlyHasBeenSet =
false;
AWS_ECS_API MountPoint & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ReadOnlyHasBeenSet() const
MountPoint & WithReadOnly(bool value)
void SetReadOnly(bool value)
void SetSourceVolume(SourceVolumeT &&value)
AWS_ECS_API MountPoint()=default
bool SourceVolumeHasBeenSet() const
void SetContainerPath(ContainerPathT &&value)
MountPoint & WithSourceVolume(SourceVolumeT &&value)
MountPoint & WithContainerPath(ContainerPathT &&value)
const Aws::String & GetSourceVolume() const
bool ContainerPathHasBeenSet() const
AWS_ECS_API MountPoint(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetContainerPath() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue