/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The configuration that Amazon FSx uses to join a FSx for Windows File Server
* file system or an FSx for ONTAP storage virtual machine (SVM) to a self-managed
* (including on-premises) Microsoft Active Directory (AD) directory. For more
* information, see
* Using Amazon FSx for Windows with your self-managed Microsoft Active
* Directory or Managing
* FSx for ONTAP SVMs.See Also:
AWS
* API Reference
The fully qualified domain name of the self-managed AD directory, such as
* corp.example.com
.
The fully qualified domain name of the self-managed AD directory, such as
* corp.example.com
.
The fully qualified domain name of the self-managed AD directory, such as
* corp.example.com
.
The fully qualified domain name of the self-managed AD directory, such as
* corp.example.com
.
The fully qualified domain name of the self-managed AD directory, such as
* corp.example.com
.
The fully qualified domain name of the self-managed AD directory, such as
* corp.example.com
.
The fully qualified domain name of the self-managed AD directory, such as
* corp.example.com
.
The fully qualified domain name of the self-managed AD directory, such as
* corp.example.com
.
(Optional) The fully qualified distinguished name of the organizational unit
* within your self-managed AD directory. Amazon FSx only accepts OU as the direct
* parent of the file system. An example is
* OU=FSx,DC=yourdomain,DC=corp,DC=com
. To learn more, see RFC 2253. If none is provided,
* the FSx file system is created in the default location of your self-managed AD
* directory.
Only Organizational Unit (OU) objects can be the * direct parent of the file system that you're creating.
*/ inline const Aws::String& GetOrganizationalUnitDistinguishedName() const{ return m_organizationalUnitDistinguishedName; } /** *(Optional) The fully qualified distinguished name of the organizational unit
* within your self-managed AD directory. Amazon FSx only accepts OU as the direct
* parent of the file system. An example is
* OU=FSx,DC=yourdomain,DC=corp,DC=com
. To learn more, see RFC 2253. If none is provided,
* the FSx file system is created in the default location of your self-managed AD
* directory.
Only Organizational Unit (OU) objects can be the * direct parent of the file system that you're creating.
*/ inline bool OrganizationalUnitDistinguishedNameHasBeenSet() const { return m_organizationalUnitDistinguishedNameHasBeenSet; } /** *(Optional) The fully qualified distinguished name of the organizational unit
* within your self-managed AD directory. Amazon FSx only accepts OU as the direct
* parent of the file system. An example is
* OU=FSx,DC=yourdomain,DC=corp,DC=com
. To learn more, see RFC 2253. If none is provided,
* the FSx file system is created in the default location of your self-managed AD
* directory.
Only Organizational Unit (OU) objects can be the * direct parent of the file system that you're creating.
*/ inline void SetOrganizationalUnitDistinguishedName(const Aws::String& value) { m_organizationalUnitDistinguishedNameHasBeenSet = true; m_organizationalUnitDistinguishedName = value; } /** *(Optional) The fully qualified distinguished name of the organizational unit
* within your self-managed AD directory. Amazon FSx only accepts OU as the direct
* parent of the file system. An example is
* OU=FSx,DC=yourdomain,DC=corp,DC=com
. To learn more, see RFC 2253. If none is provided,
* the FSx file system is created in the default location of your self-managed AD
* directory.
Only Organizational Unit (OU) objects can be the * direct parent of the file system that you're creating.
*/ inline void SetOrganizationalUnitDistinguishedName(Aws::String&& value) { m_organizationalUnitDistinguishedNameHasBeenSet = true; m_organizationalUnitDistinguishedName = std::move(value); } /** *(Optional) The fully qualified distinguished name of the organizational unit
* within your self-managed AD directory. Amazon FSx only accepts OU as the direct
* parent of the file system. An example is
* OU=FSx,DC=yourdomain,DC=corp,DC=com
. To learn more, see RFC 2253. If none is provided,
* the FSx file system is created in the default location of your self-managed AD
* directory.
Only Organizational Unit (OU) objects can be the * direct parent of the file system that you're creating.
*/ inline void SetOrganizationalUnitDistinguishedName(const char* value) { m_organizationalUnitDistinguishedNameHasBeenSet = true; m_organizationalUnitDistinguishedName.assign(value); } /** *(Optional) The fully qualified distinguished name of the organizational unit
* within your self-managed AD directory. Amazon FSx only accepts OU as the direct
* parent of the file system. An example is
* OU=FSx,DC=yourdomain,DC=corp,DC=com
. To learn more, see RFC 2253. If none is provided,
* the FSx file system is created in the default location of your self-managed AD
* directory.
Only Organizational Unit (OU) objects can be the * direct parent of the file system that you're creating.
*/ inline SelfManagedActiveDirectoryConfiguration& WithOrganizationalUnitDistinguishedName(const Aws::String& value) { SetOrganizationalUnitDistinguishedName(value); return *this;} /** *(Optional) The fully qualified distinguished name of the organizational unit
* within your self-managed AD directory. Amazon FSx only accepts OU as the direct
* parent of the file system. An example is
* OU=FSx,DC=yourdomain,DC=corp,DC=com
. To learn more, see RFC 2253. If none is provided,
* the FSx file system is created in the default location of your self-managed AD
* directory.
Only Organizational Unit (OU) objects can be the * direct parent of the file system that you're creating.
*/ inline SelfManagedActiveDirectoryConfiguration& WithOrganizationalUnitDistinguishedName(Aws::String&& value) { SetOrganizationalUnitDistinguishedName(std::move(value)); return *this;} /** *(Optional) The fully qualified distinguished name of the organizational unit
* within your self-managed AD directory. Amazon FSx only accepts OU as the direct
* parent of the file system. An example is
* OU=FSx,DC=yourdomain,DC=corp,DC=com
. To learn more, see RFC 2253. If none is provided,
* the FSx file system is created in the default location of your self-managed AD
* directory.
Only Organizational Unit (OU) objects can be the * direct parent of the file system that you're creating.
*/ inline SelfManagedActiveDirectoryConfiguration& WithOrganizationalUnitDistinguishedName(const char* value) { SetOrganizationalUnitDistinguishedName(value); return *this;} /** *(Optional) The name of the domain group whose members are granted * administrative privileges for the file system. Administrative privileges include * taking ownership of files and folders, setting audit controls (audit ACLs) on * files and folders, and administering the file system remotely by using the FSx * Remote PowerShell. The group that you specify must already exist in your domain. * If you don't provide one, your AD domain's Domain Admins group is used.
*/ inline const Aws::String& GetFileSystemAdministratorsGroup() const{ return m_fileSystemAdministratorsGroup; } /** *(Optional) The name of the domain group whose members are granted * administrative privileges for the file system. Administrative privileges include * taking ownership of files and folders, setting audit controls (audit ACLs) on * files and folders, and administering the file system remotely by using the FSx * Remote PowerShell. The group that you specify must already exist in your domain. * If you don't provide one, your AD domain's Domain Admins group is used.
*/ inline bool FileSystemAdministratorsGroupHasBeenSet() const { return m_fileSystemAdministratorsGroupHasBeenSet; } /** *(Optional) The name of the domain group whose members are granted * administrative privileges for the file system. Administrative privileges include * taking ownership of files and folders, setting audit controls (audit ACLs) on * files and folders, and administering the file system remotely by using the FSx * Remote PowerShell. The group that you specify must already exist in your domain. * If you don't provide one, your AD domain's Domain Admins group is used.
*/ inline void SetFileSystemAdministratorsGroup(const Aws::String& value) { m_fileSystemAdministratorsGroupHasBeenSet = true; m_fileSystemAdministratorsGroup = value; } /** *(Optional) The name of the domain group whose members are granted * administrative privileges for the file system. Administrative privileges include * taking ownership of files and folders, setting audit controls (audit ACLs) on * files and folders, and administering the file system remotely by using the FSx * Remote PowerShell. The group that you specify must already exist in your domain. * If you don't provide one, your AD domain's Domain Admins group is used.
*/ inline void SetFileSystemAdministratorsGroup(Aws::String&& value) { m_fileSystemAdministratorsGroupHasBeenSet = true; m_fileSystemAdministratorsGroup = std::move(value); } /** *(Optional) The name of the domain group whose members are granted * administrative privileges for the file system. Administrative privileges include * taking ownership of files and folders, setting audit controls (audit ACLs) on * files and folders, and administering the file system remotely by using the FSx * Remote PowerShell. The group that you specify must already exist in your domain. * If you don't provide one, your AD domain's Domain Admins group is used.
*/ inline void SetFileSystemAdministratorsGroup(const char* value) { m_fileSystemAdministratorsGroupHasBeenSet = true; m_fileSystemAdministratorsGroup.assign(value); } /** *(Optional) The name of the domain group whose members are granted * administrative privileges for the file system. Administrative privileges include * taking ownership of files and folders, setting audit controls (audit ACLs) on * files and folders, and administering the file system remotely by using the FSx * Remote PowerShell. The group that you specify must already exist in your domain. * If you don't provide one, your AD domain's Domain Admins group is used.
*/ inline SelfManagedActiveDirectoryConfiguration& WithFileSystemAdministratorsGroup(const Aws::String& value) { SetFileSystemAdministratorsGroup(value); return *this;} /** *(Optional) The name of the domain group whose members are granted * administrative privileges for the file system. Administrative privileges include * taking ownership of files and folders, setting audit controls (audit ACLs) on * files and folders, and administering the file system remotely by using the FSx * Remote PowerShell. The group that you specify must already exist in your domain. * If you don't provide one, your AD domain's Domain Admins group is used.
*/ inline SelfManagedActiveDirectoryConfiguration& WithFileSystemAdministratorsGroup(Aws::String&& value) { SetFileSystemAdministratorsGroup(std::move(value)); return *this;} /** *(Optional) The name of the domain group whose members are granted * administrative privileges for the file system. Administrative privileges include * taking ownership of files and folders, setting audit controls (audit ACLs) on * files and folders, and administering the file system remotely by using the FSx * Remote PowerShell. The group that you specify must already exist in your domain. * If you don't provide one, your AD domain's Domain Admins group is used.
*/ inline SelfManagedActiveDirectoryConfiguration& WithFileSystemAdministratorsGroup(const char* value) { SetFileSystemAdministratorsGroup(value); return *this;} /** *The user name for the service account on your self-managed AD domain that
* Amazon FSx will use to join to your AD domain. This account must have the
* permission to join computers to the domain in the organizational unit provided
* in OrganizationalUnitDistinguishedName
, or in the default location
* of your AD domain.
The user name for the service account on your self-managed AD domain that
* Amazon FSx will use to join to your AD domain. This account must have the
* permission to join computers to the domain in the organizational unit provided
* in OrganizationalUnitDistinguishedName
, or in the default location
* of your AD domain.
The user name for the service account on your self-managed AD domain that
* Amazon FSx will use to join to your AD domain. This account must have the
* permission to join computers to the domain in the organizational unit provided
* in OrganizationalUnitDistinguishedName
, or in the default location
* of your AD domain.
The user name for the service account on your self-managed AD domain that
* Amazon FSx will use to join to your AD domain. This account must have the
* permission to join computers to the domain in the organizational unit provided
* in OrganizationalUnitDistinguishedName
, or in the default location
* of your AD domain.
The user name for the service account on your self-managed AD domain that
* Amazon FSx will use to join to your AD domain. This account must have the
* permission to join computers to the domain in the organizational unit provided
* in OrganizationalUnitDistinguishedName
, or in the default location
* of your AD domain.
The user name for the service account on your self-managed AD domain that
* Amazon FSx will use to join to your AD domain. This account must have the
* permission to join computers to the domain in the organizational unit provided
* in OrganizationalUnitDistinguishedName
, or in the default location
* of your AD domain.
The user name for the service account on your self-managed AD domain that
* Amazon FSx will use to join to your AD domain. This account must have the
* permission to join computers to the domain in the organizational unit provided
* in OrganizationalUnitDistinguishedName
, or in the default location
* of your AD domain.
The user name for the service account on your self-managed AD domain that
* Amazon FSx will use to join to your AD domain. This account must have the
* permission to join computers to the domain in the organizational unit provided
* in OrganizationalUnitDistinguishedName
, or in the default location
* of your AD domain.
The password for the service account on your self-managed AD domain that * Amazon FSx will use to join to your AD domain.
*/ inline const Aws::String& GetPassword() const{ return m_password; } /** *The password for the service account on your self-managed AD domain that * Amazon FSx will use to join to your AD domain.
*/ inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; } /** *The password for the service account on your self-managed AD domain that * Amazon FSx will use to join to your AD domain.
*/ inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; } /** *The password for the service account on your self-managed AD domain that * Amazon FSx will use to join to your AD domain.
*/ inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); } /** *The password for the service account on your self-managed AD domain that * Amazon FSx will use to join to your AD domain.
*/ inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); } /** *The password for the service account on your self-managed AD domain that * Amazon FSx will use to join to your AD domain.
*/ inline SelfManagedActiveDirectoryConfiguration& WithPassword(const Aws::String& value) { SetPassword(value); return *this;} /** *The password for the service account on your self-managed AD domain that * Amazon FSx will use to join to your AD domain.
*/ inline SelfManagedActiveDirectoryConfiguration& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;} /** *The password for the service account on your self-managed AD domain that * Amazon FSx will use to join to your AD domain.
*/ inline SelfManagedActiveDirectoryConfiguration& WithPassword(const char* value) { SetPassword(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 SelfManagedActiveDirectoryConfiguration& WithDnsIps(const Aws::VectorA list of up to three IP addresses of DNS servers or domain controllers in * the self-managed AD directory.
*/ inline SelfManagedActiveDirectoryConfiguration& WithDnsIps(Aws::VectorA list of up to three IP addresses of DNS servers or domain controllers in * the self-managed AD directory.
*/ inline SelfManagedActiveDirectoryConfiguration& 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 SelfManagedActiveDirectoryConfiguration& 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 SelfManagedActiveDirectoryConfiguration& 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::String m_password; bool m_passwordHasBeenSet = false; Aws::Vector