/* * 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 appsync-2017-07-25.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.AppSync.Model { /// /// Describes an Amazon Cognito user pool configuration. /// public partial class UserPoolConfig { private string _appIdClientRegex; private string _awsRegion; private DefaultAction _defaultAction; private string _userPoolId; /// /// Gets and sets the property AppIdClientRegex. /// /// A regular expression for validating the incoming Amazon Cognito user pool 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. /// /// [AWSProperty(Required=true)] 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 pool authentication doesn't match the Amazon Cognito user pool configuration. /// /// [AWSProperty(Required=true)] public DefaultAction 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. /// /// [AWSProperty(Required=true)] 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; } } }