AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LambdaDeviceMount.h
1
6#pragma once
7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrassv2/model/LambdaFilesystemPermission.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 GreengrassV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GREENGRASSV2_API LambdaDeviceMount();
37 AWS_GREENGRASSV2_API LambdaDeviceMount(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GREENGRASSV2_API LambdaDeviceMount& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetPath() const{ return m_path; }
47 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
48 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
49 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
50 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
51 inline LambdaDeviceMount& WithPath(const Aws::String& value) { SetPath(value); return *this;}
52 inline LambdaDeviceMount& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
53 inline LambdaDeviceMount& WithPath(const char* value) { SetPath(value); return *this;}
55
57
61 inline const LambdaFilesystemPermission& GetPermission() const{ return m_permission; }
62 inline bool PermissionHasBeenSet() const { return m_permissionHasBeenSet; }
63 inline void SetPermission(const LambdaFilesystemPermission& value) { m_permissionHasBeenSet = true; m_permission = value; }
64 inline void SetPermission(LambdaFilesystemPermission&& value) { m_permissionHasBeenSet = true; m_permission = std::move(value); }
65 inline LambdaDeviceMount& WithPermission(const LambdaFilesystemPermission& value) { SetPermission(value); return *this;}
66 inline LambdaDeviceMount& WithPermission(LambdaFilesystemPermission&& value) { SetPermission(std::move(value)); return *this;}
68
70
74 inline bool GetAddGroupOwner() const{ return m_addGroupOwner; }
75 inline bool AddGroupOwnerHasBeenSet() const { return m_addGroupOwnerHasBeenSet; }
76 inline void SetAddGroupOwner(bool value) { m_addGroupOwnerHasBeenSet = true; m_addGroupOwner = value; }
77 inline LambdaDeviceMount& WithAddGroupOwner(bool value) { SetAddGroupOwner(value); return *this;}
79 private:
80
81 Aws::String m_path;
82 bool m_pathHasBeenSet = false;
83
84 LambdaFilesystemPermission m_permission;
85 bool m_permissionHasBeenSet = false;
86
87 bool m_addGroupOwner;
88 bool m_addGroupOwnerHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace GreengrassV2
93} // namespace Aws
void SetPermission(LambdaFilesystemPermission &&value)
LambdaDeviceMount & WithPath(const Aws::String &value)
LambdaDeviceMount & WithAddGroupOwner(bool value)
LambdaDeviceMount & WithPermission(const LambdaFilesystemPermission &value)
AWS_GREENGRASSV2_API LambdaDeviceMount(Aws::Utils::Json::JsonView jsonValue)
LambdaDeviceMount & WithPath(Aws::String &&value)
LambdaDeviceMount & WithPermission(LambdaFilesystemPermission &&value)
AWS_GREENGRASSV2_API LambdaDeviceMount & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
LambdaDeviceMount & WithPath(const char *value)
const LambdaFilesystemPermission & GetPermission() const
void SetPermission(const LambdaFilesystemPermission &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue