AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MountPoint.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
36 {
37 public:
38 AWS_BATCH_API MountPoint();
39 AWS_BATCH_API MountPoint(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetContainerPath() const{ return m_containerPath; }
49 inline bool ContainerPathHasBeenSet() const { return m_containerPathHasBeenSet; }
50 inline void SetContainerPath(const Aws::String& value) { m_containerPathHasBeenSet = true; m_containerPath = value; }
51 inline void SetContainerPath(Aws::String&& value) { m_containerPathHasBeenSet = true; m_containerPath = std::move(value); }
52 inline void SetContainerPath(const char* value) { m_containerPathHasBeenSet = true; m_containerPath.assign(value); }
53 inline MountPoint& WithContainerPath(const Aws::String& value) { SetContainerPath(value); return *this;}
54 inline MountPoint& WithContainerPath(Aws::String&& value) { SetContainerPath(std::move(value)); return *this;}
55 inline MountPoint& WithContainerPath(const char* value) { SetContainerPath(value); return *this;}
57
59
64 inline bool GetReadOnly() const{ return m_readOnly; }
65 inline bool ReadOnlyHasBeenSet() const { return m_readOnlyHasBeenSet; }
66 inline void SetReadOnly(bool value) { m_readOnlyHasBeenSet = true; m_readOnly = value; }
67 inline MountPoint& WithReadOnly(bool value) { SetReadOnly(value); return *this;}
69
71
74 inline const Aws::String& GetSourceVolume() const{ return m_sourceVolume; }
75 inline bool SourceVolumeHasBeenSet() const { return m_sourceVolumeHasBeenSet; }
76 inline void SetSourceVolume(const Aws::String& value) { m_sourceVolumeHasBeenSet = true; m_sourceVolume = value; }
77 inline void SetSourceVolume(Aws::String&& value) { m_sourceVolumeHasBeenSet = true; m_sourceVolume = std::move(value); }
78 inline void SetSourceVolume(const char* value) { m_sourceVolumeHasBeenSet = true; m_sourceVolume.assign(value); }
79 inline MountPoint& WithSourceVolume(const Aws::String& value) { SetSourceVolume(value); return *this;}
80 inline MountPoint& WithSourceVolume(Aws::String&& value) { SetSourceVolume(std::move(value)); return *this;}
81 inline MountPoint& WithSourceVolume(const char* value) { SetSourceVolume(value); return *this;}
83 private:
84
85 Aws::String m_containerPath;
86 bool m_containerPathHasBeenSet = false;
87
88 bool m_readOnly;
89 bool m_readOnlyHasBeenSet = false;
90
91 Aws::String m_sourceVolume;
92 bool m_sourceVolumeHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Batch
97} // namespace Aws
const Aws::String & GetSourceVolume() const
Definition MountPoint.h:74
AWS_BATCH_API MountPoint & operator=(Aws::Utils::Json::JsonView jsonValue)
MountPoint & WithContainerPath(const Aws::String &value)
Definition MountPoint.h:53
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
MountPoint & WithContainerPath(const char *value)
Definition MountPoint.h:55
bool ContainerPathHasBeenSet() const
Definition MountPoint.h:49
MountPoint & WithReadOnly(bool value)
Definition MountPoint.h:67
MountPoint & WithSourceVolume(const Aws::String &value)
Definition MountPoint.h:79
MountPoint & WithContainerPath(Aws::String &&value)
Definition MountPoint.h:54
bool SourceVolumeHasBeenSet() const
Definition MountPoint.h:75
void SetSourceVolume(const Aws::String &value)
Definition MountPoint.h:76
const Aws::String & GetContainerPath() const
Definition MountPoint.h:48
void SetSourceVolume(Aws::String &&value)
Definition MountPoint.h:77
void SetContainerPath(const Aws::String &value)
Definition MountPoint.h:50
MountPoint & WithSourceVolume(Aws::String &&value)
Definition MountPoint.h:80
AWS_BATCH_API MountPoint(Aws::Utils::Json::JsonView jsonValue)
void SetContainerPath(Aws::String &&value)
Definition MountPoint.h:51
void SetContainerPath(const char *value)
Definition MountPoint.h:52
void SetSourceVolume(const char *value)
Definition MountPoint.h:78
MountPoint & WithSourceVolume(const char *value)
Definition MountPoint.h:81
void SetReadOnly(bool value)
Definition MountPoint.h:66
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue