/*
* 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 workspaces-2015-04-08.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.WorkSpaces.Model
{
///
/// Container for the parameters to the ModifySamlProperties operation.
/// Modifies multiple properties related to SAML 2.0 authentication, including the enablement
/// status, user access URL, and relay state parameter name that are used for configuring
/// federation with an SAML 2.0 identity provider.
///
public partial class ModifySamlPropertiesRequest : AmazonWorkSpacesRequest
{
private List _propertiesToDelete = new List();
private string _resourceId;
private SamlProperties _samlProperties;
///
/// Gets and sets the property PropertiesToDelete.
///
/// The SAML properties to delete as part of your request.
///
///
///
/// Specify one of the following options:
///
/// -
///
///
SAML_PROPERTIES_USER_ACCESS_URL
to delete the user access URL.
///
/// -
///
///
SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME
to delete the relay state
/// parameter name.
///
///
///
public List PropertiesToDelete
{
get { return this._propertiesToDelete; }
set { this._propertiesToDelete = value; }
}
// Check to see if PropertiesToDelete property is set
internal bool IsSetPropertiesToDelete()
{
return this._propertiesToDelete != null && this._propertiesToDelete.Count > 0;
}
///
/// Gets and sets the property ResourceId.
///
/// The directory identifier for which you want to configure SAML properties.
///
///
[AWSProperty(Required=true, Min=10, Max=65)]
public string ResourceId
{
get { return this._resourceId; }
set { this._resourceId = value; }
}
// Check to see if ResourceId property is set
internal bool IsSetResourceId()
{
return this._resourceId != null;
}
///
/// Gets and sets the property SamlProperties.
///
/// The properties for configuring SAML 2.0 authentication.
///
///
public SamlProperties SamlProperties
{
get { return this._samlProperties; }
set { this._samlProperties = value; }
}
// Check to see if SamlProperties property is set
internal bool IsSetSamlProperties()
{
return this._samlProperties != null;
}
}
}