AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
EksContainerVolumeMount.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Batch {
20namespace Model {
21
31 public:
32 AWS_BATCH_API EksContainerVolumeMount() = default;
35 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetMountPath() const { return m_mountPath; }
61 inline bool MountPathHasBeenSet() const { return m_mountPathHasBeenSet; }
62 template <typename MountPathT = Aws::String>
63 void SetMountPath(MountPathT&& value) {
64 m_mountPathHasBeenSet = true;
65 m_mountPath = std::forward<MountPathT>(value);
66 }
67 template <typename MountPathT = Aws::String>
69 SetMountPath(std::forward<MountPathT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetSubPath() const { return m_subPath; }
79 inline bool SubPathHasBeenSet() const { return m_subPathHasBeenSet; }
80 template <typename SubPathT = Aws::String>
81 void SetSubPath(SubPathT&& value) {
82 m_subPathHasBeenSet = true;
83 m_subPath = std::forward<SubPathT>(value);
84 }
85 template <typename SubPathT = Aws::String>
87 SetSubPath(std::forward<SubPathT>(value));
88 return *this;
89 }
91
93
98 inline bool GetReadOnly() const { return m_readOnly; }
99 inline bool ReadOnlyHasBeenSet() const { return m_readOnlyHasBeenSet; }
100 inline void SetReadOnly(bool value) {
101 m_readOnlyHasBeenSet = true;
102 m_readOnly = value;
103 }
105 SetReadOnly(value);
106 return *this;
107 }
109 private:
110 Aws::String m_name;
111
112 Aws::String m_mountPath;
113
114 Aws::String m_subPath;
115
116 bool m_readOnly{false};
117 bool m_nameHasBeenSet = false;
118 bool m_mountPathHasBeenSet = false;
119 bool m_subPathHasBeenSet = false;
120 bool m_readOnlyHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace Batch
125} // namespace Aws
EksContainerVolumeMount & WithName(NameT &&value)
EksContainerVolumeMount & WithSubPath(SubPathT &&value)
AWS_BATCH_API EksContainerVolumeMount(Aws::Utils::Json::JsonView jsonValue)
EksContainerVolumeMount & WithReadOnly(bool value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
EksContainerVolumeMount & WithMountPath(MountPathT &&value)
AWS_BATCH_API EksContainerVolumeMount & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API EksContainerVolumeMount()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue