/*
* 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 cognito-idp-2016-04-18.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.CognitoIdentityProvider.Model
{
///
/// This is the response object from the GetUserPoolMfaConfig operation.
///
public partial class GetUserPoolMfaConfigResponse : AmazonWebServiceResponse
{
private UserPoolMfaType _mfaConfiguration;
private SmsMfaConfigType _smsMfaConfiguration;
private SoftwareTokenMfaConfigType _softwareTokenMfaConfiguration;
///
/// Gets and sets the property MfaConfiguration.
///
/// The multi-factor authentication (MFA) configuration. Valid values include:
///
/// -
///
///
OFF
MFA won't be used for any users.
///
/// -
///
///
ON
MFA is required for all users to sign in.
///
/// -
///
///
OPTIONAL
MFA will be required only for individual users who have an
/// MFA factor activated.
///
///
///
public UserPoolMfaType MfaConfiguration
{
get { return this._mfaConfiguration; }
set { this._mfaConfiguration = value; }
}
// Check to see if MfaConfiguration property is set
internal bool IsSetMfaConfiguration()
{
return this._mfaConfiguration != null;
}
///
/// Gets and sets the property SmsMfaConfiguration.
///
/// The SMS text message multi-factor authentication (MFA) configuration.
///
///
public SmsMfaConfigType SmsMfaConfiguration
{
get { return this._smsMfaConfiguration; }
set { this._smsMfaConfiguration = value; }
}
// Check to see if SmsMfaConfiguration property is set
internal bool IsSetSmsMfaConfiguration()
{
return this._smsMfaConfiguration != null;
}
///
/// Gets and sets the property SoftwareTokenMfaConfiguration.
///
/// The software token multi-factor authentication (MFA) configuration.
///
///
public SoftwareTokenMfaConfigType SoftwareTokenMfaConfiguration
{
get { return this._softwareTokenMfaConfiguration; }
set { this._softwareTokenMfaConfiguration = value; }
}
// Check to see if SoftwareTokenMfaConfiguration property is set
internal bool IsSetSoftwareTokenMfaConfiguration()
{
return this._softwareTokenMfaConfiguration != null;
}
}
}