AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename PathT = Aws::String>
49 void SetPath(PathT&& value) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
50 template<typename PathT = Aws::String>
51 LambdaDeviceMount& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
53
55
59 inline LambdaFilesystemPermission GetPermission() const { return m_permission; }
60 inline bool PermissionHasBeenSet() const { return m_permissionHasBeenSet; }
61 inline void SetPermission(LambdaFilesystemPermission value) { m_permissionHasBeenSet = true; m_permission = value; }
64
66
70 inline bool GetAddGroupOwner() const { return m_addGroupOwner; }
71 inline bool AddGroupOwnerHasBeenSet() const { return m_addGroupOwnerHasBeenSet; }
72 inline void SetAddGroupOwner(bool value) { m_addGroupOwnerHasBeenSet = true; m_addGroupOwner = value; }
73 inline LambdaDeviceMount& WithAddGroupOwner(bool value) { SetAddGroupOwner(value); return *this;}
75 private:
76
77 Aws::String m_path;
78 bool m_pathHasBeenSet = false;
79
81 bool m_permissionHasBeenSet = false;
82
83 bool m_addGroupOwner{false};
84 bool m_addGroupOwnerHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace GreengrassV2
89} // namespace Aws
LambdaFilesystemPermission GetPermission() const
LambdaDeviceMount & WithAddGroupOwner(bool value)
AWS_GREENGRASSV2_API LambdaDeviceMount(Aws::Utils::Json::JsonView jsonValue)
void SetPermission(LambdaFilesystemPermission value)
AWS_GREENGRASSV2_API LambdaDeviceMount & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
LambdaDeviceMount & WithPermission(LambdaFilesystemPermission value)
AWS_GREENGRASSV2_API LambdaDeviceMount()=default
LambdaDeviceMount & WithPath(PathT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue