AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Tmpfs.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Batch
23{
24namespace Model
25{
26
34 class Tmpfs
35 {
36 public:
37 AWS_BATCH_API Tmpfs();
38 AWS_BATCH_API Tmpfs(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BATCH_API Tmpfs& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
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 Tmpfs& WithContainerPath(const Aws::String& value) { SetContainerPath(value); return *this;}
54 inline Tmpfs& WithContainerPath(Aws::String&& value) { SetContainerPath(std::move(value)); return *this;}
55 inline Tmpfs& WithContainerPath(const char* value) { SetContainerPath(value); return *this;}
57
59
62 inline int GetSize() const{ return m_size; }
63 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
64 inline void SetSize(int value) { m_sizeHasBeenSet = true; m_size = value; }
65 inline Tmpfs& WithSize(int value) { SetSize(value); return *this;}
67
69
84 inline const Aws::Vector<Aws::String>& GetMountOptions() const{ return m_mountOptions; }
85 inline bool MountOptionsHasBeenSet() const { return m_mountOptionsHasBeenSet; }
86 inline void SetMountOptions(const Aws::Vector<Aws::String>& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = value; }
87 inline void SetMountOptions(Aws::Vector<Aws::String>&& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = std::move(value); }
88 inline Tmpfs& WithMountOptions(const Aws::Vector<Aws::String>& value) { SetMountOptions(value); return *this;}
89 inline Tmpfs& WithMountOptions(Aws::Vector<Aws::String>&& value) { SetMountOptions(std::move(value)); return *this;}
90 inline Tmpfs& AddMountOptions(const Aws::String& value) { m_mountOptionsHasBeenSet = true; m_mountOptions.push_back(value); return *this; }
91 inline Tmpfs& AddMountOptions(Aws::String&& value) { m_mountOptionsHasBeenSet = true; m_mountOptions.push_back(std::move(value)); return *this; }
92 inline Tmpfs& AddMountOptions(const char* value) { m_mountOptionsHasBeenSet = true; m_mountOptions.push_back(value); return *this; }
94 private:
95
96 Aws::String m_containerPath;
97 bool m_containerPathHasBeenSet = false;
98
99 int m_size;
100 bool m_sizeHasBeenSet = false;
101
102 Aws::Vector<Aws::String> m_mountOptions;
103 bool m_mountOptionsHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Batch
108} // namespace Aws
Tmpfs & WithSize(int value)
Definition Tmpfs.h:65
void SetMountOptions(const Aws::Vector< Aws::String > &value)
Definition Tmpfs.h:86
const Aws::Vector< Aws::String > & GetMountOptions() const
Definition Tmpfs.h:84
Tmpfs & WithContainerPath(const Aws::String &value)
Definition Tmpfs.h:53
int GetSize() const
Definition Tmpfs.h:62
Tmpfs & WithContainerPath(Aws::String &&value)
Definition Tmpfs.h:54
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSize(int value)
Definition Tmpfs.h:64
void SetContainerPath(Aws::String &&value)
Definition Tmpfs.h:51
Tmpfs & AddMountOptions(const char *value)
Definition Tmpfs.h:92
bool SizeHasBeenSet() const
Definition Tmpfs.h:63
bool MountOptionsHasBeenSet() const
Definition Tmpfs.h:85
bool ContainerPathHasBeenSet() const
Definition Tmpfs.h:49
Tmpfs & AddMountOptions(Aws::String &&value)
Definition Tmpfs.h:91
Tmpfs & AddMountOptions(const Aws::String &value)
Definition Tmpfs.h:90
void SetContainerPath(const Aws::String &value)
Definition Tmpfs.h:50
AWS_BATCH_API Tmpfs(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetContainerPath() const
Definition Tmpfs.h:48
AWS_BATCH_API Tmpfs & operator=(Aws::Utils::Json::JsonView jsonValue)
Tmpfs & WithMountOptions(const Aws::Vector< Aws::String > &value)
Definition Tmpfs.h:88
Tmpfs & WithMountOptions(Aws::Vector< Aws::String > &&value)
Definition Tmpfs.h:89
Tmpfs & WithContainerPath(const char *value)
Definition Tmpfs.h:55
void SetContainerPath(const char *value)
Definition Tmpfs.h:52
void SetMountOptions(Aws::Vector< Aws::String > &&value)
Definition Tmpfs.h:87
AWS_BATCH_API Tmpfs()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue