AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LdapServerMetadataOutput.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
34 {
35 public:
36 AWS_MQ_API LdapServerMetadataOutput() = default;
40
41
43
47 inline const Aws::Vector<Aws::String>& GetHosts() const { return m_hosts; }
48 inline bool HostsHasBeenSet() const { return m_hostsHasBeenSet; }
49 template<typename HostsT = Aws::Vector<Aws::String>>
50 void SetHosts(HostsT&& value) { m_hostsHasBeenSet = true; m_hosts = std::forward<HostsT>(value); }
51 template<typename HostsT = Aws::Vector<Aws::String>>
52 LdapServerMetadataOutput& WithHosts(HostsT&& value) { SetHosts(std::forward<HostsT>(value)); return *this;}
53 template<typename HostsT = Aws::String>
54 LdapServerMetadataOutput& AddHosts(HostsT&& value) { m_hostsHasBeenSet = true; m_hosts.emplace_back(std::forward<HostsT>(value)); return *this; }
56
58
64 inline const Aws::String& GetRoleBase() const { return m_roleBase; }
65 inline bool RoleBaseHasBeenSet() const { return m_roleBaseHasBeenSet; }
66 template<typename RoleBaseT = Aws::String>
67 void SetRoleBase(RoleBaseT&& value) { m_roleBaseHasBeenSet = true; m_roleBase = std::forward<RoleBaseT>(value); }
68 template<typename RoleBaseT = Aws::String>
69 LdapServerMetadataOutput& WithRoleBase(RoleBaseT&& value) { SetRoleBase(std::forward<RoleBaseT>(value)); return *this;}
71
73
77 inline const Aws::String& GetRoleName() const { return m_roleName; }
78 inline bool RoleNameHasBeenSet() const { return m_roleNameHasBeenSet; }
79 template<typename RoleNameT = Aws::String>
80 void SetRoleName(RoleNameT&& value) { m_roleNameHasBeenSet = true; m_roleName = std::forward<RoleNameT>(value); }
81 template<typename RoleNameT = Aws::String>
82 LdapServerMetadataOutput& WithRoleName(RoleNameT&& value) { SetRoleName(std::forward<RoleNameT>(value)); return *this;}
84
86
96 inline const Aws::String& GetRoleSearchMatching() const { return m_roleSearchMatching; }
97 inline bool RoleSearchMatchingHasBeenSet() const { return m_roleSearchMatchingHasBeenSet; }
98 template<typename RoleSearchMatchingT = Aws::String>
99 void SetRoleSearchMatching(RoleSearchMatchingT&& value) { m_roleSearchMatchingHasBeenSet = true; m_roleSearchMatching = std::forward<RoleSearchMatchingT>(value); }
100 template<typename RoleSearchMatchingT = Aws::String>
101 LdapServerMetadataOutput& WithRoleSearchMatching(RoleSearchMatchingT&& value) { SetRoleSearchMatching(std::forward<RoleSearchMatchingT>(value)); return *this;}
103
105
109 inline bool GetRoleSearchSubtree() const { return m_roleSearchSubtree; }
110 inline bool RoleSearchSubtreeHasBeenSet() const { return m_roleSearchSubtreeHasBeenSet; }
111 inline void SetRoleSearchSubtree(bool value) { m_roleSearchSubtreeHasBeenSet = true; m_roleSearchSubtree = value; }
112 inline LdapServerMetadataOutput& WithRoleSearchSubtree(bool value) { SetRoleSearchSubtree(value); return *this;}
114
116
122 inline const Aws::String& GetServiceAccountUsername() const { return m_serviceAccountUsername; }
123 inline bool ServiceAccountUsernameHasBeenSet() const { return m_serviceAccountUsernameHasBeenSet; }
124 template<typename ServiceAccountUsernameT = Aws::String>
125 void SetServiceAccountUsername(ServiceAccountUsernameT&& value) { m_serviceAccountUsernameHasBeenSet = true; m_serviceAccountUsername = std::forward<ServiceAccountUsernameT>(value); }
126 template<typename ServiceAccountUsernameT = Aws::String>
127 LdapServerMetadataOutput& WithServiceAccountUsername(ServiceAccountUsernameT&& value) { SetServiceAccountUsername(std::forward<ServiceAccountUsernameT>(value)); return *this;}
129
131
140 inline const Aws::String& GetUserBase() const { return m_userBase; }
141 inline bool UserBaseHasBeenSet() const { return m_userBaseHasBeenSet; }
142 template<typename UserBaseT = Aws::String>
143 void SetUserBase(UserBaseT&& value) { m_userBaseHasBeenSet = true; m_userBase = std::forward<UserBaseT>(value); }
144 template<typename UserBaseT = Aws::String>
145 LdapServerMetadataOutput& WithUserBase(UserBaseT&& value) { SetUserBase(std::forward<UserBaseT>(value)); return *this;}
147
149
152 inline const Aws::String& GetUserRoleName() const { return m_userRoleName; }
153 inline bool UserRoleNameHasBeenSet() const { return m_userRoleNameHasBeenSet; }
154 template<typename UserRoleNameT = Aws::String>
155 void SetUserRoleName(UserRoleNameT&& value) { m_userRoleNameHasBeenSet = true; m_userRoleName = std::forward<UserRoleNameT>(value); }
156 template<typename UserRoleNameT = Aws::String>
157 LdapServerMetadataOutput& WithUserRoleName(UserRoleNameT&& value) { SetUserRoleName(std::forward<UserRoleNameT>(value)); return *this;}
159
161
170 inline const Aws::String& GetUserSearchMatching() const { return m_userSearchMatching; }
171 inline bool UserSearchMatchingHasBeenSet() const { return m_userSearchMatchingHasBeenSet; }
172 template<typename UserSearchMatchingT = Aws::String>
173 void SetUserSearchMatching(UserSearchMatchingT&& value) { m_userSearchMatchingHasBeenSet = true; m_userSearchMatching = std::forward<UserSearchMatchingT>(value); }
174 template<typename UserSearchMatchingT = Aws::String>
175 LdapServerMetadataOutput& WithUserSearchMatching(UserSearchMatchingT&& value) { SetUserSearchMatching(std::forward<UserSearchMatchingT>(value)); return *this;}
177
179
183 inline bool GetUserSearchSubtree() const { return m_userSearchSubtree; }
184 inline bool UserSearchSubtreeHasBeenSet() const { return m_userSearchSubtreeHasBeenSet; }
185 inline void SetUserSearchSubtree(bool value) { m_userSearchSubtreeHasBeenSet = true; m_userSearchSubtree = value; }
186 inline LdapServerMetadataOutput& WithUserSearchSubtree(bool value) { SetUserSearchSubtree(value); return *this;}
188 private:
189
191 bool m_hostsHasBeenSet = false;
192
193 Aws::String m_roleBase;
194 bool m_roleBaseHasBeenSet = false;
195
196 Aws::String m_roleName;
197 bool m_roleNameHasBeenSet = false;
198
199 Aws::String m_roleSearchMatching;
200 bool m_roleSearchMatchingHasBeenSet = false;
201
202 bool m_roleSearchSubtree{false};
203 bool m_roleSearchSubtreeHasBeenSet = false;
204
205 Aws::String m_serviceAccountUsername;
206 bool m_serviceAccountUsernameHasBeenSet = false;
207
208 Aws::String m_userBase;
209 bool m_userBaseHasBeenSet = false;
210
211 Aws::String m_userRoleName;
212 bool m_userRoleNameHasBeenSet = false;
213
214 Aws::String m_userSearchMatching;
215 bool m_userSearchMatchingHasBeenSet = false;
216
217 bool m_userSearchSubtree{false};
218 bool m_userSearchSubtreeHasBeenSet = false;
219 };
220
221} // namespace Model
222} // namespace MQ
223} // 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