AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HostVolumeProperties.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
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:
35 AWS_ECS_API HostVolumeProperties();
39
40
42
54 inline const Aws::String& GetSourcePath() const{ return m_sourcePath; }
55 inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; }
56 inline void SetSourcePath(const Aws::String& value) { m_sourcePathHasBeenSet = true; m_sourcePath = value; }
57 inline void SetSourcePath(Aws::String&& value) { m_sourcePathHasBeenSet = true; m_sourcePath = std::move(value); }
58 inline void SetSourcePath(const char* value) { m_sourcePathHasBeenSet = true; m_sourcePath.assign(value); }
59 inline HostVolumeProperties& WithSourcePath(const Aws::String& value) { SetSourcePath(value); return *this;}
60 inline HostVolumeProperties& WithSourcePath(Aws::String&& value) { SetSourcePath(std::move(value)); return *this;}
61 inline HostVolumeProperties& WithSourcePath(const char* value) { SetSourcePath(value); return *this;}
63 private:
64
65 Aws::String m_sourcePath;
66 bool m_sourcePathHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace ECS
71} // namespace Aws
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
Aws::Utils::Json::JsonValue JsonValue