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/ecs/ECS_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 ECS
23{
24namespace Model
25{
26
33 class Tmpfs
34 {
35 public:
36 AWS_ECS_API Tmpfs();
37 AWS_ECS_API Tmpfs(Aws::Utils::Json::JsonView jsonValue);
40
41
43
46 inline const Aws::String& GetContainerPath() const{ return m_containerPath; }
47 inline bool ContainerPathHasBeenSet() const { return m_containerPathHasBeenSet; }
48 inline void SetContainerPath(const Aws::String& value) { m_containerPathHasBeenSet = true; m_containerPath = value; }
49 inline void SetContainerPath(Aws::String&& value) { m_containerPathHasBeenSet = true; m_containerPath = std::move(value); }
50 inline void SetContainerPath(const char* value) { m_containerPathHasBeenSet = true; m_containerPath.assign(value); }
51 inline Tmpfs& WithContainerPath(const Aws::String& value) { SetContainerPath(value); return *this;}
52 inline Tmpfs& WithContainerPath(Aws::String&& value) { SetContainerPath(std::move(value)); return *this;}
53 inline Tmpfs& WithContainerPath(const char* value) { SetContainerPath(value); return *this;}
55
57
60 inline int GetSize() const{ return m_size; }
61 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
62 inline void SetSize(int value) { m_sizeHasBeenSet = true; m_size = value; }
63 inline Tmpfs& WithSize(int value) { SetSize(value); return *this;}
65
67
76 inline const Aws::Vector<Aws::String>& GetMountOptions() const{ return m_mountOptions; }
77 inline bool MountOptionsHasBeenSet() const { return m_mountOptionsHasBeenSet; }
78 inline void SetMountOptions(const Aws::Vector<Aws::String>& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = value; }
79 inline void SetMountOptions(Aws::Vector<Aws::String>&& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = std::move(value); }
80 inline Tmpfs& WithMountOptions(const Aws::Vector<Aws::String>& value) { SetMountOptions(value); return *this;}
81 inline Tmpfs& WithMountOptions(Aws::Vector<Aws::String>&& value) { SetMountOptions(std::move(value)); return *this;}
82 inline Tmpfs& AddMountOptions(const Aws::String& value) { m_mountOptionsHasBeenSet = true; m_mountOptions.push_back(value); return *this; }
83 inline Tmpfs& AddMountOptions(Aws::String&& value) { m_mountOptionsHasBeenSet = true; m_mountOptions.push_back(std::move(value)); return *this; }
84 inline Tmpfs& AddMountOptions(const char* value) { m_mountOptionsHasBeenSet = true; m_mountOptions.push_back(value); return *this; }
86 private:
87
88 Aws::String m_containerPath;
89 bool m_containerPathHasBeenSet = false;
90
91 int m_size;
92 bool m_sizeHasBeenSet = false;
93
94 Aws::Vector<Aws::String> m_mountOptions;
95 bool m_mountOptionsHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace ECS
100} // namespace Aws
void SetMountOptions(const Aws::Vector< Aws::String > &value)
Definition Tmpfs.h:78
Tmpfs & WithSize(int value)
Definition Tmpfs.h:63
Tmpfs & WithContainerPath(Aws::String &&value)
Definition Tmpfs.h:52
Tmpfs & AddMountOptions(Aws::String &&value)
Definition Tmpfs.h:83
bool ContainerPathHasBeenSet() const
Definition Tmpfs.h:47
Tmpfs & WithContainerPath(const char *value)
Definition Tmpfs.h:53
Tmpfs & AddMountOptions(const Aws::String &value)
Definition Tmpfs.h:82
Tmpfs & AddMountOptions(const char *value)
Definition Tmpfs.h:84
const Aws::Vector< Aws::String > & GetMountOptions() const
Definition Tmpfs.h:76
Tmpfs & WithMountOptions(const Aws::Vector< Aws::String > &value)
Definition Tmpfs.h:80
Tmpfs & WithContainerPath(const Aws::String &value)
Definition Tmpfs.h:51
void SetSize(int value)
Definition Tmpfs.h:62
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetContainerPath() const
Definition Tmpfs.h:46
void SetContainerPath(Aws::String &&value)
Definition Tmpfs.h:49
void SetContainerPath(const Aws::String &value)
Definition Tmpfs.h:48
bool MountOptionsHasBeenSet() const
Definition Tmpfs.h:77
AWS_ECS_API Tmpfs(Aws::Utils::Json::JsonView jsonValue)
void SetContainerPath(const char *value)
Definition Tmpfs.h:50
Tmpfs & WithMountOptions(Aws::Vector< Aws::String > &&value)
Definition Tmpfs.h:81
void SetMountOptions(Aws::Vector< Aws::String > &&value)
Definition Tmpfs.h:79
int GetSize() const
Definition Tmpfs.h:60
AWS_ECS_API Tmpfs & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SizeHasBeenSet() const
Definition Tmpfs.h:61
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue