/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appstream-2016-12-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppStream.Model
{
///
/// Container for the parameters to the UpdateDirectoryConfig operation.
/// Updates the specified Directory Config object in AppStream 2.0. This object includes
/// the configuration information required to join fleets and image builders to Microsoft
/// Active Directory domains.
///
public partial class UpdateDirectoryConfigRequest : AmazonAppStreamRequest
{
private CertificateBasedAuthProperties _certificateBasedAuthProperties;
private string _directoryName;
private List _organizationalUnitDistinguishedNames = new List();
private ServiceAccountCredentials _serviceAccountCredentials;
///
/// Gets and sets the property CertificateBasedAuthProperties.
///
/// The certificate-based authentication properties used to authenticate SAML 2.0 Identity
/// Provider (IdP) user identities to Active Directory domain-joined streaming instances.
/// Fallback is turned on by default when certificate-based authentication is Enabled
/// . Fallback allows users to log in using their AD domain password if certificate-based
/// authentication is unsuccessful, or to unlock a desktop lock screen. Enabled_no_directory_login_fallback
/// enables certificate-based authentication, but does not allow users to log in using
/// their AD domain password. Users will be disconnected to re-authenticate using certificates.
///
///
public CertificateBasedAuthProperties CertificateBasedAuthProperties
{
get { return this._certificateBasedAuthProperties; }
set { this._certificateBasedAuthProperties = value; }
}
// Check to see if CertificateBasedAuthProperties property is set
internal bool IsSetCertificateBasedAuthProperties()
{
return this._certificateBasedAuthProperties != null;
}
///
/// Gets and sets the property DirectoryName.
///
/// The name of the Directory Config object.
///
///
[AWSProperty(Required=true)]
public string DirectoryName
{
get { return this._directoryName; }
set { this._directoryName = value; }
}
// Check to see if DirectoryName property is set
internal bool IsSetDirectoryName()
{
return this._directoryName != null;
}
///
/// Gets and sets the property OrganizationalUnitDistinguishedNames.
///
/// The distinguished names of the organizational units for computer accounts.
///
///
public List OrganizationalUnitDistinguishedNames
{
get { return this._organizationalUnitDistinguishedNames; }
set { this._organizationalUnitDistinguishedNames = value; }
}
// Check to see if OrganizationalUnitDistinguishedNames property is set
internal bool IsSetOrganizationalUnitDistinguishedNames()
{
return this._organizationalUnitDistinguishedNames != null && this._organizationalUnitDistinguishedNames.Count > 0;
}
///
/// Gets and sets the property ServiceAccountCredentials.
///
/// The credentials for the service account used by the fleet or image builder to connect
/// to the directory.
///
///
public ServiceAccountCredentials ServiceAccountCredentials
{
get { return this._serviceAccountCredentials; }
set { this._serviceAccountCredentials = value; }
}
// Check to see if ServiceAccountCredentials property is set
internal bool IsSetServiceAccountCredentials()
{
return this._serviceAccountCredentials != null;
}
}
}