AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
40
41
43
47 inline const Aws::Vector<Aws::String>& GetHosts() const{ return m_hosts; }
48 inline bool HostsHasBeenSet() const { return m_hostsHasBeenSet; }
49 inline void SetHosts(const Aws::Vector<Aws::String>& value) { m_hostsHasBeenSet = true; m_hosts = value; }
50 inline void SetHosts(Aws::Vector<Aws::String>&& value) { m_hostsHasBeenSet = true; m_hosts = std::move(value); }
51 inline LdapServerMetadataOutput& WithHosts(const Aws::Vector<Aws::String>& value) { SetHosts(value); return *this;}
52 inline LdapServerMetadataOutput& WithHosts(Aws::Vector<Aws::String>&& value) { SetHosts(std::move(value)); return *this;}
53 inline LdapServerMetadataOutput& AddHosts(const Aws::String& value) { m_hostsHasBeenSet = true; m_hosts.push_back(value); return *this; }
54 inline LdapServerMetadataOutput& AddHosts(Aws::String&& value) { m_hostsHasBeenSet = true; m_hosts.push_back(std::move(value)); return *this; }
55 inline LdapServerMetadataOutput& AddHosts(const char* value) { m_hostsHasBeenSet = true; m_hosts.push_back(value); return *this; }
57
59
65 inline const Aws::String& GetRoleBase() const{ return m_roleBase; }
66 inline bool RoleBaseHasBeenSet() const { return m_roleBaseHasBeenSet; }
67 inline void SetRoleBase(const Aws::String& value) { m_roleBaseHasBeenSet = true; m_roleBase = value; }
68 inline void SetRoleBase(Aws::String&& value) { m_roleBaseHasBeenSet = true; m_roleBase = std::move(value); }
69 inline void SetRoleBase(const char* value) { m_roleBaseHasBeenSet = true; m_roleBase.assign(value); }
70 inline LdapServerMetadataOutput& WithRoleBase(const Aws::String& value) { SetRoleBase(value); return *this;}
71 inline LdapServerMetadataOutput& WithRoleBase(Aws::String&& value) { SetRoleBase(std::move(value)); return *this;}
72 inline LdapServerMetadataOutput& WithRoleBase(const char* value) { SetRoleBase(value); return *this;}
74
76
80 inline const Aws::String& GetRoleName() const{ return m_roleName; }
81 inline bool RoleNameHasBeenSet() const { return m_roleNameHasBeenSet; }
82 inline void SetRoleName(const Aws::String& value) { m_roleNameHasBeenSet = true; m_roleName = value; }
83 inline void SetRoleName(Aws::String&& value) { m_roleNameHasBeenSet = true; m_roleName = std::move(value); }
84 inline void SetRoleName(const char* value) { m_roleNameHasBeenSet = true; m_roleName.assign(value); }
85 inline LdapServerMetadataOutput& WithRoleName(const Aws::String& value) { SetRoleName(value); return *this;}
86 inline LdapServerMetadataOutput& WithRoleName(Aws::String&& value) { SetRoleName(std::move(value)); return *this;}
87 inline LdapServerMetadataOutput& WithRoleName(const char* value) { SetRoleName(value); return *this;}
89
91
101 inline const Aws::String& GetRoleSearchMatching() const{ return m_roleSearchMatching; }
102 inline bool RoleSearchMatchingHasBeenSet() const { return m_roleSearchMatchingHasBeenSet; }
103 inline void SetRoleSearchMatching(const Aws::String& value) { m_roleSearchMatchingHasBeenSet = true; m_roleSearchMatching = value; }
104 inline void SetRoleSearchMatching(Aws::String&& value) { m_roleSearchMatchingHasBeenSet = true; m_roleSearchMatching = std::move(value); }
105 inline void SetRoleSearchMatching(const char* value) { m_roleSearchMatchingHasBeenSet = true; m_roleSearchMatching.assign(value); }
107 inline LdapServerMetadataOutput& WithRoleSearchMatching(Aws::String&& value) { SetRoleSearchMatching(std::move(value)); return *this;}
108 inline LdapServerMetadataOutput& WithRoleSearchMatching(const char* value) { SetRoleSearchMatching(value); return *this;}
110
112
116 inline bool GetRoleSearchSubtree() const{ return m_roleSearchSubtree; }
117 inline bool RoleSearchSubtreeHasBeenSet() const { return m_roleSearchSubtreeHasBeenSet; }
118 inline void SetRoleSearchSubtree(bool value) { m_roleSearchSubtreeHasBeenSet = true; m_roleSearchSubtree = value; }
119 inline LdapServerMetadataOutput& WithRoleSearchSubtree(bool value) { SetRoleSearchSubtree(value); return *this;}
121
123
129 inline const Aws::String& GetServiceAccountUsername() const{ return m_serviceAccountUsername; }
130 inline bool ServiceAccountUsernameHasBeenSet() const { return m_serviceAccountUsernameHasBeenSet; }
131 inline void SetServiceAccountUsername(const Aws::String& value) { m_serviceAccountUsernameHasBeenSet = true; m_serviceAccountUsername = value; }
132 inline void SetServiceAccountUsername(Aws::String&& value) { m_serviceAccountUsernameHasBeenSet = true; m_serviceAccountUsername = std::move(value); }
133 inline void SetServiceAccountUsername(const char* value) { m_serviceAccountUsernameHasBeenSet = true; m_serviceAccountUsername.assign(value); }
136 inline LdapServerMetadataOutput& WithServiceAccountUsername(const char* value) { SetServiceAccountUsername(value); return *this;}
138
140
149 inline const Aws::String& GetUserBase() const{ return m_userBase; }
150 inline bool UserBaseHasBeenSet() const { return m_userBaseHasBeenSet; }
151 inline void SetUserBase(const Aws::String& value) { m_userBaseHasBeenSet = true; m_userBase = value; }
152 inline void SetUserBase(Aws::String&& value) { m_userBaseHasBeenSet = true; m_userBase = std::move(value); }
153 inline void SetUserBase(const char* value) { m_userBaseHasBeenSet = true; m_userBase.assign(value); }
154 inline LdapServerMetadataOutput& WithUserBase(const Aws::String& value) { SetUserBase(value); return *this;}
155 inline LdapServerMetadataOutput& WithUserBase(Aws::String&& value) { SetUserBase(std::move(value)); return *this;}
156 inline LdapServerMetadataOutput& WithUserBase(const char* value) { SetUserBase(value); return *this;}
158
160
163 inline const Aws::String& GetUserRoleName() const{ return m_userRoleName; }
164 inline bool UserRoleNameHasBeenSet() const { return m_userRoleNameHasBeenSet; }
165 inline void SetUserRoleName(const Aws::String& value) { m_userRoleNameHasBeenSet = true; m_userRoleName = value; }
166 inline void SetUserRoleName(Aws::String&& value) { m_userRoleNameHasBeenSet = true; m_userRoleName = std::move(value); }
167 inline void SetUserRoleName(const char* value) { m_userRoleNameHasBeenSet = true; m_userRoleName.assign(value); }
168 inline LdapServerMetadataOutput& WithUserRoleName(const Aws::String& value) { SetUserRoleName(value); return *this;}
169 inline LdapServerMetadataOutput& WithUserRoleName(Aws::String&& value) { SetUserRoleName(std::move(value)); return *this;}
170 inline LdapServerMetadataOutput& WithUserRoleName(const char* value) { SetUserRoleName(value); return *this;}
172
174
183 inline const Aws::String& GetUserSearchMatching() const{ return m_userSearchMatching; }
184 inline bool UserSearchMatchingHasBeenSet() const { return m_userSearchMatchingHasBeenSet; }
185 inline void SetUserSearchMatching(const Aws::String& value) { m_userSearchMatchingHasBeenSet = true; m_userSearchMatching = value; }
186 inline void SetUserSearchMatching(Aws::String&& value) { m_userSearchMatchingHasBeenSet = true; m_userSearchMatching = std::move(value); }
187 inline void SetUserSearchMatching(const char* value) { m_userSearchMatchingHasBeenSet = true; m_userSearchMatching.assign(value); }
189 inline LdapServerMetadataOutput& WithUserSearchMatching(Aws::String&& value) { SetUserSearchMatching(std::move(value)); return *this;}
190 inline LdapServerMetadataOutput& WithUserSearchMatching(const char* value) { SetUserSearchMatching(value); return *this;}
192
194
198 inline bool GetUserSearchSubtree() const{ return m_userSearchSubtree; }
199 inline bool UserSearchSubtreeHasBeenSet() const { return m_userSearchSubtreeHasBeenSet; }
200 inline void SetUserSearchSubtree(bool value) { m_userSearchSubtreeHasBeenSet = true; m_userSearchSubtree = value; }
201 inline LdapServerMetadataOutput& WithUserSearchSubtree(bool value) { SetUserSearchSubtree(value); return *this;}
203 private:
204
206 bool m_hostsHasBeenSet = false;
207
208 Aws::String m_roleBase;
209 bool m_roleBaseHasBeenSet = false;
210
211 Aws::String m_roleName;
212 bool m_roleNameHasBeenSet = false;
213
214 Aws::String m_roleSearchMatching;
215 bool m_roleSearchMatchingHasBeenSet = false;
216
217 bool m_roleSearchSubtree;
218 bool m_roleSearchSubtreeHasBeenSet = false;
219
220 Aws::String m_serviceAccountUsername;
221 bool m_serviceAccountUsernameHasBeenSet = false;
222
223 Aws::String m_userBase;
224 bool m_userBaseHasBeenSet = false;
225
226 Aws::String m_userRoleName;
227 bool m_userRoleNameHasBeenSet = false;
228
229 Aws::String m_userSearchMatching;
230 bool m_userSearchMatchingHasBeenSet = false;
231
232 bool m_userSearchSubtree;
233 bool m_userSearchSubtreeHasBeenSet = false;
234 };
235
236} // namespace Model
237} // namespace MQ
238} // namespace Aws
LdapServerMetadataOutput & WithRoleName(const Aws::String &value)
LdapServerMetadataOutput & WithUserRoleName(const Aws::String &value)
LdapServerMetadataOutput & WithRoleSearchMatching(Aws::String &&value)
LdapServerMetadataOutput & WithRoleSearchMatching(const char *value)
LdapServerMetadataOutput & WithUserRoleName(const char *value)
LdapServerMetadataOutput & WithServiceAccountUsername(const Aws::String &value)
LdapServerMetadataOutput & WithRoleBase(const Aws::String &value)
void SetServiceAccountUsername(const Aws::String &value)
const Aws::Vector< Aws::String > & GetHosts() const
LdapServerMetadataOutput & WithUserSearchMatching(const char *value)
LdapServerMetadataOutput & AddHosts(const char *value)
LdapServerMetadataOutput & WithUserSearchMatching(Aws::String &&value)
LdapServerMetadataOutput & WithUserSearchSubtree(bool value)
void SetUserSearchMatching(const Aws::String &value)
LdapServerMetadataOutput & WithRoleName(Aws::String &&value)
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
LdapServerMetadataOutput & WithRoleSearchMatching(const Aws::String &value)
LdapServerMetadataOutput & WithUserBase(const char *value)
LdapServerMetadataOutput & WithHosts(Aws::Vector< Aws::String > &&value)
LdapServerMetadataOutput & WithUserBase(const Aws::String &value)
void SetHosts(const Aws::Vector< Aws::String > &value)
LdapServerMetadataOutput & WithRoleBase(Aws::String &&value)
void SetRoleSearchMatching(const Aws::String &value)
LdapServerMetadataOutput & WithRoleSearchSubtree(bool value)
LdapServerMetadataOutput & WithHosts(const Aws::Vector< Aws::String > &value)
LdapServerMetadataOutput & WithRoleName(const char *value)
AWS_MQ_API LdapServerMetadataOutput(Aws::Utils::Json::JsonView jsonValue)
LdapServerMetadataOutput & WithUserBase(Aws::String &&value)
LdapServerMetadataOutput & WithUserSearchMatching(const Aws::String &value)
LdapServerMetadataOutput & WithUserRoleName(Aws::String &&value)
LdapServerMetadataOutput & WithRoleBase(const char *value)
LdapServerMetadataOutput & AddHosts(const Aws::String &value)
LdapServerMetadataOutput & WithServiceAccountUsername(const char *value)
void SetHosts(Aws::Vector< Aws::String > &&value)
LdapServerMetadataOutput & AddHosts(Aws::String &&value)
LdapServerMetadataOutput & WithServiceAccountUsername(Aws::String &&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