AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LdapServerMetadataInput.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 MQ
23{
24namespace Model
25{
26
35 {
36 public:
41
42
44
48 inline const Aws::Vector<Aws::String>& GetHosts() const{ return m_hosts; }
49 inline bool HostsHasBeenSet() const { return m_hostsHasBeenSet; }
50 inline void SetHosts(const Aws::Vector<Aws::String>& value) { m_hostsHasBeenSet = true; m_hosts = value; }
51 inline void SetHosts(Aws::Vector<Aws::String>&& value) { m_hostsHasBeenSet = true; m_hosts = std::move(value); }
52 inline LdapServerMetadataInput& WithHosts(const Aws::Vector<Aws::String>& value) { SetHosts(value); return *this;}
53 inline LdapServerMetadataInput& WithHosts(Aws::Vector<Aws::String>&& value) { SetHosts(std::move(value)); return *this;}
54 inline LdapServerMetadataInput& AddHosts(const Aws::String& value) { m_hostsHasBeenSet = true; m_hosts.push_back(value); return *this; }
55 inline LdapServerMetadataInput& AddHosts(Aws::String&& value) { m_hostsHasBeenSet = true; m_hosts.push_back(std::move(value)); return *this; }
56 inline LdapServerMetadataInput& AddHosts(const char* value) { m_hostsHasBeenSet = true; m_hosts.push_back(value); return *this; }
58
60
66 inline const Aws::String& GetRoleBase() const{ return m_roleBase; }
67 inline bool RoleBaseHasBeenSet() const { return m_roleBaseHasBeenSet; }
68 inline void SetRoleBase(const Aws::String& value) { m_roleBaseHasBeenSet = true; m_roleBase = value; }
69 inline void SetRoleBase(Aws::String&& value) { m_roleBaseHasBeenSet = true; m_roleBase = std::move(value); }
70 inline void SetRoleBase(const char* value) { m_roleBaseHasBeenSet = true; m_roleBase.assign(value); }
71 inline LdapServerMetadataInput& WithRoleBase(const Aws::String& value) { SetRoleBase(value); return *this;}
72 inline LdapServerMetadataInput& WithRoleBase(Aws::String&& value) { SetRoleBase(std::move(value)); return *this;}
73 inline LdapServerMetadataInput& WithRoleBase(const char* value) { SetRoleBase(value); return *this;}
75
77
81 inline const Aws::String& GetRoleName() const{ return m_roleName; }
82 inline bool RoleNameHasBeenSet() const { return m_roleNameHasBeenSet; }
83 inline void SetRoleName(const Aws::String& value) { m_roleNameHasBeenSet = true; m_roleName = value; }
84 inline void SetRoleName(Aws::String&& value) { m_roleNameHasBeenSet = true; m_roleName = std::move(value); }
85 inline void SetRoleName(const char* value) { m_roleNameHasBeenSet = true; m_roleName.assign(value); }
86 inline LdapServerMetadataInput& WithRoleName(const Aws::String& value) { SetRoleName(value); return *this;}
87 inline LdapServerMetadataInput& WithRoleName(Aws::String&& value) { SetRoleName(std::move(value)); return *this;}
88 inline LdapServerMetadataInput& WithRoleName(const char* value) { SetRoleName(value); return *this;}
90
92
102 inline const Aws::String& GetRoleSearchMatching() const{ return m_roleSearchMatching; }
103 inline bool RoleSearchMatchingHasBeenSet() const { return m_roleSearchMatchingHasBeenSet; }
104 inline void SetRoleSearchMatching(const Aws::String& value) { m_roleSearchMatchingHasBeenSet = true; m_roleSearchMatching = value; }
105 inline void SetRoleSearchMatching(Aws::String&& value) { m_roleSearchMatchingHasBeenSet = true; m_roleSearchMatching = std::move(value); }
106 inline void SetRoleSearchMatching(const char* value) { m_roleSearchMatchingHasBeenSet = true; m_roleSearchMatching.assign(value); }
108 inline LdapServerMetadataInput& WithRoleSearchMatching(Aws::String&& value) { SetRoleSearchMatching(std::move(value)); return *this;}
109 inline LdapServerMetadataInput& WithRoleSearchMatching(const char* value) { SetRoleSearchMatching(value); return *this;}
111
113
117 inline bool GetRoleSearchSubtree() const{ return m_roleSearchSubtree; }
118 inline bool RoleSearchSubtreeHasBeenSet() const { return m_roleSearchSubtreeHasBeenSet; }
119 inline void SetRoleSearchSubtree(bool value) { m_roleSearchSubtreeHasBeenSet = true; m_roleSearchSubtree = value; }
120 inline LdapServerMetadataInput& WithRoleSearchSubtree(bool value) { SetRoleSearchSubtree(value); return *this;}
122
124
130 inline const Aws::String& GetServiceAccountPassword() const{ return m_serviceAccountPassword; }
131 inline bool ServiceAccountPasswordHasBeenSet() const { return m_serviceAccountPasswordHasBeenSet; }
132 inline void SetServiceAccountPassword(const Aws::String& value) { m_serviceAccountPasswordHasBeenSet = true; m_serviceAccountPassword = value; }
133 inline void SetServiceAccountPassword(Aws::String&& value) { m_serviceAccountPasswordHasBeenSet = true; m_serviceAccountPassword = std::move(value); }
134 inline void SetServiceAccountPassword(const char* value) { m_serviceAccountPasswordHasBeenSet = true; m_serviceAccountPassword.assign(value); }
137 inline LdapServerMetadataInput& WithServiceAccountPassword(const char* value) { SetServiceAccountPassword(value); return *this;}
139
141
147 inline const Aws::String& GetServiceAccountUsername() const{ return m_serviceAccountUsername; }
148 inline bool ServiceAccountUsernameHasBeenSet() const { return m_serviceAccountUsernameHasBeenSet; }
149 inline void SetServiceAccountUsername(const Aws::String& value) { m_serviceAccountUsernameHasBeenSet = true; m_serviceAccountUsername = value; }
150 inline void SetServiceAccountUsername(Aws::String&& value) { m_serviceAccountUsernameHasBeenSet = true; m_serviceAccountUsername = std::move(value); }
151 inline void SetServiceAccountUsername(const char* value) { m_serviceAccountUsernameHasBeenSet = true; m_serviceAccountUsername.assign(value); }
154 inline LdapServerMetadataInput& WithServiceAccountUsername(const char* value) { SetServiceAccountUsername(value); return *this;}
156
158
167 inline const Aws::String& GetUserBase() const{ return m_userBase; }
168 inline bool UserBaseHasBeenSet() const { return m_userBaseHasBeenSet; }
169 inline void SetUserBase(const Aws::String& value) { m_userBaseHasBeenSet = true; m_userBase = value; }
170 inline void SetUserBase(Aws::String&& value) { m_userBaseHasBeenSet = true; m_userBase = std::move(value); }
171 inline void SetUserBase(const char* value) { m_userBaseHasBeenSet = true; m_userBase.assign(value); }
172 inline LdapServerMetadataInput& WithUserBase(const Aws::String& value) { SetUserBase(value); return *this;}
173 inline LdapServerMetadataInput& WithUserBase(Aws::String&& value) { SetUserBase(std::move(value)); return *this;}
174 inline LdapServerMetadataInput& WithUserBase(const char* value) { SetUserBase(value); return *this;}
176
178
181 inline const Aws::String& GetUserRoleName() const{ return m_userRoleName; }
182 inline bool UserRoleNameHasBeenSet() const { return m_userRoleNameHasBeenSet; }
183 inline void SetUserRoleName(const Aws::String& value) { m_userRoleNameHasBeenSet = true; m_userRoleName = value; }
184 inline void SetUserRoleName(Aws::String&& value) { m_userRoleNameHasBeenSet = true; m_userRoleName = std::move(value); }
185 inline void SetUserRoleName(const char* value) { m_userRoleNameHasBeenSet = true; m_userRoleName.assign(value); }
186 inline LdapServerMetadataInput& WithUserRoleName(const Aws::String& value) { SetUserRoleName(value); return *this;}
187 inline LdapServerMetadataInput& WithUserRoleName(Aws::String&& value) { SetUserRoleName(std::move(value)); return *this;}
188 inline LdapServerMetadataInput& WithUserRoleName(const char* value) { SetUserRoleName(value); return *this;}
190
192
201 inline const Aws::String& GetUserSearchMatching() const{ return m_userSearchMatching; }
202 inline bool UserSearchMatchingHasBeenSet() const { return m_userSearchMatchingHasBeenSet; }
203 inline void SetUserSearchMatching(const Aws::String& value) { m_userSearchMatchingHasBeenSet = true; m_userSearchMatching = value; }
204 inline void SetUserSearchMatching(Aws::String&& value) { m_userSearchMatchingHasBeenSet = true; m_userSearchMatching = std::move(value); }
205 inline void SetUserSearchMatching(const char* value) { m_userSearchMatchingHasBeenSet = true; m_userSearchMatching.assign(value); }
207 inline LdapServerMetadataInput& WithUserSearchMatching(Aws::String&& value) { SetUserSearchMatching(std::move(value)); return *this;}
208 inline LdapServerMetadataInput& WithUserSearchMatching(const char* value) { SetUserSearchMatching(value); return *this;}
210
212
216 inline bool GetUserSearchSubtree() const{ return m_userSearchSubtree; }
217 inline bool UserSearchSubtreeHasBeenSet() const { return m_userSearchSubtreeHasBeenSet; }
218 inline void SetUserSearchSubtree(bool value) { m_userSearchSubtreeHasBeenSet = true; m_userSearchSubtree = value; }
219 inline LdapServerMetadataInput& WithUserSearchSubtree(bool value) { SetUserSearchSubtree(value); return *this;}
221 private:
222
224 bool m_hostsHasBeenSet = false;
225
226 Aws::String m_roleBase;
227 bool m_roleBaseHasBeenSet = false;
228
229 Aws::String m_roleName;
230 bool m_roleNameHasBeenSet = false;
231
232 Aws::String m_roleSearchMatching;
233 bool m_roleSearchMatchingHasBeenSet = false;
234
235 bool m_roleSearchSubtree;
236 bool m_roleSearchSubtreeHasBeenSet = false;
237
238 Aws::String m_serviceAccountPassword;
239 bool m_serviceAccountPasswordHasBeenSet = false;
240
241 Aws::String m_serviceAccountUsername;
242 bool m_serviceAccountUsernameHasBeenSet = false;
243
244 Aws::String m_userBase;
245 bool m_userBaseHasBeenSet = false;
246
247 Aws::String m_userRoleName;
248 bool m_userRoleNameHasBeenSet = false;
249
250 Aws::String m_userSearchMatching;
251 bool m_userSearchMatchingHasBeenSet = false;
252
253 bool m_userSearchSubtree;
254 bool m_userSearchSubtreeHasBeenSet = false;
255 };
256
257} // namespace Model
258} // namespace MQ
259} // namespace Aws
LdapServerMetadataInput & WithRoleSearchMatching(Aws::String &&value)
LdapServerMetadataInput & WithUserRoleName(Aws::String &&value)
LdapServerMetadataInput & WithRoleName(const Aws::String &value)
LdapServerMetadataInput & WithUserRoleName(const char *value)
LdapServerMetadataInput & WithRoleSearchSubtree(bool value)
const Aws::String & GetServiceAccountPassword() const
LdapServerMetadataInput & AddHosts(Aws::String &&value)
LdapServerMetadataInput & WithServiceAccountPassword(const Aws::String &value)
LdapServerMetadataInput & WithUserSearchMatching(const Aws::String &value)
void SetUserRoleName(const Aws::String &value)
LdapServerMetadataInput & WithRoleBase(const Aws::String &value)
const Aws::String & GetServiceAccountUsername() const
LdapServerMetadataInput & WithServiceAccountUsername(const char *value)
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
LdapServerMetadataInput & WithRoleSearchMatching(const char *value)
LdapServerMetadataInput & AddHosts(const Aws::String &value)
void SetRoleSearchMatching(const Aws::String &value)
void SetUserSearchMatching(const Aws::String &value)
LdapServerMetadataInput & WithUserBase(const char *value)
AWS_MQ_API LdapServerMetadataInput & operator=(Aws::Utils::Json::JsonView jsonValue)
LdapServerMetadataInput & WithRoleBase(Aws::String &&value)
LdapServerMetadataInput & WithUserBase(Aws::String &&value)
LdapServerMetadataInput & WithServiceAccountUsername(Aws::String &&value)
LdapServerMetadataInput & WithUserSearchMatching(Aws::String &&value)
void SetServiceAccountUsername(const Aws::String &value)
LdapServerMetadataInput & WithServiceAccountPassword(const char *value)
LdapServerMetadataInput & WithRoleName(const char *value)
LdapServerMetadataInput & AddHosts(const char *value)
AWS_MQ_API LdapServerMetadataInput(Aws::Utils::Json::JsonView jsonValue)
LdapServerMetadataInput & WithUserSearchMatching(const char *value)
LdapServerMetadataInput & WithServiceAccountPassword(Aws::String &&value)
LdapServerMetadataInput & WithRoleName(Aws::String &&value)
LdapServerMetadataInput & WithHosts(const Aws::Vector< Aws::String > &value)
LdapServerMetadataInput & WithUserRoleName(const Aws::String &value)
void SetHosts(const Aws::Vector< Aws::String > &value)
LdapServerMetadataInput & WithServiceAccountUsername(const Aws::String &value)
LdapServerMetadataInput & WithRoleBase(const char *value)
void SetServiceAccountPassword(const Aws::String &value)
LdapServerMetadataInput & WithUserSearchSubtree(bool value)
LdapServerMetadataInput & WithHosts(Aws::Vector< Aws::String > &&value)
LdapServerMetadataInput & WithRoleSearchMatching(const Aws::String &value)
const Aws::Vector< Aws::String > & GetHosts() const
LdapServerMetadataInput & WithUserBase(const Aws::String &value)
void SetHosts(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue