using System.Runtime.Serialization;
namespace Amazon.Lambda.CognitoEvents
{
///
/// https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-verify-auth-challenge-response.html
///
public class CognitoVerifyAuthChallengeResponse : CognitoTriggerResponse
{
///
/// Set to true if the user has successfully completed the challenge, or false otherwise.
///
[DataMember(Name = "answerCorrect")]
#if NETCOREAPP3_1
[System.Text.Json.Serialization.JsonPropertyName("answerCorrect")]
#endif
public bool AnswerCorrect { get; set; }
}
}