/*
 * 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 securityhub-2018-10-26.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.SecurityHub.Model
{
    /// 
    /// Specifies the authorization configuration for using Amazon Cognito user pools with
    /// your AppSync GraphQL API endpoint.
    /// 
    public partial class AwsAppSyncGraphQlApiUserPoolConfigDetails
    {
        private string _appIdClientRegex;
        private string _awsRegion;
        private string _defaultAction;
        private string _userPoolId;
        /// 
        /// Gets and sets the property AppIdClientRegex. 
        /// 
        ///  A regular expression for validating the incoming Amazon Cognito user pools app client
        /// ID. If this value isn't set, no filtering is applied. 
        /// 
        /// 
        public string AppIdClientRegex
        {
            get { return this._appIdClientRegex; }
            set { this._appIdClientRegex = value; }
        }
        // Check to see if AppIdClientRegex property is set
        internal bool IsSetAppIdClientRegex()
        {
            return this._appIdClientRegex != null;
        }
        /// 
        /// Gets and sets the property AwsRegion. 
        /// 
        ///  The Amazon Web Services Region in which the user pool was created. 
        /// 
        /// 
        public string AwsRegion
        {
            get { return this._awsRegion; }
            set { this._awsRegion = value; }
        }
        // Check to see if AwsRegion property is set
        internal bool IsSetAwsRegion()
        {
            return this._awsRegion != null;
        }
        /// 
        /// Gets and sets the property DefaultAction. 
        /// 
        ///  The action that you want your GraphQL API to take when a request that uses Amazon
        /// Cognito user pools authentication doesn't match the Amazon Cognito user pools configuration.
        /// 
        /// 
        /// 
        public string DefaultAction
        {
            get { return this._defaultAction; }
            set { this._defaultAction = value; }
        }
        // Check to see if DefaultAction property is set
        internal bool IsSetDefaultAction()
        {
            return this._defaultAction != null;
        }
        /// 
        /// Gets and sets the property UserPoolId. 
        /// 
        ///  The user pool ID. 
        /// 
        /// 
        public string UserPoolId
        {
            get { return this._userPoolId; }
            set { this._userPoolId = value; }
        }
        // Check to see if UserPoolId property is set
        internal bool IsSetUserPoolId()
        {
            return this._userPoolId != null;
        }
    }
}