public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { GetKeyRotationStatusResponse response = new GetKeyRotationStatusResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("KeyRotationEnabled", targetDepth)) { var unmarshaller = BoolUnmarshaller.Instance; response.KeyRotationEnabled = unmarshaller.Unmarshall(context); continue; } } return response; }