/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include JoinDomainInputSee Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the gateway. Use the
* ListGateways
operation to return a list of gateways for your
* account and Amazon Web Services Region.
The Amazon Resource Name (ARN) of the gateway. Use the
* ListGateways
operation to return a list of gateways for your
* account and Amazon Web Services Region.
The Amazon Resource Name (ARN) of the gateway. Use the
* ListGateways
operation to return a list of gateways for your
* account and Amazon Web Services Region.
The Amazon Resource Name (ARN) of the gateway. Use the
* ListGateways
operation to return a list of gateways for your
* account and Amazon Web Services Region.
The Amazon Resource Name (ARN) of the gateway. Use the
* ListGateways
operation to return a list of gateways for your
* account and Amazon Web Services Region.
The Amazon Resource Name (ARN) of the gateway. Use the
* ListGateways
operation to return a list of gateways for your
* account and Amazon Web Services Region.
The Amazon Resource Name (ARN) of the gateway. Use the
* ListGateways
operation to return a list of gateways for your
* account and Amazon Web Services Region.
The Amazon Resource Name (ARN) of the gateway. Use the
* ListGateways
operation to return a list of gateways for your
* account and Amazon Web Services Region.
The name of the domain that you want the gateway to join.
*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *The name of the domain that you want the gateway to join.
*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *The name of the domain that you want the gateway to join.
*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *The name of the domain that you want the gateway to join.
*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *The name of the domain that you want the gateway to join.
*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *The name of the domain that you want the gateway to join.
*/ inline JoinDomainRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *The name of the domain that you want the gateway to join.
*/ inline JoinDomainRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *The name of the domain that you want the gateway to join.
*/ inline JoinDomainRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *The organizational unit (OU) is a container in an Active Directory that can * hold users, groups, computers, and other OUs and this parameter specifies the OU * that the gateway will join within the AD domain.
*/ inline const Aws::String& GetOrganizationalUnit() const{ return m_organizationalUnit; } /** *The organizational unit (OU) is a container in an Active Directory that can * hold users, groups, computers, and other OUs and this parameter specifies the OU * that the gateway will join within the AD domain.
*/ inline bool OrganizationalUnitHasBeenSet() const { return m_organizationalUnitHasBeenSet; } /** *The organizational unit (OU) is a container in an Active Directory that can * hold users, groups, computers, and other OUs and this parameter specifies the OU * that the gateway will join within the AD domain.
*/ inline void SetOrganizationalUnit(const Aws::String& value) { m_organizationalUnitHasBeenSet = true; m_organizationalUnit = value; } /** *The organizational unit (OU) is a container in an Active Directory that can * hold users, groups, computers, and other OUs and this parameter specifies the OU * that the gateway will join within the AD domain.
*/ inline void SetOrganizationalUnit(Aws::String&& value) { m_organizationalUnitHasBeenSet = true; m_organizationalUnit = std::move(value); } /** *The organizational unit (OU) is a container in an Active Directory that can * hold users, groups, computers, and other OUs and this parameter specifies the OU * that the gateway will join within the AD domain.
*/ inline void SetOrganizationalUnit(const char* value) { m_organizationalUnitHasBeenSet = true; m_organizationalUnit.assign(value); } /** *The organizational unit (OU) is a container in an Active Directory that can * hold users, groups, computers, and other OUs and this parameter specifies the OU * that the gateway will join within the AD domain.
*/ inline JoinDomainRequest& WithOrganizationalUnit(const Aws::String& value) { SetOrganizationalUnit(value); return *this;} /** *The organizational unit (OU) is a container in an Active Directory that can * hold users, groups, computers, and other OUs and this parameter specifies the OU * that the gateway will join within the AD domain.
*/ inline JoinDomainRequest& WithOrganizationalUnit(Aws::String&& value) { SetOrganizationalUnit(std::move(value)); return *this;} /** *The organizational unit (OU) is a container in an Active Directory that can * hold users, groups, computers, and other OUs and this parameter specifies the OU * that the gateway will join within the AD domain.
*/ inline JoinDomainRequest& WithOrganizationalUnit(const char* value) { SetOrganizationalUnit(value); return *this;} /** *List of IPv4 addresses, NetBIOS names, or host names of your domain server.
* If you need to specify the port number include it after the colon (“:”). For
* example, mydc.mydomain.com:389
.
List of IPv4 addresses, NetBIOS names, or host names of your domain server.
* If you need to specify the port number include it after the colon (“:”). For
* example, mydc.mydomain.com:389
.
List of IPv4 addresses, NetBIOS names, or host names of your domain server.
* If you need to specify the port number include it after the colon (“:”). For
* example, mydc.mydomain.com:389
.
List of IPv4 addresses, NetBIOS names, or host names of your domain server.
* If you need to specify the port number include it after the colon (“:”). For
* example, mydc.mydomain.com:389
.
List of IPv4 addresses, NetBIOS names, or host names of your domain server.
* If you need to specify the port number include it after the colon (“:”). For
* example, mydc.mydomain.com:389
.
List of IPv4 addresses, NetBIOS names, or host names of your domain server.
* If you need to specify the port number include it after the colon (“:”). For
* example, mydc.mydomain.com:389
.
List of IPv4 addresses, NetBIOS names, or host names of your domain server.
* If you need to specify the port number include it after the colon (“:”). For
* example, mydc.mydomain.com:389
.
List of IPv4 addresses, NetBIOS names, or host names of your domain server.
* If you need to specify the port number include it after the colon (“:”). For
* example, mydc.mydomain.com:389
.
List of IPv4 addresses, NetBIOS names, or host names of your domain server.
* If you need to specify the port number include it after the colon (“:”). For
* example, mydc.mydomain.com:389
.
Specifies the time in seconds, in which the JoinDomain
operation
* must complete. The default is 20 seconds.
Specifies the time in seconds, in which the JoinDomain
operation
* must complete. The default is 20 seconds.
Specifies the time in seconds, in which the JoinDomain
operation
* must complete. The default is 20 seconds.
Specifies the time in seconds, in which the JoinDomain
operation
* must complete. The default is 20 seconds.
Sets the user name of user who has permission to add the gateway to the * Active Directory domain. The domain user account should be enabled to join * computers to the domain. For example, you can use the domain administrator * account or an account with delegated permissions to join computers to the * domain.
*/ inline const Aws::String& GetUserName() const{ return m_userName; } /** *Sets the user name of user who has permission to add the gateway to the * Active Directory domain. The domain user account should be enabled to join * computers to the domain. For example, you can use the domain administrator * account or an account with delegated permissions to join computers to the * domain.
*/ inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; } /** *Sets the user name of user who has permission to add the gateway to the * Active Directory domain. The domain user account should be enabled to join * computers to the domain. For example, you can use the domain administrator * account or an account with delegated permissions to join computers to the * domain.
*/ inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; } /** *Sets the user name of user who has permission to add the gateway to the * Active Directory domain. The domain user account should be enabled to join * computers to the domain. For example, you can use the domain administrator * account or an account with delegated permissions to join computers to the * domain.
*/ inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); } /** *Sets the user name of user who has permission to add the gateway to the * Active Directory domain. The domain user account should be enabled to join * computers to the domain. For example, you can use the domain administrator * account or an account with delegated permissions to join computers to the * domain.
*/ inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); } /** *Sets the user name of user who has permission to add the gateway to the * Active Directory domain. The domain user account should be enabled to join * computers to the domain. For example, you can use the domain administrator * account or an account with delegated permissions to join computers to the * domain.
*/ inline JoinDomainRequest& WithUserName(const Aws::String& value) { SetUserName(value); return *this;} /** *Sets the user name of user who has permission to add the gateway to the * Active Directory domain. The domain user account should be enabled to join * computers to the domain. For example, you can use the domain administrator * account or an account with delegated permissions to join computers to the * domain.
*/ inline JoinDomainRequest& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;} /** *Sets the user name of user who has permission to add the gateway to the * Active Directory domain. The domain user account should be enabled to join * computers to the domain. For example, you can use the domain administrator * account or an account with delegated permissions to join computers to the * domain.
*/ inline JoinDomainRequest& WithUserName(const char* value) { SetUserName(value); return *this;} /** *Sets the password of the user who has permission to add the gateway to the * Active Directory domain.
*/ inline const Aws::String& GetPassword() const{ return m_password; } /** *Sets the password of the user who has permission to add the gateway to the * Active Directory domain.
*/ inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; } /** *Sets the password of the user who has permission to add the gateway to the * Active Directory domain.
*/ inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; } /** *Sets the password of the user who has permission to add the gateway to the * Active Directory domain.
*/ inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); } /** *Sets the password of the user who has permission to add the gateway to the * Active Directory domain.
*/ inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); } /** *Sets the password of the user who has permission to add the gateway to the * Active Directory domain.
*/ inline JoinDomainRequest& WithPassword(const Aws::String& value) { SetPassword(value); return *this;} /** *Sets the password of the user who has permission to add the gateway to the * Active Directory domain.
*/ inline JoinDomainRequest& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;} /** *Sets the password of the user who has permission to add the gateway to the * Active Directory domain.
*/ inline JoinDomainRequest& WithPassword(const char* value) { SetPassword(value); return *this;} private: Aws::String m_gatewayARN; bool m_gatewayARNHasBeenSet = false; Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::String m_organizationalUnit; bool m_organizationalUnitHasBeenSet = false; Aws::Vector