AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SelfManagedActiveDirectoryConfiguration.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 FSx
23{
24namespace Model
25{
26
41 {
42 public:
47
48
50
54 inline const Aws::String& GetDomainName() const{ return m_domainName; }
55 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
56 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
57 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
58 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
60 inline SelfManagedActiveDirectoryConfiguration& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
61 inline SelfManagedActiveDirectoryConfiguration& WithDomainName(const char* value) { SetDomainName(value); return *this;}
63
65
75 inline const Aws::String& GetOrganizationalUnitDistinguishedName() const{ return m_organizationalUnitDistinguishedName; }
76 inline bool OrganizationalUnitDistinguishedNameHasBeenSet() const { return m_organizationalUnitDistinguishedNameHasBeenSet; }
77 inline void SetOrganizationalUnitDistinguishedName(const Aws::String& value) { m_organizationalUnitDistinguishedNameHasBeenSet = true; m_organizationalUnitDistinguishedName = value; }
78 inline void SetOrganizationalUnitDistinguishedName(Aws::String&& value) { m_organizationalUnitDistinguishedNameHasBeenSet = true; m_organizationalUnitDistinguishedName = std::move(value); }
79 inline void SetOrganizationalUnitDistinguishedName(const char* value) { m_organizationalUnitDistinguishedNameHasBeenSet = true; m_organizationalUnitDistinguishedName.assign(value); }
84
86
94 inline const Aws::String& GetFileSystemAdministratorsGroup() const{ return m_fileSystemAdministratorsGroup; }
95 inline bool FileSystemAdministratorsGroupHasBeenSet() const { return m_fileSystemAdministratorsGroupHasBeenSet; }
96 inline void SetFileSystemAdministratorsGroup(const Aws::String& value) { m_fileSystemAdministratorsGroupHasBeenSet = true; m_fileSystemAdministratorsGroup = value; }
97 inline void SetFileSystemAdministratorsGroup(Aws::String&& value) { m_fileSystemAdministratorsGroupHasBeenSet = true; m_fileSystemAdministratorsGroup = std::move(value); }
98 inline void SetFileSystemAdministratorsGroup(const char* value) { m_fileSystemAdministratorsGroupHasBeenSet = true; m_fileSystemAdministratorsGroup.assign(value); }
103
105
112 inline const Aws::String& GetUserName() const{ return m_userName; }
113 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
114 inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
115 inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
116 inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
118 inline SelfManagedActiveDirectoryConfiguration& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
119 inline SelfManagedActiveDirectoryConfiguration& WithUserName(const char* value) { SetUserName(value); return *this;}
121
123
127 inline const Aws::String& GetPassword() const{ return m_password; }
128 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
129 inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; }
130 inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); }
131 inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); }
133 inline SelfManagedActiveDirectoryConfiguration& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;}
134 inline SelfManagedActiveDirectoryConfiguration& WithPassword(const char* value) { SetPassword(value); return *this;}
136
138
142 inline const Aws::Vector<Aws::String>& GetDnsIps() const{ return m_dnsIps; }
143 inline bool DnsIpsHasBeenSet() const { return m_dnsIpsHasBeenSet; }
144 inline void SetDnsIps(const Aws::Vector<Aws::String>& value) { m_dnsIpsHasBeenSet = true; m_dnsIps = value; }
145 inline void SetDnsIps(Aws::Vector<Aws::String>&& value) { m_dnsIpsHasBeenSet = true; m_dnsIps = std::move(value); }
148 inline SelfManagedActiveDirectoryConfiguration& AddDnsIps(const Aws::String& value) { m_dnsIpsHasBeenSet = true; m_dnsIps.push_back(value); return *this; }
149 inline SelfManagedActiveDirectoryConfiguration& AddDnsIps(Aws::String&& value) { m_dnsIpsHasBeenSet = true; m_dnsIps.push_back(std::move(value)); return *this; }
150 inline SelfManagedActiveDirectoryConfiguration& AddDnsIps(const char* value) { m_dnsIpsHasBeenSet = true; m_dnsIps.push_back(value); return *this; }
152 private:
153
154 Aws::String m_domainName;
155 bool m_domainNameHasBeenSet = false;
156
157 Aws::String m_organizationalUnitDistinguishedName;
158 bool m_organizationalUnitDistinguishedNameHasBeenSet = false;
159
160 Aws::String m_fileSystemAdministratorsGroup;
161 bool m_fileSystemAdministratorsGroupHasBeenSet = false;
162
163 Aws::String m_userName;
164 bool m_userNameHasBeenSet = false;
165
166 Aws::String m_password;
167 bool m_passwordHasBeenSet = false;
168
170 bool m_dnsIpsHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace FSx
175} // namespace Aws
SelfManagedActiveDirectoryConfiguration & WithPassword(Aws::String &&value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
SelfManagedActiveDirectoryConfiguration & WithUserName(Aws::String &&value)
SelfManagedActiveDirectoryConfiguration & WithFileSystemAdministratorsGroup(Aws::String &&value)
SelfManagedActiveDirectoryConfiguration & WithOrganizationalUnitDistinguishedName(Aws::String &&value)
SelfManagedActiveDirectoryConfiguration & WithFileSystemAdministratorsGroup(const Aws::String &value)
SelfManagedActiveDirectoryConfiguration & WithDomainName(const Aws::String &value)
SelfManagedActiveDirectoryConfiguration & WithDomainName(Aws::String &&value)
SelfManagedActiveDirectoryConfiguration & WithPassword(const Aws::String &value)
SelfManagedActiveDirectoryConfiguration & AddDnsIps(const Aws::String &value)
SelfManagedActiveDirectoryConfiguration & AddDnsIps(Aws::String &&value)
SelfManagedActiveDirectoryConfiguration & WithUserName(const char *value)
SelfManagedActiveDirectoryConfiguration & WithDomainName(const char *value)
SelfManagedActiveDirectoryConfiguration & WithUserName(const Aws::String &value)
SelfManagedActiveDirectoryConfiguration & WithOrganizationalUnitDistinguishedName(const Aws::String &value)
AWS_FSX_API SelfManagedActiveDirectoryConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SelfManagedActiveDirectoryConfiguration & WithOrganizationalUnitDistinguishedName(const char *value)
SelfManagedActiveDirectoryConfiguration & WithDnsIps(const Aws::Vector< Aws::String > &value)
AWS_FSX_API SelfManagedActiveDirectoryConfiguration(Aws::Utils::Json::JsonView jsonValue)
SelfManagedActiveDirectoryConfiguration & WithFileSystemAdministratorsGroup(const char *value)
SelfManagedActiveDirectoryConfiguration & WithDnsIps(Aws::Vector< Aws::String > &&value)
SelfManagedActiveDirectoryConfiguration & WithPassword(const char *value)
SelfManagedActiveDirectoryConfiguration & AddDnsIps(const char *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