AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
LdapServerMetadataOutput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mq/MQ_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MQ {
21namespace Model {
22
30 public:
31 AWS_MQ_API LdapServerMetadataOutput() = default;
35
37
41 inline const Aws::Vector<Aws::String>& GetHosts() const { return m_hosts; }
42 inline bool HostsHasBeenSet() const { return m_hostsHasBeenSet; }
43 template <typename HostsT = Aws::Vector<Aws::String>>
44 void SetHosts(HostsT&& value) {
45 m_hostsHasBeenSet = true;
46 m_hosts = std::forward<HostsT>(value);
47 }
48 template <typename HostsT = Aws::Vector<Aws::String>>
50 SetHosts(std::forward<HostsT>(value));
51 return *this;
52 }
53 template <typename HostsT = Aws::String>
55 m_hostsHasBeenSet = true;
56 m_hosts.emplace_back(std::forward<HostsT>(value));
57 return *this;
58 }
60
62
68 inline const Aws::String& GetRoleBase() const { return m_roleBase; }
69 inline bool RoleBaseHasBeenSet() const { return m_roleBaseHasBeenSet; }
70 template <typename RoleBaseT = Aws::String>
71 void SetRoleBase(RoleBaseT&& value) {
72 m_roleBaseHasBeenSet = true;
73 m_roleBase = std::forward<RoleBaseT>(value);
74 }
75 template <typename RoleBaseT = Aws::String>
77 SetRoleBase(std::forward<RoleBaseT>(value));
78 return *this;
79 }
81
83
87 inline const Aws::String& GetRoleName() const { return m_roleName; }
88 inline bool RoleNameHasBeenSet() const { return m_roleNameHasBeenSet; }
89 template <typename RoleNameT = Aws::String>
90 void SetRoleName(RoleNameT&& value) {
91 m_roleNameHasBeenSet = true;
92 m_roleName = std::forward<RoleNameT>(value);
93 }
94 template <typename RoleNameT = Aws::String>
96 SetRoleName(std::forward<RoleNameT>(value));
97 return *this;
98 }
100
102
112 inline const Aws::String& GetRoleSearchMatching() const { return m_roleSearchMatching; }
113 inline bool RoleSearchMatchingHasBeenSet() const { return m_roleSearchMatchingHasBeenSet; }
114 template <typename RoleSearchMatchingT = Aws::String>
115 void SetRoleSearchMatching(RoleSearchMatchingT&& value) {
116 m_roleSearchMatchingHasBeenSet = true;
117 m_roleSearchMatching = std::forward<RoleSearchMatchingT>(value);
118 }
119 template <typename RoleSearchMatchingT = Aws::String>
120 LdapServerMetadataOutput& WithRoleSearchMatching(RoleSearchMatchingT&& value) {
121 SetRoleSearchMatching(std::forward<RoleSearchMatchingT>(value));
122 return *this;
123 }
125
127
131 inline bool GetRoleSearchSubtree() const { return m_roleSearchSubtree; }
132 inline bool RoleSearchSubtreeHasBeenSet() const { return m_roleSearchSubtreeHasBeenSet; }
133 inline void SetRoleSearchSubtree(bool value) {
134 m_roleSearchSubtreeHasBeenSet = true;
135 m_roleSearchSubtree = value;
136 }
139 return *this;
140 }
142
144
150 inline const Aws::String& GetServiceAccountUsername() const { return m_serviceAccountUsername; }
151 inline bool ServiceAccountUsernameHasBeenSet() const { return m_serviceAccountUsernameHasBeenSet; }
152 template <typename ServiceAccountUsernameT = Aws::String>
153 void SetServiceAccountUsername(ServiceAccountUsernameT&& value) {
154 m_serviceAccountUsernameHasBeenSet = true;
155 m_serviceAccountUsername = std::forward<ServiceAccountUsernameT>(value);
156 }
157 template <typename ServiceAccountUsernameT = Aws::String>
158 LdapServerMetadataOutput& WithServiceAccountUsername(ServiceAccountUsernameT&& value) {
159 SetServiceAccountUsername(std::forward<ServiceAccountUsernameT>(value));
160 return *this;
161 }
163
165
174 inline const Aws::String& GetUserBase() const { return m_userBase; }
175 inline bool UserBaseHasBeenSet() const { return m_userBaseHasBeenSet; }
176 template <typename UserBaseT = Aws::String>
177 void SetUserBase(UserBaseT&& value) {
178 m_userBaseHasBeenSet = true;
179 m_userBase = std::forward<UserBaseT>(value);
180 }
181 template <typename UserBaseT = Aws::String>
183 SetUserBase(std::forward<UserBaseT>(value));
184 return *this;
185 }
187
189
192 inline const Aws::String& GetUserRoleName() const { return m_userRoleName; }
193 inline bool UserRoleNameHasBeenSet() const { return m_userRoleNameHasBeenSet; }
194 template <typename UserRoleNameT = Aws::String>
195 void SetUserRoleName(UserRoleNameT&& value) {
196 m_userRoleNameHasBeenSet = true;
197 m_userRoleName = std::forward<UserRoleNameT>(value);
198 }
199 template <typename UserRoleNameT = Aws::String>
201 SetUserRoleName(std::forward<UserRoleNameT>(value));
202 return *this;
203 }
205
207
216 inline const Aws::String& GetUserSearchMatching() const { return m_userSearchMatching; }
217 inline bool UserSearchMatchingHasBeenSet() const { return m_userSearchMatchingHasBeenSet; }
218 template <typename UserSearchMatchingT = Aws::String>
219 void SetUserSearchMatching(UserSearchMatchingT&& value) {
220 m_userSearchMatchingHasBeenSet = true;
221 m_userSearchMatching = std::forward<UserSearchMatchingT>(value);
222 }
223 template <typename UserSearchMatchingT = Aws::String>
224 LdapServerMetadataOutput& WithUserSearchMatching(UserSearchMatchingT&& value) {
225 SetUserSearchMatching(std::forward<UserSearchMatchingT>(value));
226 return *this;
227 }
229
231
235 inline bool GetUserSearchSubtree() const { return m_userSearchSubtree; }
236 inline bool UserSearchSubtreeHasBeenSet() const { return m_userSearchSubtreeHasBeenSet; }
237 inline void SetUserSearchSubtree(bool value) {
238 m_userSearchSubtreeHasBeenSet = true;
239 m_userSearchSubtree = value;
240 }
243 return *this;
244 }
246 private:
248
249 Aws::String m_roleBase;
250
251 Aws::String m_roleName;
252
253 Aws::String m_roleSearchMatching;
254
255 bool m_roleSearchSubtree{false};
256
257 Aws::String m_serviceAccountUsername;
258
259 Aws::String m_userBase;
260
261 Aws::String m_userRoleName;
262
263 Aws::String m_userSearchMatching;
264
265 bool m_userSearchSubtree{false};
266 bool m_hostsHasBeenSet = false;
267 bool m_roleBaseHasBeenSet = false;
268 bool m_roleNameHasBeenSet = false;
269 bool m_roleSearchMatchingHasBeenSet = false;
270 bool m_roleSearchSubtreeHasBeenSet = false;
271 bool m_serviceAccountUsernameHasBeenSet = false;
272 bool m_userBaseHasBeenSet = false;
273 bool m_userRoleNameHasBeenSet = false;
274 bool m_userSearchMatchingHasBeenSet = false;
275 bool m_userSearchSubtreeHasBeenSet = false;
276};
277
278} // namespace Model
279} // namespace MQ
280} // namespace Aws
LdapServerMetadataOutput & WithUserRoleName(UserRoleNameT &&value)
const Aws::Vector< Aws::String > & GetHosts() const
LdapServerMetadataOutput & AddHosts(HostsT &&value)
LdapServerMetadataOutput & WithServiceAccountUsername(ServiceAccountUsernameT &&value)
void SetUserSearchMatching(UserSearchMatchingT &&value)
LdapServerMetadataOutput & WithUserSearchSubtree(bool value)
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MQ_API LdapServerMetadataOutput()=default
LdapServerMetadataOutput & WithUserBase(UserBaseT &&value)
LdapServerMetadataOutput & WithRoleSearchSubtree(bool value)
AWS_MQ_API LdapServerMetadataOutput(Aws::Utils::Json::JsonView jsonValue)
LdapServerMetadataOutput & WithUserSearchMatching(UserSearchMatchingT &&value)
LdapServerMetadataOutput & WithRoleSearchMatching(RoleSearchMatchingT &&value)
void SetRoleSearchMatching(RoleSearchMatchingT &&value)
LdapServerMetadataOutput & WithRoleBase(RoleBaseT &&value)
LdapServerMetadataOutput & WithRoleName(RoleNameT &&value)
LdapServerMetadataOutput & WithHosts(HostsT &&value)
void SetServiceAccountUsername(ServiceAccountUsernameT &&value)
AWS_MQ_API LdapServerMetadataOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue