/** * 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 launch profile initialization Active Directory contains information * required for the launch profile to connect to the Active * Directory.

See Also:

AWS * API Reference

*/ class LaunchProfileInitializationActiveDirectory { public: AWS_NIMBLESTUDIO_API LaunchProfileInitializationActiveDirectory(); AWS_NIMBLESTUDIO_API LaunchProfileInitializationActiveDirectory(Aws::Utils::Json::JsonView jsonValue); AWS_NIMBLESTUDIO_API LaunchProfileInitializationActiveDirectory& 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 LaunchProfileInitializationActiveDirectory& WithComputerAttributes(const Aws::Vector& value) { SetComputerAttributes(value); return *this;} /** *

A collection of custom attributes for an Active Directory computer.

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

A collection of custom attributes for an Active Directory computer.

*/ inline LaunchProfileInitializationActiveDirectory& 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 LaunchProfileInitializationActiveDirectory& 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 launch profile.

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

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

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

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

*/ 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 launch profile.

*/ 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 launch profile.

*/ 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 launch profile.

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

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

*/ inline LaunchProfileInitializationActiveDirectory& 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 launch profile.

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

The directory name.

*/ inline const Aws::String& GetDirectoryName() const{ return m_directoryName; } /** *

The directory name.

*/ inline bool DirectoryNameHasBeenSet() const { return m_directoryNameHasBeenSet; } /** *

The directory name.

*/ inline void SetDirectoryName(const Aws::String& value) { m_directoryNameHasBeenSet = true; m_directoryName = value; } /** *

The directory name.

*/ inline void SetDirectoryName(Aws::String&& value) { m_directoryNameHasBeenSet = true; m_directoryName = std::move(value); } /** *

The directory name.

*/ inline void SetDirectoryName(const char* value) { m_directoryNameHasBeenSet = true; m_directoryName.assign(value); } /** *

The directory name.

*/ inline LaunchProfileInitializationActiveDirectory& WithDirectoryName(const Aws::String& value) { SetDirectoryName(value); return *this;} /** *

The directory name.

*/ inline LaunchProfileInitializationActiveDirectory& WithDirectoryName(Aws::String&& value) { SetDirectoryName(std::move(value)); return *this;} /** *

The directory name.

*/ inline LaunchProfileInitializationActiveDirectory& WithDirectoryName(const char* value) { SetDirectoryName(value); return *this;} /** *

The DNS IP address.

*/ inline const Aws::Vector& GetDnsIpAddresses() const{ return m_dnsIpAddresses; } /** *

The DNS IP address.

*/ inline bool DnsIpAddressesHasBeenSet() const { return m_dnsIpAddressesHasBeenSet; } /** *

The DNS IP address.

*/ inline void SetDnsIpAddresses(const Aws::Vector& value) { m_dnsIpAddressesHasBeenSet = true; m_dnsIpAddresses = value; } /** *

The DNS IP address.

*/ inline void SetDnsIpAddresses(Aws::Vector&& value) { m_dnsIpAddressesHasBeenSet = true; m_dnsIpAddresses = std::move(value); } /** *

The DNS IP address.

*/ inline LaunchProfileInitializationActiveDirectory& WithDnsIpAddresses(const Aws::Vector& value) { SetDnsIpAddresses(value); return *this;} /** *

The DNS IP address.

*/ inline LaunchProfileInitializationActiveDirectory& WithDnsIpAddresses(Aws::Vector&& value) { SetDnsIpAddresses(std::move(value)); return *this;} /** *

The DNS IP address.

*/ inline LaunchProfileInitializationActiveDirectory& AddDnsIpAddresses(const Aws::String& value) { m_dnsIpAddressesHasBeenSet = true; m_dnsIpAddresses.push_back(value); return *this; } /** *

The DNS IP address.

*/ inline LaunchProfileInitializationActiveDirectory& AddDnsIpAddresses(Aws::String&& value) { m_dnsIpAddressesHasBeenSet = true; m_dnsIpAddresses.push_back(std::move(value)); return *this; } /** *

The DNS IP address.

*/ inline LaunchProfileInitializationActiveDirectory& AddDnsIpAddresses(const char* value) { m_dnsIpAddressesHasBeenSet = true; m_dnsIpAddresses.push_back(value); return *this; } /** *

The name for the organizational unit distinguished name.

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

The name for the organizational unit distinguished name.

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

The name for the organizational unit distinguished name.

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

The name for the organizational unit distinguished name.

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

The name for the organizational unit distinguished name.

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

The name for the organizational unit distinguished name.

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

The name for the organizational unit distinguished name.

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

The name for the organizational unit distinguished name.

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

The unique identifier for a studio component resource.

*/ inline const Aws::String& GetStudioComponentId() const{ return m_studioComponentId; } /** *

The unique identifier for a studio component resource.

*/ inline bool StudioComponentIdHasBeenSet() const { return m_studioComponentIdHasBeenSet; } /** *

The unique identifier for a studio component resource.

*/ inline void SetStudioComponentId(const Aws::String& value) { m_studioComponentIdHasBeenSet = true; m_studioComponentId = value; } /** *

The unique identifier for a studio component resource.

*/ inline void SetStudioComponentId(Aws::String&& value) { m_studioComponentIdHasBeenSet = true; m_studioComponentId = std::move(value); } /** *

The unique identifier for a studio component resource.

*/ inline void SetStudioComponentId(const char* value) { m_studioComponentIdHasBeenSet = true; m_studioComponentId.assign(value); } /** *

The unique identifier for a studio component resource.

*/ inline LaunchProfileInitializationActiveDirectory& WithStudioComponentId(const Aws::String& value) { SetStudioComponentId(value); return *this;} /** *

The unique identifier for a studio component resource.

*/ inline LaunchProfileInitializationActiveDirectory& WithStudioComponentId(Aws::String&& value) { SetStudioComponentId(std::move(value)); return *this;} /** *

The unique identifier for a studio component resource.

*/ inline LaunchProfileInitializationActiveDirectory& WithStudioComponentId(const char* value) { SetStudioComponentId(value); return *this;} /** *

The name for the studio component.

*/ inline const Aws::String& GetStudioComponentName() const{ return m_studioComponentName; } /** *

The name for the studio component.

*/ inline bool StudioComponentNameHasBeenSet() const { return m_studioComponentNameHasBeenSet; } /** *

The name for the studio component.

*/ inline void SetStudioComponentName(const Aws::String& value) { m_studioComponentNameHasBeenSet = true; m_studioComponentName = value; } /** *

The name for the studio component.

*/ inline void SetStudioComponentName(Aws::String&& value) { m_studioComponentNameHasBeenSet = true; m_studioComponentName = std::move(value); } /** *

The name for the studio component.

*/ inline void SetStudioComponentName(const char* value) { m_studioComponentNameHasBeenSet = true; m_studioComponentName.assign(value); } /** *

The name for the studio component.

*/ inline LaunchProfileInitializationActiveDirectory& WithStudioComponentName(const Aws::String& value) { SetStudioComponentName(value); return *this;} /** *

The name for the studio component.

*/ inline LaunchProfileInitializationActiveDirectory& WithStudioComponentName(Aws::String&& value) { SetStudioComponentName(std::move(value)); return *this;} /** *

The name for the studio component.

*/ inline LaunchProfileInitializationActiveDirectory& WithStudioComponentName(const char* value) { SetStudioComponentName(value); return *this;} private: Aws::Vector m_computerAttributes; bool m_computerAttributesHasBeenSet = false; Aws::String m_directoryId; bool m_directoryIdHasBeenSet = false; Aws::String m_directoryName; bool m_directoryNameHasBeenSet = false; Aws::Vector m_dnsIpAddresses; bool m_dnsIpAddressesHasBeenSet = false; Aws::String m_organizationalUnitDistinguishedName; bool m_organizationalUnitDistinguishedNameHasBeenSet = false; Aws::String m_studioComponentId; bool m_studioComponentIdHasBeenSet = false; Aws::String m_studioComponentName; bool m_studioComponentNameHasBeenSet = false; }; } // namespace Model } // namespace NimbleStudio } // namespace Aws