/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace FSx { namespace Model { /** *

Specifies changes you are making to the self-managed Microsoft Active * Directory (AD) configuration to which an FSx for Windows File Server file system * or an FSx for ONTAP SVM is joined.

See Also:

AWS * API Reference

*/ class SelfManagedActiveDirectoryConfigurationUpdates { public: AWS_FSX_API SelfManagedActiveDirectoryConfigurationUpdates(); AWS_FSX_API SelfManagedActiveDirectoryConfigurationUpdates(Aws::Utils::Json::JsonView jsonValue); AWS_FSX_API SelfManagedActiveDirectoryConfigurationUpdates& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Specifies the updated user name for the service account on your self-managed * AD domain. Amazon FSx uses this account to join to your self-managed AD * domain.

This account must have the permissions required to join computers * to the domain in the organizational unit provided in * OrganizationalUnitDistinguishedName.

*/ inline const Aws::String& GetUserName() const{ return m_userName; } /** *

Specifies the updated user name for the service account on your self-managed * AD domain. Amazon FSx uses this account to join to your self-managed AD * domain.

This account must have the permissions required to join computers * to the domain in the organizational unit provided in * OrganizationalUnitDistinguishedName.

*/ inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; } /** *

Specifies the updated user name for the service account on your self-managed * AD domain. Amazon FSx uses this account to join to your self-managed AD * domain.

This account must have the permissions required to join computers * to the domain in the organizational unit provided in * OrganizationalUnitDistinguishedName.

*/ inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; } /** *

Specifies the updated user name for the service account on your self-managed * AD domain. Amazon FSx uses this account to join to your self-managed AD * domain.

This account must have the permissions required to join computers * to the domain in the organizational unit provided in * OrganizationalUnitDistinguishedName.

*/ inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); } /** *

Specifies the updated user name for the service account on your self-managed * AD domain. Amazon FSx uses this account to join to your self-managed AD * domain.

This account must have the permissions required to join computers * to the domain in the organizational unit provided in * OrganizationalUnitDistinguishedName.

*/ inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); } /** *

Specifies the updated user name for the service account on your self-managed * AD domain. Amazon FSx uses this account to join to your self-managed AD * domain.

This account must have the permissions required to join computers * to the domain in the organizational unit provided in * OrganizationalUnitDistinguishedName.

*/ inline SelfManagedActiveDirectoryConfigurationUpdates& WithUserName(const Aws::String& value) { SetUserName(value); return *this;} /** *

Specifies the updated user name for the service account on your self-managed * AD domain. Amazon FSx uses this account to join to your self-managed AD * domain.

This account must have the permissions required to join computers * to the domain in the organizational unit provided in * OrganizationalUnitDistinguishedName.

*/ inline SelfManagedActiveDirectoryConfigurationUpdates& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;} /** *

Specifies the updated user name for the service account on your self-managed * AD domain. Amazon FSx uses this account to join to your self-managed AD * domain.

This account must have the permissions required to join computers * to the domain in the organizational unit provided in * OrganizationalUnitDistinguishedName.

*/ inline SelfManagedActiveDirectoryConfigurationUpdates& WithUserName(const char* value) { SetUserName(value); return *this;} /** *

Specifies the updated password for the service account on your self-managed * AD domain. Amazon FSx uses this account to join to your self-managed AD * domain.

*/ inline const Aws::String& GetPassword() const{ return m_password; } /** *

Specifies the updated password for the service account on your self-managed * AD domain. Amazon FSx uses this account to join to your self-managed AD * domain.

*/ inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; } /** *

Specifies the updated password for the service account on your self-managed * AD domain. Amazon FSx uses this account to join to your self-managed AD * domain.

*/ inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; } /** *

Specifies the updated password for the service account on your self-managed * AD domain. Amazon FSx uses this account to join to your self-managed AD * domain.

*/ inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); } /** *

Specifies the updated password for the service account on your self-managed * AD domain. Amazon FSx uses this account to join to your self-managed AD * domain.

*/ inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); } /** *

Specifies the updated password for the service account on your self-managed * AD domain. Amazon FSx uses this account to join to your self-managed AD * domain.

*/ inline SelfManagedActiveDirectoryConfigurationUpdates& WithPassword(const Aws::String& value) { SetPassword(value); return *this;} /** *

Specifies the updated password for the service account on your self-managed * AD domain. Amazon FSx uses this account to join to your self-managed AD * domain.

*/ inline SelfManagedActiveDirectoryConfigurationUpdates& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;} /** *

Specifies the updated password for the service account on your self-managed * AD domain. Amazon FSx uses this account to join to your self-managed AD * domain.

*/ inline SelfManagedActiveDirectoryConfigurationUpdates& WithPassword(const char* value) { SetPassword(value); return *this;} /** *

A list of up to three DNS server or domain controller IP addresses in your * self-managed AD domain.

*/ inline const Aws::Vector& GetDnsIps() const{ return m_dnsIps; } /** *

A list of up to three DNS server or domain controller IP addresses in your * self-managed AD domain.

*/ inline bool DnsIpsHasBeenSet() const { return m_dnsIpsHasBeenSet; } /** *

A list of up to three DNS server or domain controller IP addresses in your * self-managed AD domain.

*/ inline void SetDnsIps(const Aws::Vector& value) { m_dnsIpsHasBeenSet = true; m_dnsIps = value; } /** *

A list of up to three DNS server or domain controller IP addresses in your * self-managed AD domain.

*/ inline void SetDnsIps(Aws::Vector&& value) { m_dnsIpsHasBeenSet = true; m_dnsIps = std::move(value); } /** *

A list of up to three DNS server or domain controller IP addresses in your * self-managed AD domain.

*/ inline SelfManagedActiveDirectoryConfigurationUpdates& WithDnsIps(const Aws::Vector& value) { SetDnsIps(value); return *this;} /** *

A list of up to three DNS server or domain controller IP addresses in your * self-managed AD domain.

*/ inline SelfManagedActiveDirectoryConfigurationUpdates& WithDnsIps(Aws::Vector&& value) { SetDnsIps(std::move(value)); return *this;} /** *

A list of up to three DNS server or domain controller IP addresses in your * self-managed AD domain.

*/ inline SelfManagedActiveDirectoryConfigurationUpdates& AddDnsIps(const Aws::String& value) { m_dnsIpsHasBeenSet = true; m_dnsIps.push_back(value); return *this; } /** *

A list of up to three DNS server or domain controller IP addresses in your * self-managed AD domain.

*/ inline SelfManagedActiveDirectoryConfigurationUpdates& AddDnsIps(Aws::String&& value) { m_dnsIpsHasBeenSet = true; m_dnsIps.push_back(std::move(value)); return *this; } /** *

A list of up to three DNS server or domain controller IP addresses in your * self-managed AD domain.

*/ inline SelfManagedActiveDirectoryConfigurationUpdates& AddDnsIps(const char* value) { m_dnsIpsHasBeenSet = true; m_dnsIps.push_back(value); return *this; } /** *

Specifies an updated fully qualified domain name of your self-managed AD * configuration.

*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *

Specifies an updated fully qualified domain name of your self-managed AD * configuration.

*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *

Specifies an updated fully qualified domain name of your self-managed AD * configuration.

*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *

Specifies an updated fully qualified domain name of your self-managed AD * configuration.

*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *

Specifies an updated fully qualified domain name of your self-managed AD * configuration.

*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *

Specifies an updated fully qualified domain name of your self-managed AD * configuration.

*/ inline SelfManagedActiveDirectoryConfigurationUpdates& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

