AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
HostVolumeProperties.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ECS {
20namespace Model {
21
29 public:
30 AWS_ECS_API HostVolumeProperties() = default;
34
36
48 inline const Aws::String& GetSourcePath() const { return m_sourcePath; }
49 inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; }
50 template <typename SourcePathT = Aws::String>
51 void SetSourcePath(SourcePathT&& value) {
52 m_sourcePathHasBeenSet = true;
53 m_sourcePath = std::forward<SourcePathT>(value);
54 }
55 template <typename SourcePathT = Aws::String>
56 HostVolumeProperties& WithSourcePath(SourcePathT&& value) {
57 SetSourcePath(std::forward<SourcePathT>(value));
58 return *this;
59 }
61 private:
62 Aws::String m_sourcePath;
63 bool m_sourcePathHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace ECS
68} // namespace Aws
AWS_ECS_API HostVolumeProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
HostVolumeProperties & WithSourcePath(SourcePathT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API HostVolumeProperties()=default
AWS_ECS_API HostVolumeProperties(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSourcePath() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue