/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The configuration of the self-managed Microsoft Active Directory (AD)
* directory to which the Windows File Server or ONTAP storage virtual machine
* (SVM) instance is joined.See Also:
AWS
* API Reference
The fully qualified domain name of the self-managed AD directory.
*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *The fully qualified domain name of the self-managed AD directory.
*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *The fully qualified domain name of the self-managed AD directory.
*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *The fully qualified domain name of the self-managed AD directory.
*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *The fully qualified domain name of the self-managed AD directory.
*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *The fully qualified domain name of the self-managed AD directory.
*/ inline SelfManagedActiveDirectoryAttributes& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *The fully qualified domain name of the self-managed AD directory.
*/ inline SelfManagedActiveDirectoryAttributes& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *The fully qualified domain name of the self-managed AD directory.
*/ inline SelfManagedActiveDirectoryAttributes& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *The fully qualified distinguished name of the organizational unit within the * self-managed AD directory to which the Windows File Server or ONTAP storage * virtual machine (SVM) instance is joined.
*/ inline const Aws::String& GetOrganizationalUnitDistinguishedName() const{ return m_organizationalUnitDistinguishedName; } /** *The fully qualified distinguished name of the organizational unit within the * self-managed AD directory to which the Windows File Server or ONTAP storage * virtual machine (SVM) instance is joined.
*/ inline bool OrganizationalUnitDistinguishedNameHasBeenSet() const { return m_organizationalUnitDistinguishedNameHasBeenSet; } /** *The fully qualified distinguished name of the organizational unit within the * self-managed AD directory to which the Windows File Server or ONTAP storage * virtual machine (SVM) instance is joined.
*/ inline void SetOrganizationalUnitDistinguishedName(const Aws::String& value) { m_organizationalUnitDistinguishedNameHasBeenSet = true; m_organizationalUnitDistinguishedName = value; } /** *The fully qualified distinguished name of the organizational unit within the * self-managed AD directory to which the Windows File Server or ONTAP storage * virtual machine (SVM) instance is joined.
*/ inline void SetOrganizationalUnitDistinguishedName(Aws::String&& value) { m_organizationalUnitDistinguishedNameHasBeenSet = true; m_organizationalUnitDistinguishedName = std::move(value); } /** *The fully qualified distinguished name of the organizational unit within the * self-managed AD directory to which the Windows File Server or ONTAP storage * virtual machine (SVM) instance is joined.
*/ inline void SetOrganizationalUnitDistinguishedName(const char* value) { m_organizationalUnitDistinguishedNameHasBeenSet = true; m_organizationalUnitDistinguishedName.assign(value); } /** *The fully qualified distinguished name of the organizational unit within the * self-managed AD directory to which the Windows File Server or ONTAP storage * virtual machine (SVM) instance is joined.
*/ inline SelfManagedActiveDirectoryAttributes& WithOrganizationalUnitDistinguishedName(const Aws::String& value) { SetOrganizationalUnitDistinguishedName(value); return *this;} /** *The fully qualified distinguished name of the organizational unit within the * self-managed AD directory to which the Windows File Server or ONTAP storage * virtual machine (SVM) instance is joined.
*/ inline SelfManagedActiveDirectoryAttributes& WithOrganizationalUnitDistinguishedName(Aws::String&& value) { SetOrganizationalUnitDistinguishedName(std::move(value)); return *this;} /** *The fully qualified distinguished name of the organizational unit within the * self-managed AD directory to which the Windows File Server or ONTAP storage * virtual machine (SVM) instance is joined.
*/ inline SelfManagedActiveDirectoryAttributes& WithOrganizationalUnitDistinguishedName(const char* value) { SetOrganizationalUnitDistinguishedName(value); return *this;} /** *The name of the domain group whose members have administrative privileges for * the FSx file system.
*/ inline const Aws::String& GetFileSystemAdministratorsGroup() const{ return m_fileSystemAdministratorsGroup; } /** *The name of the domain group whose members have administrative privileges for * the FSx file system.
*/ inline bool FileSystemAdministratorsGroupHasBeenSet() const { return m_fileSystemAdministratorsGroupHasBeenSet; } /** *The name of the domain group whose members have administrative privileges for * the FSx file system.
*/ inline void SetFileSystemAdministratorsGroup(const Aws::String& value) { m_fileSystemAdministratorsGroupHasBeenSet = true; m_fileSystemAdministratorsGroup = value; } /** *The name of the domain group whose members have administrative privileges for * the FSx file system.
*/ inline void SetFileSystemAdministratorsGroup(Aws::String&& value) { m_fileSystemAdministratorsGroupHasBeenSet = true; m_fileSystemAdministratorsGroup = std::move(value); } /** *The name of the domain group whose members have administrative privileges for * the FSx file system.
*/ inline void SetFileSystemAdministratorsGroup(const char* value) { m_fileSystemAdministratorsGroupHasBeenSet = true; m_fileSystemAdministratorsGroup.assign(value); } /** *The name of the domain group whose members have administrative privileges for * the FSx file system.
*/ inline SelfManagedActiveDirectoryAttributes& WithFileSystemAdministratorsGroup(const Aws::String& value) { SetFileSystemAdministratorsGroup(value); return *this;} /** *The name of the domain group whose members have administrative privileges for * the FSx file system.
*/ inline SelfManagedActiveDirectoryAttributes& WithFileSystemAdministratorsGroup(Aws::String&& value) { SetFileSystemAdministratorsGroup(std::move(value)); return *this;} /** *The name of the domain group whose members have administrative privileges for * the FSx file system.
*/ inline SelfManagedActiveDirectoryAttributes& WithFileSystemAdministratorsGroup(const char* value) { SetFileSystemAdministratorsGroup(value); return *this;} /** *The user name for the service account on your self-managed AD domain that FSx * uses to join to your AD domain.
*/ inline const Aws::String& GetUserName() const{ return m_userName; } /** *The user name for the service account on your self-managed AD domain that FSx * uses to join to your AD domain.
*/ inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; } /** *The user name for the service account on your self-managed AD domain that FSx * uses to join to your AD domain.
*/ inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; } /** *The user name for the service account on your self-managed AD domain that FSx * uses to join to your AD domain.
*/ inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); } /** *The user name for the service account on your self-managed AD domain that FSx * uses to join to your AD domain.
*/ inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); } /** *The user name for the service account on your self-managed AD domain that FSx * uses to join to your AD domain.
*/ inline SelfManagedActiveDirectoryAttributes& WithUserName(const Aws::String& value) { SetUserName(value); return *this;} /** *The user name for the service account on your self-managed AD domain that FSx * uses to join to your AD domain.
*/ inline SelfManagedActiveDirectoryAttributes& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;} /** *The user name for the service account on your self-managed AD domain that FSx * uses to join to your AD domain.
*/ inline SelfManagedActiveDirectoryAttributes& WithUserName(const char* value) { SetUserName(value); return *this;} /** *A list of up to three IP addresses of DNS servers or domain controllers in * the self-managed AD directory.
*/ inline const Aws::VectorA list of up to three IP addresses of DNS servers or domain controllers in * the self-managed AD directory.
*/ inline bool DnsIpsHasBeenSet() const { return m_dnsIpsHasBeenSet; } /** *A list of up to three IP addresses of DNS servers or domain controllers in * the self-managed AD directory.
*/ inline void SetDnsIps(const Aws::VectorA list of up to three IP addresses of DNS servers or domain controllers in * the self-managed AD directory.
*/ inline void SetDnsIps(Aws::VectorA list of up to three IP addresses of DNS servers or domain controllers in * the self-managed AD directory.
*/ inline SelfManagedActiveDirectoryAttributes& WithDnsIps(const Aws::VectorA list of up to three IP addresses of DNS servers or domain controllers in * the self-managed AD directory.
*/ inline SelfManagedActiveDirectoryAttributes& WithDnsIps(Aws::VectorA list of up to three IP addresses of DNS servers or domain controllers in * the self-managed AD directory.
*/ inline SelfManagedActiveDirectoryAttributes& AddDnsIps(const Aws::String& value) { m_dnsIpsHasBeenSet = true; m_dnsIps.push_back(value); return *this; } /** *A list of up to three IP addresses of DNS servers or domain controllers in * the self-managed AD directory.
*/ inline SelfManagedActiveDirectoryAttributes& AddDnsIps(Aws::String&& value) { m_dnsIpsHasBeenSet = true; m_dnsIps.push_back(std::move(value)); return *this; } /** *A list of up to three IP addresses of DNS servers or domain controllers in * the self-managed AD directory.
*/ inline SelfManagedActiveDirectoryAttributes& AddDnsIps(const char* value) { m_dnsIpsHasBeenSet = true; m_dnsIps.push_back(value); return *this; } private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::String m_organizationalUnitDistinguishedName; bool m_organizationalUnitDistinguishedNameHasBeenSet = false; Aws::String m_fileSystemAdministratorsGroup; bool m_fileSystemAdministratorsGroupHasBeenSet = false; Aws::String m_userName; bool m_userNameHasBeenSet = false; Aws::Vector