/*
* 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 opensearch-2021-01-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.OpenSearchService.Model
{
///
/// Describes the SAML application configured for the domain.
///
public partial class SAMLOptionsOutput
{
private bool? _enabled;
private SAMLIdp _idp;
private string _rolesKey;
private int? _sessionTimeoutMinutes;
private string _subjectKey;
///
/// Gets and sets the property Enabled.
///
/// True if SAML is enabled.
///
///
public bool Enabled
{
get { return this._enabled.GetValueOrDefault(); }
set { this._enabled = value; }
}
// Check to see if Enabled property is set
internal bool IsSetEnabled()
{
return this._enabled.HasValue;
}
///
/// Gets and sets the property Idp.
///
/// Describes the SAML identity provider's information.
///
///
public SAMLIdp Idp
{
get { return this._idp; }
set { this._idp = value; }
}
// Check to see if Idp property is set
internal bool IsSetIdp()
{
return this._idp != null;
}
///
/// Gets and sets the property RolesKey.
///
/// The key used for matching the SAML roles attribute.
///
///
public string RolesKey
{
get { return this._rolesKey; }
set { this._rolesKey = value; }
}
// Check to see if RolesKey property is set
internal bool IsSetRolesKey()
{
return this._rolesKey != null;
}
///
/// Gets and sets the property SessionTimeoutMinutes.
///
/// The duration, in minutes, after which a user session becomes inactive.
///
///
public int SessionTimeoutMinutes
{
get { return this._sessionTimeoutMinutes.GetValueOrDefault(); }
set { this._sessionTimeoutMinutes = value; }
}
// Check to see if SessionTimeoutMinutes property is set
internal bool IsSetSessionTimeoutMinutes()
{
return this._sessionTimeoutMinutes.HasValue;
}
///
/// Gets and sets the property SubjectKey.
///
/// The key used for matching the SAML subject attribute.
///
///
public string SubjectKey
{
get { return this._subjectKey; }
set { this._subjectKey = value; }
}
// Check to see if SubjectKey property is set
internal bool IsSetSubjectKey()
{
return this._subjectKey != null;
}
}
}