AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccessPointId(const Aws::String& value) { m_accessPointIdHasBeenSet = true; m_accessPointId = value; }
50 inline void SetAccessPointId(Aws::String&& value) { m_accessPointIdHasBeenSet = true; m_accessPointId = std::move(value); }
51 inline void SetAccessPointId(const char* value) { m_accessPointIdHasBeenSet = true; m_accessPointId.assign(value); }
52 inline AwsEfsAccessPointDetails& WithAccessPointId(const Aws::String& value) { SetAccessPointId(value); return *this;}
53 inline AwsEfsAccessPointDetails& WithAccessPointId(Aws::String&& value) { SetAccessPointId(std::move(value)); return *this;}
54 inline AwsEfsAccessPointDetails& WithAccessPointId(const char* value) { SetAccessPointId(value); return *this;}
56
58
61 inline const Aws::String& GetArn() const{ return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
64 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
65 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 inline AwsEfsAccessPointDetails& WithArn(const Aws::String& value) { SetArn(value); return *this;}
67 inline AwsEfsAccessPointDetails& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 inline AwsEfsAccessPointDetails& WithArn(const char* value) { SetArn(value); return *this;}
70
72
76 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
77 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
78 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
79 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
80 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
81 inline AwsEfsAccessPointDetails& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
82 inline AwsEfsAccessPointDetails& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
83 inline AwsEfsAccessPointDetails& WithClientToken(const char* value) { SetClientToken(value); return *this;}
85
87
90 inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
91 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
92 inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
93 inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); }
94 inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
95 inline AwsEfsAccessPointDetails& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
96 inline AwsEfsAccessPointDetails& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
97 inline AwsEfsAccessPointDetails& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
99
101
106 inline const AwsEfsAccessPointPosixUserDetails& GetPosixUser() const{ return m_posixUser; }
107 inline bool PosixUserHasBeenSet() const { return m_posixUserHasBeenSet; }
108 inline void SetPosixUser(const AwsEfsAccessPointPosixUserDetails& value) { m_posixUserHasBeenSet = true; m_posixUser = value; }
109 inline void SetPosixUser(AwsEfsAccessPointPosixUserDetails&& value) { m_posixUserHasBeenSet = true; m_posixUser = std::move(value); }
113
115
119 inline const AwsEfsAccessPointRootDirectoryDetails& GetRootDirectory() const{ return m_rootDirectory; }
120 inline bool RootDirectoryHasBeenSet() const { return m_rootDirectoryHasBeenSet; }
121 inline void SetRootDirectory(const AwsEfsAccessPointRootDirectoryDetails& value) { m_rootDirectoryHasBeenSet = true; m_rootDirectory = value; }
122 inline void SetRootDirectory(AwsEfsAccessPointRootDirectoryDetails&& value) { m_rootDirectoryHasBeenSet = true; m_rootDirectory = std::move(value); }
126 private:
127
128 Aws::String m_accessPointId;
129 bool m_accessPointIdHasBeenSet = false;
130
131 Aws::String m_arn;
132 bool m_arnHasBeenSet = false;
133
134 Aws::String m_clientToken;
135 bool m_clientTokenHasBeenSet = false;
136
137 Aws::String m_fileSystemId;
138 bool m_fileSystemIdHasBeenSet = false;
139
141 bool m_posixUserHasBeenSet = false;
142
144 bool m_rootDirectoryHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace SecurityHub
149} // namespace Aws
AwsEfsAccessPointDetails & WithClientToken(const char *value)
AwsEfsAccessPointDetails & WithArn(Aws::String &&value)
AwsEfsAccessPointDetails & WithPosixUser(const AwsEfsAccessPointPosixUserDetails &value)
AwsEfsAccessPointDetails & WithAccessPointId(const char *value)
AwsEfsAccessPointDetails & WithRootDirectory(AwsEfsAccessPointRootDirectoryDetails &&value)
AwsEfsAccessPointDetails & WithRootDirectory(const AwsEfsAccessPointRootDirectoryDetails &value)
AWS_SECURITYHUB_API AwsEfsAccessPointDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEfsAccessPointDetails & WithAccessPointId(const Aws::String &value)
void SetPosixUser(AwsEfsAccessPointPosixUserDetails &&value)
AwsEfsAccessPointDetails & WithArn(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEfsAccessPointDetails & WithFileSystemId(Aws::String &&value)
void SetRootDirectory(const AwsEfsAccessPointRootDirectoryDetails &value)
const AwsEfsAccessPointRootDirectoryDetails & GetRootDirectory() const
AwsEfsAccessPointDetails & WithPosixUser(AwsEfsAccessPointPosixUserDetails &&value)
const AwsEfsAccessPointPosixUserDetails & GetPosixUser() const
AwsEfsAccessPointDetails & WithFileSystemId(const char *value)
AWS_SECURITYHUB_API AwsEfsAccessPointDetails(Aws::Utils::Json::JsonView jsonValue)
AwsEfsAccessPointDetails & WithClientToken(Aws::String &&value)
void SetRootDirectory(AwsEfsAccessPointRootDirectoryDetails &&value)
AwsEfsAccessPointDetails & WithClientToken(const Aws::String &value)
AwsEfsAccessPointDetails & WithFileSystemId(const Aws::String &value)
void SetPosixUser(const AwsEfsAccessPointPosixUserDetails &value)
AwsEfsAccessPointDetails & WithArn(const char *value)
AwsEfsAccessPointDetails & WithAccessPointId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue