/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the configuration information required to join fleets and image
* builders to Microsoft Active Directory domains.See Also:
AWS
* API Reference
The fully qualified name of the directory (for example, * corp.example.com).
*/ inline const Aws::String& GetDirectoryName() const{ return m_directoryName; } /** *The fully qualified name of the directory (for example, * corp.example.com).
*/ inline bool DirectoryNameHasBeenSet() const { return m_directoryNameHasBeenSet; } /** *The fully qualified name of the directory (for example, * corp.example.com).
*/ inline void SetDirectoryName(const Aws::String& value) { m_directoryNameHasBeenSet = true; m_directoryName = value; } /** *The fully qualified name of the directory (for example, * corp.example.com).
*/ inline void SetDirectoryName(Aws::String&& value) { m_directoryNameHasBeenSet = true; m_directoryName = std::move(value); } /** *The fully qualified name of the directory (for example, * corp.example.com).
*/ inline void SetDirectoryName(const char* value) { m_directoryNameHasBeenSet = true; m_directoryName.assign(value); } /** *The fully qualified name of the directory (for example, * corp.example.com).
*/ inline DomainJoinInfo& WithDirectoryName(const Aws::String& value) { SetDirectoryName(value); return *this;} /** *The fully qualified name of the directory (for example, * corp.example.com).
*/ inline DomainJoinInfo& WithDirectoryName(Aws::String&& value) { SetDirectoryName(std::move(value)); return *this;} /** *The fully qualified name of the directory (for example, * corp.example.com).
*/ inline DomainJoinInfo& WithDirectoryName(const char* value) { SetDirectoryName(value); return *this;} /** *The distinguished name of the organizational unit for computer accounts.
*/ inline const Aws::String& GetOrganizationalUnitDistinguishedName() const{ return m_organizationalUnitDistinguishedName; } /** *The distinguished name of the organizational unit for computer accounts.
*/ inline bool OrganizationalUnitDistinguishedNameHasBeenSet() const { return m_organizationalUnitDistinguishedNameHasBeenSet; } /** *The distinguished name of the organizational unit for computer accounts.
*/ inline void SetOrganizationalUnitDistinguishedName(const Aws::String& value) { m_organizationalUnitDistinguishedNameHasBeenSet = true; m_organizationalUnitDistinguishedName = value; } /** *The distinguished name of the organizational unit for computer accounts.
*/ inline void SetOrganizationalUnitDistinguishedName(Aws::String&& value) { m_organizationalUnitDistinguishedNameHasBeenSet = true; m_organizationalUnitDistinguishedName = std::move(value); } /** *The distinguished name of the organizational unit for computer accounts.
*/ inline void SetOrganizationalUnitDistinguishedName(const char* value) { m_organizationalUnitDistinguishedNameHasBeenSet = true; m_organizationalUnitDistinguishedName.assign(value); } /** *The distinguished name of the organizational unit for computer accounts.
*/ inline DomainJoinInfo& WithOrganizationalUnitDistinguishedName(const Aws::String& value) { SetOrganizationalUnitDistinguishedName(value); return *this;} /** *The distinguished name of the organizational unit for computer accounts.
*/ inline DomainJoinInfo& WithOrganizationalUnitDistinguishedName(Aws::String&& value) { SetOrganizationalUnitDistinguishedName(std::move(value)); return *this;} /** *The distinguished name of the organizational unit for computer accounts.
*/ inline DomainJoinInfo& WithOrganizationalUnitDistinguishedName(const char* value) { SetOrganizationalUnitDistinguishedName(value); return *this;} private: Aws::String m_directoryName; bool m_directoryNameHasBeenSet = false; Aws::String m_organizationalUnitDistinguishedName; bool m_organizationalUnitDistinguishedNameHasBeenSet = false; }; } // namespace Model } // namespace AppStream } // namespace Aws