AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LambdaVolumeMount.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
36 {
37 public:
38 AWS_GREENGRASSV2_API LambdaVolumeMount();
39 AWS_GREENGRASSV2_API LambdaVolumeMount(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GREENGRASSV2_API LambdaVolumeMount& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetSourcePath() const{ return m_sourcePath; }
49 inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; }
50 inline void SetSourcePath(const Aws::String& value) { m_sourcePathHasBeenSet = true; m_sourcePath = value; }
51 inline void SetSourcePath(Aws::String&& value) { m_sourcePathHasBeenSet = true; m_sourcePath = std::move(value); }
52 inline void SetSourcePath(const char* value) { m_sourcePathHasBeenSet = true; m_sourcePath.assign(value); }
53 inline LambdaVolumeMount& WithSourcePath(const Aws::String& value) { SetSourcePath(value); return *this;}
54 inline LambdaVolumeMount& WithSourcePath(Aws::String&& value) { SetSourcePath(std::move(value)); return *this;}
55 inline LambdaVolumeMount& WithSourcePath(const char* value) { SetSourcePath(value); return *this;}
57
59
62 inline const Aws::String& GetDestinationPath() const{ return m_destinationPath; }
63 inline bool DestinationPathHasBeenSet() const { return m_destinationPathHasBeenSet; }
64 inline void SetDestinationPath(const Aws::String& value) { m_destinationPathHasBeenSet = true; m_destinationPath = value; }
65 inline void SetDestinationPath(Aws::String&& value) { m_destinationPathHasBeenSet = true; m_destinationPath = std::move(value); }
66 inline void SetDestinationPath(const char* value) { m_destinationPathHasBeenSet = true; m_destinationPath.assign(value); }
67 inline LambdaVolumeMount& WithDestinationPath(const Aws::String& value) { SetDestinationPath(value); return *this;}
68 inline LambdaVolumeMount& WithDestinationPath(Aws::String&& value) { SetDestinationPath(std::move(value)); return *this;}
69 inline LambdaVolumeMount& WithDestinationPath(const char* value) { SetDestinationPath(value); return *this;}
71
73
77 inline const LambdaFilesystemPermission& GetPermission() const{ return m_permission; }
78 inline bool PermissionHasBeenSet() const { return m_permissionHasBeenSet; }
79 inline void SetPermission(const LambdaFilesystemPermission& value) { m_permissionHasBeenSet = true; m_permission = value; }
80 inline void SetPermission(LambdaFilesystemPermission&& value) { m_permissionHasBeenSet = true; m_permission = std::move(value); }
81 inline LambdaVolumeMount& WithPermission(const LambdaFilesystemPermission& value) { SetPermission(value); return *this;}
82 inline LambdaVolumeMount& WithPermission(LambdaFilesystemPermission&& value) { SetPermission(std::move(value)); return *this;}
84
86
90 inline bool GetAddGroupOwner() const{ return m_addGroupOwner; }
91 inline bool AddGroupOwnerHasBeenSet() const { return m_addGroupOwnerHasBeenSet; }
92 inline void SetAddGroupOwner(bool value) { m_addGroupOwnerHasBeenSet = true; m_addGroupOwner = value; }
93 inline LambdaVolumeMount& WithAddGroupOwner(bool value) { SetAddGroupOwner(value); return *this;}
95 private:
96
97 Aws::String m_sourcePath;
98 bool m_sourcePathHasBeenSet = false;
99
100 Aws::String m_destinationPath;
101 bool m_destinationPathHasBeenSet = false;
102
103 LambdaFilesystemPermission m_permission;
104 bool m_permissionHasBeenSet = false;
105
106 bool m_addGroupOwner;
107 bool m_addGroupOwnerHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace GreengrassV2
112} // namespace Aws
LambdaVolumeMount & WithSourcePath(Aws::String &&value)
LambdaVolumeMount & WithDestinationPath(const char *value)
AWS_GREENGRASSV2_API LambdaVolumeMount(Aws::Utils::Json::JsonView jsonValue)
LambdaVolumeMount & WithSourcePath(const Aws::String &value)
LambdaVolumeMount & WithDestinationPath(const Aws::String &value)
void SetPermission(LambdaFilesystemPermission &&value)
void SetSourcePath(const Aws::String &value)
LambdaVolumeMount & WithPermission(LambdaFilesystemPermission &&value)
void SetDestinationPath(const Aws::String &value)
LambdaVolumeMount & WithSourcePath(const char *value)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
LambdaVolumeMount & WithPermission(const LambdaFilesystemPermission &value)
const Aws::String & GetDestinationPath() const
void SetPermission(const LambdaFilesystemPermission &value)
const LambdaFilesystemPermission & GetPermission() const
AWS_GREENGRASSV2_API LambdaVolumeMount & operator=(Aws::Utils::Json::JsonView jsonValue)
LambdaVolumeMount & WithDestinationPath(Aws::String &&value)
LambdaVolumeMount & WithAddGroupOwner(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue