AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AwsEfsAccessPointDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/AwsEfsAccessPointPosixUserDetails.h>
10#include <aws/securityhub/model/AwsEfsAccessPointRootDirectoryDetails.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub {
22namespace Model {
23
31 public:
32 AWS_SECURITYHUB_API AwsEfsAccessPointDetails() = default;
35 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetAccessPointId() const { return m_accessPointId; }
42 inline bool AccessPointIdHasBeenSet() const { return m_accessPointIdHasBeenSet; }
43 template <typename AccessPointIdT = Aws::String>
44 void SetAccessPointId(AccessPointIdT&& value) {
45 m_accessPointIdHasBeenSet = true;
46 m_accessPointId = std::forward<AccessPointIdT>(value);
47 }
48 template <typename AccessPointIdT = Aws::String>
50 SetAccessPointId(std::forward<AccessPointIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetArn() const { return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 template <typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) {
63 m_arnHasBeenSet = true;
64 m_arn = std::forward<ArnT>(value);
65 }
66 template <typename ArnT = Aws::String>
68 SetArn(std::forward<ArnT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetClientToken() const { return m_clientToken; }
79 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
80 template <typename ClientTokenT = Aws::String>
81 void SetClientToken(ClientTokenT&& value) {
82 m_clientTokenHasBeenSet = true;
83 m_clientToken = std::forward<ClientTokenT>(value);
84 }
85 template <typename ClientTokenT = Aws::String>
87 SetClientToken(std::forward<ClientTokenT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetFileSystemId() const { return m_fileSystemId; }
97 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
98 template <typename FileSystemIdT = Aws::String>
99 void SetFileSystemId(FileSystemIdT&& value) {
100 m_fileSystemIdHasBeenSet = true;
101 m_fileSystemId = std::forward<FileSystemIdT>(value);
102 }
103 template <typename FileSystemIdT = Aws::String>
105 SetFileSystemId(std::forward<FileSystemIdT>(value));
106 return *this;
107 }
109
111
116 inline const AwsEfsAccessPointPosixUserDetails& GetPosixUser() const { return m_posixUser; }
117 inline bool PosixUserHasBeenSet() const { return m_posixUserHasBeenSet; }
118 template <typename PosixUserT = AwsEfsAccessPointPosixUserDetails>
119 void SetPosixUser(PosixUserT&& value) {
120 m_posixUserHasBeenSet = true;
121 m_posixUser = std::forward<PosixUserT>(value);
122 }
123 template <typename PosixUserT = AwsEfsAccessPointPosixUserDetails>
125 SetPosixUser(std::forward<PosixUserT>(value));
126 return *this;
127 }
129
131
135 inline const AwsEfsAccessPointRootDirectoryDetails& GetRootDirectory() const { return m_rootDirectory; }
136 inline bool RootDirectoryHasBeenSet() const { return m_rootDirectoryHasBeenSet; }
137 template <typename RootDirectoryT = AwsEfsAccessPointRootDirectoryDetails>
138 void SetRootDirectory(RootDirectoryT&& value) {
139 m_rootDirectoryHasBeenSet = true;
140 m_rootDirectory = std::forward<RootDirectoryT>(value);
141 }
142 template <typename RootDirectoryT = AwsEfsAccessPointRootDirectoryDetails>
144 SetRootDirectory(std::forward<RootDirectoryT>(value));
145 return *this;
146 }
148 private:
149 Aws::String m_accessPointId;
150
151 Aws::String m_arn;
152
153 Aws::String m_clientToken;
154
155 Aws::String m_fileSystemId;
156
158
160 bool m_accessPointIdHasBeenSet = false;
161 bool m_arnHasBeenSet = false;
162 bool m_clientTokenHasBeenSet = false;
163 bool m_fileSystemIdHasBeenSet = false;
164 bool m_posixUserHasBeenSet = false;
165 bool m_rootDirectoryHasBeenSet = false;
166};
167
168} // namespace Model
169} // namespace SecurityHub
170} // namespace Aws
AWS_SECURITYHUB_API AwsEfsAccessPointDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEfsAccessPointDetails & WithArn(ArnT &&value)
const AwsEfsAccessPointRootDirectoryDetails & GetRootDirectory() const
AwsEfsAccessPointDetails & WithClientToken(ClientTokenT &&value)
const AwsEfsAccessPointPosixUserDetails & GetPosixUser() const
AWS_SECURITYHUB_API AwsEfsAccessPointDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsEfsAccessPointDetails()=default
AwsEfsAccessPointDetails & WithAccessPointId(AccessPointIdT &&value)
AwsEfsAccessPointDetails & WithPosixUser(PosixUserT &&value)
AwsEfsAccessPointDetails & WithFileSystemId(FileSystemIdT &&value)
AwsEfsAccessPointDetails & WithRootDirectory(RootDirectoryT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue