/** * 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 { /** *

Provides details on a container instance bind mount host volume. *

See Also:

AWS * API Reference

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

When the host parameter is used, specify a * sourcePath to declare the path on the host container instance * that's presented to the container.

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

When the host parameter is used, specify a * sourcePath to declare the path on the host container instance * that's presented to the container.

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

When the host parameter is used, specify a * sourcePath to declare the path on the host container instance * that's presented to the container.

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

When the host parameter is used, specify a * sourcePath to declare the path on the host container instance * that's presented to the container.

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

When the host parameter is used, specify a * sourcePath to declare the path on the host container instance * that's presented to the container.

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

When the host parameter is used, specify a * sourcePath to declare the path on the host container instance * that's presented to the container.

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

When the host parameter is used, specify a * sourcePath to declare the path on the host container instance * that's presented to the container.

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

When the host parameter is used, specify a * sourcePath to declare the path on the host container instance * that's presented to the container.

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