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

The configuration for a Directory Service for Microsoft Active Directory * studio resource.

See Also:

AWS * API Reference

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

A collection of custom attributes for an Active Directory computer.

*/ inline const Aws::Vector& GetComputerAttributes() const{ return m_computerAttributes; } /** *

A collection of custom attributes for an Active Directory computer.

*/ inline bool ComputerAttributesHasBeenSet() const { return m_computerAttributesHasBeenSet; } /** *

A collection of custom attributes for an Active Directory computer.

*/ inline void SetComputerAttributes(const Aws::Vector& value) { m_computerAttributesHasBeenSet = true; m_computerAttributes = value; } /** *

A collection of custom attributes for an Active Directory computer.

*/ inline void SetComputerAttributes(Aws::Vector&& value) { m_computerAttributesHasBeenSet = true; m_computerAttributes = std::move(value); } /** *

A collection of custom attributes for an Active Directory computer.

*/ inline ActiveDirectoryConfiguration& WithComputerAttributes(const Aws::Vector& value) { SetComputerAttributes(value); return *this;} /** *

A collection of custom attributes for an Active Directory computer.

*/ inline ActiveDirectoryConfiguration& WithComputerAttributes(Aws::Vector&& value) { SetComputerAttributes(std::move(value)); return *this;} /** *

A collection of custom attributes for an Active Directory computer.

*/ inline ActiveDirectoryConfiguration& AddComputerAttributes(const ActiveDirectoryComputerAttribute& value) { m_computerAttributesHasBeenSet = true; m_computerAttributes.push_back(value); return *this; } /** *

A collection of custom attributes for an Active Directory computer.

*/ inline ActiveDirectoryConfiguration& AddComputerAttributes(ActiveDirectoryComputerAttribute&& value) { m_computerAttributesHasBeenSet = true; m_computerAttributes.push_back(std::move(value)); return *this; } /** *

The directory ID of the Directory Service for Microsoft Active Directory to * access using this studio component.

*/ inline const Aws::String& GetDirectoryId() const{ return m_directoryId; } /** *

The directory ID of the Directory Service for Microsoft Active Directory to * access using this studio component.

*/ inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; } /** *

The directory ID of the Directory Service for Microsoft Active Directory to * access using this studio component.

*/ inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; } /** *

The directory ID of the Directory Service for Microsoft Active Directory to * access using this studio component.

*/ inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); } /** *

The directory ID of the Directory Service for Microsoft Active Directory to * access using this studio component.

*/ inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); } /** *

The directory ID of the Directory Service for Microsoft Active Directory to * access using this studio component.

*/ inline ActiveDirectoryConfiguration& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;} /** *

The directory ID of the Directory Service for Microsoft Active Directory to * access using this studio component.

*/ inline ActiveDirectoryConfiguration& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;} /** *

The directory ID of the Directory Service for Microsoft Active Directory to * access using this studio component.

*/ inline ActiveDirectoryConfiguration& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;} /** *

The distinguished name (DN) and organizational unit (OU) of an Active * Directory computer.

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

The distinguished name (DN) and organizational unit (OU) of an Active * Directory computer.

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

The distinguished name (DN) and organizational unit (OU) of an Active * Directory computer.

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

The distinguished name (DN) and organizational unit (OU) of an Active * Directory computer.

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

The distinguished name (DN) and organizational unit (OU) of an Active * Directory computer.

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

The distinguished name (DN) and organizational unit (OU) of an Active * Directory computer.

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

The distinguished name (DN) and organizational unit (OU) of an Active * Directory computer.

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

The distinguished name (DN) and organizational unit (OU) of an Active * Directory computer.

*/ inline ActiveDirectoryConfiguration& WithOrganizationalUnitDistinguishedName(const char* value) { SetOrganizationalUnitDistinguishedName(value); return *this;} private: Aws::Vector m_computerAttributes; bool m_computerAttributesHasBeenSet = false; Aws::String m_directoryId; bool m_directoryIdHasBeenSet = false; Aws::String m_organizationalUnitDistinguishedName; bool m_organizationalUnitDistinguishedNameHasBeenSet = false; }; } // namespace Model } // namespace NimbleStudio } // namespace Aws