public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
DescribeConfigRuleEvaluationStatusResponse response = new DescribeConfigRuleEvaluationStatusResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("ConfigRulesEvaluationStatus", targetDepth))
{
var unmarshaller = new ListUnmarshaller<ConfigRuleEvaluationStatus, ConfigRuleEvaluationStatusUnmarshaller>(ConfigRuleEvaluationStatusUnmarshaller.Instance);
response.ConfigRulesEvaluationStatus = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("NextToken", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.NextToken = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}