AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
LambdaDeviceMount.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
9#include <aws/greengrassv2/model/LambdaFilesystemPermission.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GreengrassV2 {
21namespace Model {
22
30 public:
31 AWS_GREENGRASSV2_API LambdaDeviceMount() = default;
32 AWS_GREENGRASSV2_API LambdaDeviceMount(Aws::Utils::Json::JsonView jsonValue);
33 AWS_GREENGRASSV2_API LambdaDeviceMount& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetPath() const { return m_path; }
41 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
42 template <typename PathT = Aws::String>
43 void SetPath(PathT&& value) {
44 m_pathHasBeenSet = true;
45 m_path = std::forward<PathT>(value);
46 }
47 template <typename PathT = Aws::String>
48 LambdaDeviceMount& WithPath(PathT&& value) {
49 SetPath(std::forward<PathT>(value));
50 return *this;
51 }
53
55
59 inline LambdaFilesystemPermission GetPermission() const { return m_permission; }
60 inline bool PermissionHasBeenSet() const { return m_permissionHasBeenSet; }
62 m_permissionHasBeenSet = true;
63 m_permission = value;
64 }
66 SetPermission(value);
67 return *this;
68 }
70
72
76 inline bool GetAddGroupOwner() const { return m_addGroupOwner; }
77 inline bool AddGroupOwnerHasBeenSet() const { return m_addGroupOwnerHasBeenSet; }
78 inline void SetAddGroupOwner(bool value) {
79 m_addGroupOwnerHasBeenSet = true;
80 m_addGroupOwner = value;
81 }
83 SetAddGroupOwner(value);
84 return *this;
85 }
87 private:
88 Aws::String m_path;
89
91
92 bool m_addGroupOwner{false};
93 bool m_pathHasBeenSet = false;
94 bool m_permissionHasBeenSet = false;
95 bool m_addGroupOwnerHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace GreengrassV2
100} // 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