AWS SDK for C++  1.9.107
AWS SDK for C++
Tmpfs.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ECS
23 {
24 namespace Model
25 {
26 
34  {
35  public:
36  Tmpfs();
40 
41 
45  inline const Aws::String& GetContainerPath() const{ return m_containerPath; }
46 
50  inline bool ContainerPathHasBeenSet() const { return m_containerPathHasBeenSet; }
51 
55  inline void SetContainerPath(const Aws::String& value) { m_containerPathHasBeenSet = true; m_containerPath = value; }
56 
60  inline void SetContainerPath(Aws::String&& value) { m_containerPathHasBeenSet = true; m_containerPath = std::move(value); }
61 
65  inline void SetContainerPath(const char* value) { m_containerPathHasBeenSet = true; m_containerPath.assign(value); }
66 
70  inline Tmpfs& WithContainerPath(const Aws::String& value) { SetContainerPath(value); return *this;}
71 
75  inline Tmpfs& WithContainerPath(Aws::String&& value) { SetContainerPath(std::move(value)); return *this;}
76 
80  inline Tmpfs& WithContainerPath(const char* value) { SetContainerPath(value); return *this;}
81 
82 
86  inline int GetSize() const{ return m_size; }
87 
91  inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
92 
96  inline void SetSize(int value) { m_sizeHasBeenSet = true; m_size = value; }
97 
101  inline Tmpfs& WithSize(int value) { SetSize(value); return *this;}
102 
103 
113  inline const Aws::Vector<Aws::String>& GetMountOptions() const{ return m_mountOptions; }
114 
124  inline bool MountOptionsHasBeenSet() const { return m_mountOptionsHasBeenSet; }
125 
135  inline void SetMountOptions(const Aws::Vector<Aws::String>& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = value; }
136 
146  inline void SetMountOptions(Aws::Vector<Aws::String>&& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = std::move(value); }
147 
157  inline Tmpfs& WithMountOptions(const Aws::Vector<Aws::String>& value) { SetMountOptions(value); return *this;}
158 
168  inline Tmpfs& WithMountOptions(Aws::Vector<Aws::String>&& value) { SetMountOptions(std::move(value)); return *this;}
169 
179  inline Tmpfs& AddMountOptions(const Aws::String& value) { m_mountOptionsHasBeenSet = true; m_mountOptions.push_back(value); return *this; }
180 
190  inline Tmpfs& AddMountOptions(Aws::String&& value) { m_mountOptionsHasBeenSet = true; m_mountOptions.push_back(std::move(value)); return *this; }
191 
201  inline Tmpfs& AddMountOptions(const char* value) { m_mountOptionsHasBeenSet = true; m_mountOptions.push_back(value); return *this; }
202 
203  private:
204 
205  Aws::String m_containerPath;
206  bool m_containerPathHasBeenSet;
207 
208  int m_size;
209  bool m_sizeHasBeenSet;
210 
211  Aws::Vector<Aws::String> m_mountOptions;
212  bool m_mountOptionsHasBeenSet;
213  };
214 
215 } // namespace Model
216 } // namespace ECS
217 } // namespace Aws
Aws::ECS::Model::Tmpfs::WithMountOptions
Tmpfs & WithMountOptions(const Aws::Vector< Aws::String > &value)
Definition: Tmpfs.h:157
Aws::ECS::Model::Tmpfs::SetContainerPath
void SetContainerPath(const char *value)
Definition: Tmpfs.h:65
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::Tmpfs::ContainerPathHasBeenSet
bool ContainerPathHasBeenSet() const
Definition: Tmpfs.h:50
Aws::ECS::Model::Tmpfs::Tmpfs
Tmpfs()
Aws::ECS::Model::Tmpfs::WithContainerPath
Tmpfs & WithContainerPath(const Aws::String &value)
Definition: Tmpfs.h:70
Aws::ECS::Model::Tmpfs::GetContainerPath
const Aws::String & GetContainerPath() const
Definition: Tmpfs.h:45
Aws::ECS::Model::Tmpfs::AddMountOptions
Tmpfs & AddMountOptions(Aws::String &&value)
Definition: Tmpfs.h:190
Aws::ECS::Model::Tmpfs::SetContainerPath
void SetContainerPath(const Aws::String &value)
Definition: Tmpfs.h:55
Aws::ECS::Model::Tmpfs::MountOptionsHasBeenSet
bool MountOptionsHasBeenSet() const
Definition: Tmpfs.h:124
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ECS::Model::Tmpfs::SizeHasBeenSet
bool SizeHasBeenSet() const
Definition: Tmpfs.h:91
AWSVector.h
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::Tmpfs::WithContainerPath
Tmpfs & WithContainerPath(const char *value)
Definition: Tmpfs.h:80
Aws::ECS::Model::Tmpfs::Tmpfs
Tmpfs(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::Tmpfs::WithMountOptions
Tmpfs & WithMountOptions(Aws::Vector< Aws::String > &&value)
Definition: Tmpfs.h:168
Aws::ECS::Model::Tmpfs::WithSize
Tmpfs & WithSize(int value)
Definition: Tmpfs.h:101
Aws::ECS::Model::Tmpfs::WithContainerPath
Tmpfs & WithContainerPath(Aws::String &&value)
Definition: Tmpfs.h:75
Aws::ECS::Model::Tmpfs::SetSize
void SetSize(int value)
Definition: Tmpfs.h:96
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ECS::Model::Tmpfs::operator=
Tmpfs & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::Tmpfs::SetContainerPath
void SetContainerPath(Aws::String &&value)
Definition: Tmpfs.h:60
Aws::ECS::Model::Tmpfs::AddMountOptions
Tmpfs & AddMountOptions(const char *value)
Definition: Tmpfs.h:201
Aws::ECS::Model::Tmpfs::AddMountOptions
Tmpfs & AddMountOptions(const Aws::String &value)
Definition: Tmpfs.h:179
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::Tmpfs
Definition: Tmpfs.h:34
Aws::ECS::Model::Tmpfs::SetMountOptions
void SetMountOptions(Aws::Vector< Aws::String > &&value)
Definition: Tmpfs.h:146
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::Tmpfs::GetMountOptions
const Aws::Vector< Aws::String > & GetMountOptions() const
Definition: Tmpfs.h:113
Aws::ECS::Model::Tmpfs::SetMountOptions
void SetMountOptions(const Aws::Vector< Aws::String > &value)
Definition: Tmpfs.h:135
Aws::ECS::Model::Tmpfs::GetSize
int GetSize() const
Definition: Tmpfs.h:86
Aws::ECS::Model::Tmpfs::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
ECS_EXPORTS.h