/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the configuration of a Kubernetes hostPath
volume. A
* hostPath
volume mounts an existing file or directory from the host
* node's filesystem into your pod. For more information, see hostPath
* in the Kubernetes documentation.See Also:
AWS
* API Reference
The path of the file or directory on the host to mount into containers on the * pod.
*/ inline const Aws::String& GetPath() const{ return m_path; } /** *The path of the file or directory on the host to mount into containers on the * pod.
*/ inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } /** *The path of the file or directory on the host to mount into containers on the * pod.
*/ inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; } /** *The path of the file or directory on the host to mount into containers on the * pod.
*/ inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } /** *The path of the file or directory on the host to mount into containers on the * pod.
*/ inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); } /** *The path of the file or directory on the host to mount into containers on the * pod.
*/ inline EksHostPath& WithPath(const Aws::String& value) { SetPath(value); return *this;} /** *The path of the file or directory on the host to mount into containers on the * pod.
*/ inline EksHostPath& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} /** *The path of the file or directory on the host to mount into containers on the * pod.
*/ inline EksHostPath& WithPath(const char* value) { SetPath(value); return *this;} private: Aws::String m_path; bool m_pathHasBeenSet = false; }; } // namespace Model } // namespace Batch } // namespace Aws