AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#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 Batch
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_BATCH_API EksContainerVolumeMount() = default;
40 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetName() const { return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 EksContainerVolumeMount& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_mountPathHasBeenSet = true; m_mountPath = std::forward<MountPathT>(value); }
64 template<typename MountPathT = Aws::String>
65 EksContainerVolumeMount& WithMountPath(MountPathT&& value) { SetMountPath(std::forward<MountPathT>(value)); return *this;}
67
69
72 inline const Aws::String& GetSubPath() const { return m_subPath; }
73 inline bool SubPathHasBeenSet() const { return m_subPathHasBeenSet; }
74 template<typename SubPathT = Aws::String>
75 void SetSubPath(SubPathT&& value) { m_subPathHasBeenSet = true; m_subPath = std::forward<SubPathT>(value); }
76 template<typename SubPathT = Aws::String>
77 EksContainerVolumeMount& WithSubPath(SubPathT&& value) { SetSubPath(std::forward<SubPathT>(value)); return *this;}
79
81
86 inline bool GetReadOnly() const { return m_readOnly; }
87 inline bool ReadOnlyHasBeenSet() const { return m_readOnlyHasBeenSet; }
88 inline void SetReadOnly(bool value) { m_readOnlyHasBeenSet = true; m_readOnly = value; }
89 inline EksContainerVolumeMount& WithReadOnly(bool value) { SetReadOnly(value); return *this;}
91 private:
92
93 Aws::String m_name;
94 bool m_nameHasBeenSet = false;
95
96 Aws::String m_mountPath;
97 bool m_mountPathHasBeenSet = false;
98
99 Aws::String m_subPath;
100 bool m_subPathHasBeenSet = false;
101
102 bool m_readOnly{false};
103 bool m_readOnlyHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Batch
108} // 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