Specifies an updated fully qualified domain name of your self-managed AD * configuration.

*/ inline SelfManagedActiveDirectoryConfigurationUpdates& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *

Specifies an updated fully qualified domain name of your self-managed AD * configuration.

*/ inline SelfManagedActiveDirectoryConfigurationUpdates& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *

Specifies an updated fully qualified distinguished name of the organization * unit within your self-managed AD.

*/ inline const Aws::String& GetOrganizationalUnitDistinguishedName() const{ return m_organizationalUnitDistinguishedName; } /** *

Specifies an updated fully qualified distinguished name of the organization * unit within your self-managed AD.

*/ inline bool OrganizationalUnitDistinguishedNameHasBeenSet() const { return m_organizationalUnitDistinguishedNameHasBeenSet; } /** *

Specifies an updated fully qualified distinguished name of the organization * unit within your self-managed AD.

*/ inline void SetOrganizationalUnitDistinguishedName(const Aws::String& value) { m_organizationalUnitDistinguishedNameHasBeenSet = true; m_organizationalUnitDistinguishedName = value; } /** *

Specifies an updated fully qualified distinguished name of the organization * unit within your self-managed AD.

*/ inline void SetOrganizationalUnitDistinguishedName(Aws::String&& value) { m_organizationalUnitDistinguishedNameHasBeenSet = true; m_organizationalUnitDistinguishedName = std::move(value); } /** *

Specifies an updated fully qualified distinguished name of the organization * unit within your self-managed AD.

*/ inline void SetOrganizationalUnitDistinguishedName(const char* value) { m_organizationalUnitDistinguishedNameHasBeenSet = true; m_organizationalUnitDistinguishedName.assign(value); } /** *

Specifies an updated fully qualified distinguished name of the organization * unit within your self-managed AD.

*/ inline SelfManagedActiveDirectoryConfigurationUpdates& WithOrganizationalUnitDistinguishedName(const Aws::String& value) { SetOrganizationalUnitDistinguishedName(value); return *this;} /** *

Specifies an updated fully qualified distinguished name of the organization * unit within your self-managed AD.

*/ inline SelfManagedActiveDirectoryConfigurationUpdates& WithOrganizationalUnitDistinguishedName(Aws::String&& value) { SetOrganizationalUnitDistinguishedName(std::move(value)); return *this;} /** *

Specifies an updated fully qualified distinguished name of the organization * unit within your self-managed AD.

*/ inline SelfManagedActiveDirectoryConfigurationUpdates& WithOrganizationalUnitDistinguishedName(const char* value) { SetOrganizationalUnitDistinguishedName(value); return *this;} /** *

Specifies the updated name of the self-managed AD domain group whose members * are granted administrative privileges for the Amazon FSx resource.

*/ inline const Aws::String& GetFileSystemAdministratorsGroup() const{ return m_fileSystemAdministratorsGroup; } /** *

Specifies the updated name of the self-managed AD domain group whose members * are granted administrative privileges for the Amazon FSx resource.

*/ inline bool FileSystemAdministratorsGroupHasBeenSet() const { return m_fileSystemAdministratorsGroupHasBeenSet; } /** *

Specifies the updated name of the self-managed AD domain group whose members * are granted administrative privileges for the Amazon FSx resource.

*/ inline void SetFileSystemAdministratorsGroup(const Aws::String& value) { m_fileSystemAdministratorsGroupHasBeenSet = true; m_fileSystemAdministratorsGroup = value; } /** *

Specifies the updated name of the self-managed AD domain group whose members * are granted administrative privileges for the Amazon FSx resource.

*/ inline void SetFileSystemAdministratorsGroup(Aws::String&& value) { m_fileSystemAdministratorsGroupHasBeenSet = true; m_fileSystemAdministratorsGroup = std::move(value); } /** *

Specifies the updated name of the self-managed AD domain group whose members * are granted administrative privileges for the Amazon FSx resource.

*/ inline void SetFileSystemAdministratorsGroup(const char* value) { m_fileSystemAdministratorsGroupHasBeenSet = true; m_fileSystemAdministratorsGroup.assign(value); } /** *

Specifies the updated name of the self-managed AD domain group whose members * are granted administrative privileges for the Amazon FSx resource.

*/ inline SelfManagedActiveDirectoryConfigurationUpdates& WithFileSystemAdministratorsGroup(const Aws::String& value) { SetFileSystemAdministratorsGroup(value); return *this;} /** *

Specifies the updated name of the self-managed AD domain group whose members * are granted administrative privileges for the Amazon FSx resource.

*/ inline SelfManagedActiveDirectoryConfigurationUpdates& WithFileSystemAdministratorsGroup(Aws::String&& value) { SetFileSystemAdministratorsGroup(std::move(value)); return *this;} /** *

Specifies the updated name of the self-managed AD domain group whose members * are granted administrative privileges for the Amazon FSx resource.

*/ inline SelfManagedActiveDirectoryConfigurationUpdates& WithFileSystemAdministratorsGroup(const char* value) { SetFileSystemAdministratorsGroup(value); return *this;} private: Aws::String m_userName; bool m_userNameHasBeenSet = false; Aws::String m_password; bool m_passwordHasBeenSet = false; Aws::Vector m_dnsIps; bool m_dnsIpsHasBeenSet = false; Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::String m_organizationalUnitDistinguishedName; bool m_organizationalUnitDistinguishedNameHasBeenSet = false; Aws::String m_fileSystemAdministratorsGroup; bool m_fileSystemAdministratorsGroupHasBeenSet = false; }; } // namespace Model } // namespace FSx } // namespace Aws