AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
HostVolumeProperties.h
Go to the documentation of this file.
1
6#pragma once
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ECS
22{
23namespace Model
24{
25
33 {
34 public:
39
40
53 inline const Aws::String& GetSourcePath() const{ return m_sourcePath; }
54
67 inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; }
68
81 inline void SetSourcePath(const Aws::String& value) { m_sourcePathHasBeenSet = true; m_sourcePath = value; }
82
95 inline void SetSourcePath(Aws::String&& value) { m_sourcePathHasBeenSet = true; m_sourcePath = std::move(value); }
96
109 inline void SetSourcePath(const char* value) { m_sourcePathHasBeenSet = true; m_sourcePath.assign(value); }
110
123 inline HostVolumeProperties& WithSourcePath(const Aws::String& value) { SetSourcePath(value); return *this;}
124
137 inline HostVolumeProperties& WithSourcePath(Aws::String&& value) { SetSourcePath(std::move(value)); return *this;}
138
151 inline HostVolumeProperties& WithSourcePath(const char* value) { SetSourcePath(value); return *this;}
152
153 private:
154
155 Aws::String m_sourcePath;
156 bool m_sourcePathHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace ECS
161} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
HostVolumeProperties & WithSourcePath(const Aws::String &value)
HostVolumeProperties & WithSourcePath(const char *value)
void SetSourcePath(const Aws::String &value)
AWS_ECS_API HostVolumeProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API HostVolumeProperties(Aws::Utils::Json::JsonView jsonValue)
HostVolumeProperties & WithSourcePath(Aws::String &&value)
const Aws::String & GetSourcePath() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String