AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsEfsAccessPointDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsEfsAccessPointPosixUserDetails.h>
10#include <aws/securityhub/model/AwsEfsAccessPointRootDirectoryDetails.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SecurityHub
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SECURITYHUB_API AwsEfsAccessPointDetails() = default;
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetAccessPointId() const { return m_accessPointId; }
48 inline bool AccessPointIdHasBeenSet() const { return m_accessPointIdHasBeenSet; }
49 template<typename AccessPointIdT = Aws::String>
50 void SetAccessPointId(AccessPointIdT&& value) { m_accessPointIdHasBeenSet = true; m_accessPointId = std::forward<AccessPointIdT>(value); }
51 template<typename AccessPointIdT = Aws::String>
52 AwsEfsAccessPointDetails& WithAccessPointId(AccessPointIdT&& value) { SetAccessPointId(std::forward<AccessPointIdT>(value)); return *this;}
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) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
63 template<typename ArnT = Aws::String>
64 AwsEfsAccessPointDetails& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
66
68
72 inline const Aws::String& GetClientToken() const { return m_clientToken; }
73 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
74 template<typename ClientTokenT = Aws::String>
75 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
76 template<typename ClientTokenT = Aws::String>
77 AwsEfsAccessPointDetails& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
79
81
84 inline const Aws::String& GetFileSystemId() const { return m_fileSystemId; }
85 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
86 template<typename FileSystemIdT = Aws::String>
87 void SetFileSystemId(FileSystemIdT&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::forward<FileSystemIdT>(value); }
88 template<typename FileSystemIdT = Aws::String>
89 AwsEfsAccessPointDetails& WithFileSystemId(FileSystemIdT&& value) { SetFileSystemId(std::forward<FileSystemIdT>(value)); return *this;}
91
93
98 inline const AwsEfsAccessPointPosixUserDetails& GetPosixUser() const { return m_posixUser; }
99 inline bool PosixUserHasBeenSet() const { return m_posixUserHasBeenSet; }
100 template<typename PosixUserT = AwsEfsAccessPointPosixUserDetails>
101 void SetPosixUser(PosixUserT&& value) { m_posixUserHasBeenSet = true; m_posixUser = std::forward<PosixUserT>(value); }
102 template<typename PosixUserT = AwsEfsAccessPointPosixUserDetails>
103 AwsEfsAccessPointDetails& WithPosixUser(PosixUserT&& value) { SetPosixUser(std::forward<PosixUserT>(value)); return *this;}
105
107
111 inline const AwsEfsAccessPointRootDirectoryDetails& GetRootDirectory() const { return m_rootDirectory; }
112 inline bool RootDirectoryHasBeenSet() const { return m_rootDirectoryHasBeenSet; }
113 template<typename RootDirectoryT = AwsEfsAccessPointRootDirectoryDetails>
114 void SetRootDirectory(RootDirectoryT&& value) { m_rootDirectoryHasBeenSet = true; m_rootDirectory = std::forward<RootDirectoryT>(value); }
115 template<typename RootDirectoryT = AwsEfsAccessPointRootDirectoryDetails>
116 AwsEfsAccessPointDetails& WithRootDirectory(RootDirectoryT&& value) { SetRootDirectory(std::forward<RootDirectoryT>(value)); return *this;}
118 private:
119
120 Aws::String m_accessPointId;
121 bool m_accessPointIdHasBeenSet = false;
122
123 Aws::String m_arn;
124 bool m_arnHasBeenSet = false;
125
126 Aws::String m_clientToken;
127 bool m_clientTokenHasBeenSet = false;
128
129 Aws::String m_fileSystemId;
130 bool m_fileSystemIdHasBeenSet = false;
131
133 bool m_posixUserHasBeenSet = false;
134
136 bool m_rootDirectoryHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace SecurityHub
141} // 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