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

Information about a bind mount host volume.

See Also:

AWS * API Reference

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

The path on the host container instance that is presented to the * container.

*/ inline const Aws::String& GetSourcePath() const{ return m_sourcePath; } /** *

The path on the host container instance that is presented to the * container.

*/ inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; } /** *

The path on the host container instance that is presented to the * container.

*/ inline void SetSourcePath(const Aws::String& value) { m_sourcePathHasBeenSet = true; m_sourcePath = value; } /** *

The path on the host container instance that is presented to the * container.

*/ inline void SetSourcePath(Aws::String&& value) { m_sourcePathHasBeenSet = true; m_sourcePath = std::move(value); } /** *

The path on the host container instance that is presented to the * container.

*/ inline void SetSourcePath(const char* value) { m_sourcePathHasBeenSet = true; m_sourcePath.assign(value); } /** *

The path on the host container instance that is presented to the * container.

*/ inline AwsEcsTaskDefinitionVolumesHostDetails& WithSourcePath(const Aws::String& value) { SetSourcePath(value); return *this;} /** *

The path on the host container instance that is presented to the * container.

*/ inline AwsEcsTaskDefinitionVolumesHostDetails& WithSourcePath(Aws::String&& value) { SetSourcePath(std::move(value)); return *this;} /** *

The path on the host container instance that is presented to the * container.

*/ inline AwsEcsTaskDefinitionVolumesHostDetails& WithSourcePath(const char* value) { SetSourcePath(value); return *this;} private: Aws::String m_sourcePath; bool m_sourcePathHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws