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/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 MountPoint();
36 AWS_ECS_API MountPoint(Aws::Utils::Json::JsonView jsonValue);
39
40
42
46 inline const Aws::String& GetSourceVolume() const{ return m_sourceVolume; }
47 inline bool SourceVolumeHasBeenSet() const { return m_sourceVolumeHasBeenSet; }
48 inline void SetSourceVolume(const Aws::String& value) { m_sourceVolumeHasBeenSet = true; m_sourceVolume = value; }
49 inline void SetSourceVolume(Aws::String&& value) { m_sourceVolumeHasBeenSet = true; m_sourceVolume = std::move(value); }
50 inline void SetSourceVolume(const char* value) { m_sourceVolumeHasBeenSet = true; m_sourceVolume.assign(value); }
51 inline MountPoint& WithSourceVolume(const Aws::String& value) { SetSourceVolume(value); return *this;}
52 inline MountPoint& WithSourceVolume(Aws::String&& value) { SetSourceVolume(std::move(value)); return *this;}
53 inline MountPoint& WithSourceVolume(const char* value) { SetSourceVolume(value); return *this;}
55
57
60 inline const Aws::String& GetContainerPath() const{ return m_containerPath; }
61 inline bool ContainerPathHasBeenSet() const { return m_containerPathHasBeenSet; }
62 inline void SetContainerPath(const Aws::String& value) { m_containerPathHasBeenSet = true; m_containerPath = value; }
63 inline void SetContainerPath(Aws::String&& value) { m_containerPathHasBeenSet = true; m_containerPath = std::move(value); }
64 inline void SetContainerPath(const char* value) { m_containerPathHasBeenSet = true; m_containerPath.assign(value); }
65 inline MountPoint& WithContainerPath(const Aws::String& value) { SetContainerPath(value); return *this;}
66 inline MountPoint& WithContainerPath(Aws::String&& value) { SetContainerPath(std::move(value)); return *this;}
67 inline MountPoint& WithContainerPath(const char* value) { SetContainerPath(value); return *this;}
69
71
76 inline bool GetReadOnly() const{ return m_readOnly; }
77 inline bool ReadOnlyHasBeenSet() const { return m_readOnlyHasBeenSet; }
78 inline void SetReadOnly(bool value) { m_readOnlyHasBeenSet = true; m_readOnly = value; }
79 inline MountPoint& WithReadOnly(bool value) { SetReadOnly(value); return *this;}
81 private:
82
83 Aws::String m_sourceVolume;
84 bool m_sourceVolumeHasBeenSet = false;
85
86 Aws::String m_containerPath;
87 bool m_containerPathHasBeenSet = false;
88
89 bool m_readOnly;
90 bool m_readOnlyHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace ECS
95} // namespace Aws
AWS_ECS_API MountPoint & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ReadOnlyHasBeenSet() const
Definition MountPoint.h:77
MountPoint & WithReadOnly(bool value)
Definition MountPoint.h:79
void SetSourceVolume(const Aws::String &value)
Definition MountPoint.h:48
MountPoint & WithSourceVolume(const Aws::String &value)
Definition MountPoint.h:51
MountPoint & WithSourceVolume(Aws::String &&value)
Definition MountPoint.h:52
void SetSourceVolume(const char *value)
Definition MountPoint.h:50
void SetReadOnly(bool value)
Definition MountPoint.h:78
MountPoint & WithContainerPath(const char *value)
Definition MountPoint.h:67
void SetContainerPath(const char *value)
Definition MountPoint.h:64
MountPoint & WithContainerPath(const Aws::String &value)
Definition MountPoint.h:65
bool SourceVolumeHasBeenSet() const
Definition MountPoint.h:47
MountPoint & WithSourceVolume(const char *value)
Definition MountPoint.h:53
const Aws::String & GetSourceVolume() const
Definition MountPoint.h:46
void SetContainerPath(Aws::String &&value)
Definition MountPoint.h:63
void SetSourceVolume(Aws::String &&value)
Definition MountPoint.h:49
void SetContainerPath(const Aws::String &value)
Definition MountPoint.h:62
MountPoint & WithContainerPath(Aws::String &&value)
Definition MountPoint.h:66
bool ContainerPathHasBeenSet() const
Definition MountPoint.h:61
AWS_ECS_API MountPoint(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetContainerPath() const
Definition MountPoint.h:60
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue