AWS SDK for C++  1.9.123
AWS SDK for C++
LambdaDeviceMount.h
Go to the documentation of this file.
1 
6 #pragma once
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 GreengrassV2
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetPath() const{ return m_path; }
46 
50  inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
51 
55  inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
56 
60  inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
61 
65  inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
66 
70  inline LambdaDeviceMount& WithPath(const Aws::String& value) { SetPath(value); return *this;}
71 
75  inline LambdaDeviceMount& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
76 
80  inline LambdaDeviceMount& WithPath(const char* value) { SetPath(value); return *this;}
81 
82 
87  inline const LambdaFilesystemPermission& GetPermission() const{ return m_permission; }
88 
93  inline bool PermissionHasBeenSet() const { return m_permissionHasBeenSet; }
94 
99  inline void SetPermission(const LambdaFilesystemPermission& value) { m_permissionHasBeenSet = true; m_permission = value; }
100 
105  inline void SetPermission(LambdaFilesystemPermission&& value) { m_permissionHasBeenSet = true; m_permission = std::move(value); }
106 
111  inline LambdaDeviceMount& WithPermission(const LambdaFilesystemPermission& value) { SetPermission(value); return *this;}
112 
117  inline LambdaDeviceMount& WithPermission(LambdaFilesystemPermission&& value) { SetPermission(std::move(value)); return *this;}
118 
119 
124  inline bool GetAddGroupOwner() const{ return m_addGroupOwner; }
125 
130  inline bool AddGroupOwnerHasBeenSet() const { return m_addGroupOwnerHasBeenSet; }
131 
136  inline void SetAddGroupOwner(bool value) { m_addGroupOwnerHasBeenSet = true; m_addGroupOwner = value; }
137 
142  inline LambdaDeviceMount& WithAddGroupOwner(bool value) { SetAddGroupOwner(value); return *this;}
143 
144  private:
145 
146  Aws::String m_path;
147  bool m_pathHasBeenSet;
148 
149  LambdaFilesystemPermission m_permission;
150  bool m_permissionHasBeenSet;
151 
152  bool m_addGroupOwner;
153  bool m_addGroupOwnerHasBeenSet;
154  };
155 
156 } // namespace Model
157 } // namespace GreengrassV2
158 } // namespace Aws
Aws::GreengrassV2::Model::LambdaDeviceMount::WithAddGroupOwner
LambdaDeviceMount & WithAddGroupOwner(bool value)
Definition: LambdaDeviceMount.h:142
Aws::GreengrassV2::Model::LambdaDeviceMount::GetPath
const Aws::String & GetPath() const
Definition: LambdaDeviceMount.h:45
Aws::GreengrassV2::Model::LambdaDeviceMount::AddGroupOwnerHasBeenSet
bool AddGroupOwnerHasBeenSet() const
Definition: LambdaDeviceMount.h:130
Aws::GreengrassV2::Model::LambdaDeviceMount::LambdaDeviceMount
LambdaDeviceMount()
Aws::GreengrassV2::Model::LambdaDeviceMount
Definition: LambdaDeviceMount.h:34
Aws::GreengrassV2::Model::LambdaDeviceMount::WithPath
LambdaDeviceMount & WithPath(Aws::String &&value)
Definition: LambdaDeviceMount.h:75
Aws::GreengrassV2::Model::LambdaDeviceMount::SetPermission
void SetPermission(const LambdaFilesystemPermission &value)
Definition: LambdaDeviceMount.h:99
Aws::GreengrassV2::Model::LambdaDeviceMount::SetPath
void SetPath(const Aws::String &value)
Definition: LambdaDeviceMount.h:55
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::LambdaDeviceMount::LambdaDeviceMount
LambdaDeviceMount(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::LambdaFilesystemPermission
LambdaFilesystemPermission
Definition: LambdaFilesystemPermission.h:17
Aws::GreengrassV2::Model::LambdaDeviceMount::SetPermission
void SetPermission(LambdaFilesystemPermission &&value)
Definition: LambdaDeviceMount.h:105
LambdaFilesystemPermission.h
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::LambdaDeviceMount::SetPath
void SetPath(const char *value)
Definition: LambdaDeviceMount.h:65
Aws::GreengrassV2::Model::LambdaDeviceMount::PathHasBeenSet
bool PathHasBeenSet() const
Definition: LambdaDeviceMount.h:50
Aws::GreengrassV2::Model::LambdaDeviceMount::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GreengrassV2::Model::LambdaDeviceMount::SetPath
void SetPath(Aws::String &&value)
Definition: LambdaDeviceMount.h:60
Aws::GreengrassV2::Model::LambdaDeviceMount::SetAddGroupOwner
void SetAddGroupOwner(bool value)
Definition: LambdaDeviceMount.h:136
Aws::GreengrassV2::Model::LambdaDeviceMount::operator=
LambdaDeviceMount & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::LambdaDeviceMount::GetPermission
const LambdaFilesystemPermission & GetPermission() const
Definition: LambdaDeviceMount.h:87
Aws::GreengrassV2::Model::LambdaDeviceMount::WithPermission
LambdaDeviceMount & WithPermission(const LambdaFilesystemPermission &value)
Definition: LambdaDeviceMount.h:111
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GreengrassV2::Model::LambdaDeviceMount::WithPath
LambdaDeviceMount & WithPath(const char *value)
Definition: LambdaDeviceMount.h:80
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::LambdaDeviceMount::WithPath
LambdaDeviceMount & WithPath(const Aws::String &value)
Definition: LambdaDeviceMount.h:70
Aws::GreengrassV2::Model::LambdaDeviceMount::WithPermission
LambdaDeviceMount & WithPermission(LambdaFilesystemPermission &&value)
Definition: LambdaDeviceMount.h:117
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::LambdaDeviceMount::GetAddGroupOwner
bool GetAddGroupOwner() const
Definition: LambdaDeviceMount.h:124
Aws::GreengrassV2::Model::LambdaDeviceMount::PermissionHasBeenSet
bool PermissionHasBeenSet() const
Definition: LambdaDeviceMount.h:93